:root {
  font-synthesis-weight: none;
}

@font-face {
  font-family: "IBM Plex Sans Arabic";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/ibm-plex-sans-arabic-400-arabic.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FEFC;
}

@font-face {
  font-family: "IBM Plex Sans Arabic";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/ibm-plex-sans-arabic-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "IBM Plex Sans Arabic";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/ibm-plex-sans-arabic-500-arabic.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FEFC;
}

@font-face {
  font-family: "IBM Plex Sans Arabic";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/ibm-plex-sans-arabic-500-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "IBM Plex Sans Arabic";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/ibm-plex-sans-arabic-600-arabic.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FEFC;
}

@font-face {
  font-family: "IBM Plex Sans Arabic";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/ibm-plex-sans-arabic-600-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "IBM Plex Sans Arabic";
  font-style: normal;
  font-weight: 700 900;
  font-display: swap;
  src: url("assets/fonts/ibm-plex-sans-arabic-700-arabic.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FEFC;
}

@font-face {
  font-family: "IBM Plex Sans Arabic";
  font-style: normal;
  font-weight: 700 900;
  font-display: swap;
  src: url("assets/fonts/ibm-plex-sans-arabic-700-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #020817;
  --muted: #64748b;
  --line: #e6ebf1;
  --surface: #ffffff;
  --soft: #f6f8fb;
  --blue: #2563eb;
  --blue-dark: #0b44d8;
  --green: #10a66a;
  --gold: #c88a11;
  --radius: 8px;
  --shadow: 0 18px 50px rgba(2, 8, 23, 0.12);
  --font: "IBM Plex Sans Arabic", Tahoma, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #ffffff;
  font-family: var(--font);
  line-height: 1.65;
  text-align: right;
}

.site-motion-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  opacity: 0.62;
}

.site-motion-bg::before,
.site-motion-bg::after {
  content: "";
  position: absolute;
  inset: -18%;
  background-repeat: repeat;
  will-change: background-position;
}

.site-motion-bg::before {
  background-image:
    linear-gradient(115deg, transparent 0 46%, rgba(34, 211, 238, 0.16) 46.4% 46.8%, transparent 47.2% 100%),
    linear-gradient(25deg, transparent 0 54%, rgba(249, 115, 22, 0.1) 54.4% 54.75%, transparent 55.2% 100%);
  background-size: 280px 280px, 360px 360px;
  background-position: 0 0, 0 0;
  animation: siteLinesDrift 58s linear infinite;
}

.site-motion-bg::after {
  background-image:
    linear-gradient(90deg, transparent 0 49.6%, rgba(148, 163, 184, 0.08) 49.9% 50.1%, transparent 50.4% 100%),
    linear-gradient(0deg, transparent 0 49.6%, rgba(148, 163, 184, 0.06) 49.9% 50.1%, transparent 50.4% 100%);
  background-size: 180px 180px;
  background-position: 0 0, 0 0;
  animation: siteGridFloat 80s linear infinite;
}

@keyframes siteLinesDrift {
  from {
    background-position: 0 0, 0 0;
  }

  to {
    background-position: -280px 160px, 360px -180px;
  }
}

@keyframes siteGridFloat {
  from {
    background-position: 0 0, 0 0;
  }

  to {
    background-position: 180px 90px, 180px 90px;
  }
}

main,
.footer {
  position: relative;
  z-index: 1;
}

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

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

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

h1,
h2,
h3 {
  line-height: 1.1;
  letter-spacing: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 34px;
  font-size: clamp(4.1rem, 6.4vw, 7.3rem);
  font-weight: 900;
  line-height: 1.16;
  text-transform: none;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 3.6rem);
}

h3 {
  margin-bottom: 10px;
  font-size: 1.22rem;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: grid;
  grid-template-columns: 220px 1fr 280px auto;
  align-items: center;
  gap: 24px;
  width: 100%;
  min-height: 104px;
  padding: 0 max(24px, calc((100vw - 1470px) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
}

.site-header.is-scrolled {
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.brand,
.main-nav,
.header-actions,
.hero-actions,
.trust-row,
.footer div {
  display: flex;
  align-items: center;
}

.brand {
  position: relative;
  justify-content: flex-start;
  min-height: 72px;
}

.brand-lockup {
  display: inline-grid;
  justify-items: center;
  gap: 6px;
  line-height: 1;
}

.brand-text {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-inline-end: 22px;
  color: #020817;
  font-family: "IBM Plex Sans Arabic", var(--font);
  font-size: clamp(2rem, 2.4vw, 3rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
  direction: ltr;
  white-space: nowrap;
}

.brand-text::after {
  content: "";
  position: absolute;
  inset-inline-end: 0;
  top: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan, #22d3ee), var(--orange, #f97316));
  box-shadow: 0 0 22px rgba(34, 211, 238, 0.45);
  transform: translateY(-50%);
}

.brand-tagline {
  color: rgba(2, 8, 23, 0.62);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
}

.main-nav {
  justify-content: center;
  gap: clamp(28px, 4vw, 58px);
  color: #07111f;
  font-size: 1.22rem;
  font-weight: 800;
}

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

.nav-caret {
  font-size: 1rem;
}

.header-actions {
  justify-content: end;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--ink);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
}

.btn.primary {
  border-color: var(--blue);
  background: var(--blue);
  color: #ffffff;
}

.btn.primary:hover {
  background: var(--blue-dark);
}

.btn.whatsapp {
  border-color: var(--green);
  background: var(--green);
  color: #ffffff;
}

.btn-style-primary {
  border-color: var(--brand-accent, #ff5a1f);
  background: var(--brand-accent, #ff5a1f);
  color: #07111f;
}

.btn-style-secondary,
.btn-style-ghost {
  border-color: rgba(34, 211, 238, 0.55);
  background: rgba(34, 211, 238, 0.08);
  color: #f8fafc;
}

.btn-style-blue {
  border-color: #1463ff;
  background: #1463ff;
  color: #ffffff;
}

.btn-style-whatsapp {
  border-color: #10a66a;
  background: #10a66a;
  color: #ffffff;
}

.btn-style-ghost {
  background: transparent;
}

.btn-size-normal {
  min-height: 48px;
  padding-inline: 22px;
}

.btn-size-large {
  min-height: 58px;
  padding-inline: 30px;
}

.btn-size-wide {
  min-width: 285px;
  min-height: 58px;
  padding-inline: 34px;
}

.btn-shape-soft {
  border-radius: var(--radius, 8px);
}

.btn-shape-pill {
  border-radius: 999px;
}

.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-inline-start: 8px;
  font-size: 1.05em;
  line-height: 1;
}

.header-quote {
  min-width: 250px;
  min-height: 58px;
  border-radius: 999px;
  font-size: 1.05rem;
  letter-spacing: 0.03em;
  text-transform: none;
}

.btn.large {
  min-height: 64px;
  padding-inline: 38px;
  font-size: 1.15rem;
  letter-spacing: 0.03em;
  text-transform: none;
}

.pill-quote {
  min-width: 385px;
  border-radius: 999px;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  backdrop-filter: blur(10px);
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: #f8fafc;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(40px, 6vw, 92px);
  align-items: start;
  width: min(1470px, calc(100% - 48px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 100px 0 42px;
  overflow: hidden;
  isolation: isolate;
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding-top: 4px;
}

.lead {
  max-width: 660px;
  margin-bottom: 54px;
  color: #63768c;
  font-size: clamp(1.35rem, 1.65vw, 1.9rem);
  line-height: 1.55;
}

.rich-copy p {
  margin: 0;
}

.rich-copy p + p,
.rich-copy ul,
.rich-copy ol {
  margin-top: 0.65em;
}

.rich-copy ul,
.rich-copy ol {
  margin-bottom: 0;
  padding-inline-start: 1.4em;
}

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

.hero-visual {
  position: relative;
  z-index: 1;
  min-height: 820px;
  margin-top: 28px;
  perspective: 1200px;
}

.collage {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 26px;
  transform-style: preserve-3d;
}

.collage-column {
  display: grid;
  align-content: start;
  gap: 20px;
  transform-style: preserve-3d;
}

.right-stack {
  padding-top: 28px;
  animation: galleryFloatRight 8s ease-in-out infinite;
}

.left-stack {
  animation: galleryFloatLeft 9s ease-in-out infinite;
}

.site-shot {
  position: relative;
  overflow: hidden;
  min-height: 160px;
  background: #f3f5f8;
  box-shadow: 0 22px 42px rgba(2, 8, 23, 0.08);
  transform: translateZ(0) rotateX(0.01deg);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.site-shot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.24), transparent 42%, rgba(2, 8, 23, 0.08));
  opacity: 0.72;
  pointer-events: none;
}

.site-shot:hover {
  transform: translateZ(34px) rotateX(2deg) rotateY(-2deg);
  box-shadow: 0 34px 75px rgba(2, 8, 23, 0.16);
}

.site-shot strong,
.site-shot span,
.site-shot i,
.site-shot div {
  position: relative;
  z-index: 1;
}

.shot-drink {
  min-height: 250px;
  padding: 20px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.92) 0 45%, transparent 45%),
    linear-gradient(135deg, #e9d8c9, #e16d26 72%);
  transform: translateZ(52px) rotateY(-5deg);
}

.mini-nav,
.dark-strip {
  height: 54px;
  margin-bottom: 24px;
  background: rgba(255, 255, 255, 0.62);
}

.mini-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  margin-bottom: 22px;
}

.mini-tiles i {
  height: 78px;
  background: rgba(6, 17, 31, 0.22);
}

.shot-drink strong {
  display: block;
  max-width: 260px;
  color: #161616;
  font-family: Georgia, serif;
  font-size: 1.4rem;
  text-transform: none;
}

.shot-drink span,
.shot-auto span,
.shot-clean span {
  display: block;
  width: 44%;
  height: 10px;
  margin-top: 14px;
  background: rgba(0, 0, 0, 0.18);
}

.shot-auto {
  min-height: 265px;
  padding: 0 24px 24px;
  background: #ffffff;
  transform: translateZ(22px) rotateY(3deg);
}

.dark-strip {
  margin-inline: -24px;
  background: #030712;
}

.image-row {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 20px;
  align-items: center;
}

.image-row i {
  min-height: 118px;
  background: linear-gradient(135deg, #111827, #f97316);
}

.image-row span {
  min-height: 84px;
  background: #f5f7fb;
}

.shot-auto strong {
  display: block;
  margin-top: 16px;
  color: #273244;
  font-size: 1rem;
}

.shot-dark {
  display: grid;
  place-items: center;
  min-height: 112px;
  padding: 24px;
  background: #030712;
  color: #ffffff;
  text-align: center;
  font-size: 0.98rem;
  transform: translateZ(38px) rotateX(-2deg);
}

.shot-icons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  min-height: 112px;
  padding: 26px;
  background: #ffffff;
  transform: translateZ(14px);
}

.shot-icons i {
  display: block;
  width: 48px;
  height: 48px;
  margin: auto;
  border-radius: 50%;
  background: var(--green);
}

.shot-clean {
  min-height: 170px;
  padding: 32px;
  background:
    linear-gradient(90deg, #d7d7d7 0 20%, transparent 20% 78%, #d7d7d7 78%),
    #ffffff;
  transform: translateZ(30px) rotateY(4deg);
}

.shot-clean div {
  width: 95px;
  height: 70px;
  margin-bottom: 14px;
  background: linear-gradient(135deg, #f1c4a8, #ffffff);
}

.shot-clean strong {
  display: block;
  width: 54%;
  color: #333d4d;
  font-size: 0.78rem;
}

.shot-blue {
  display: grid;
  grid-template-columns: 1fr 0.34fr;
  gap: 12px;
  align-items: end;
  min-height: 350px;
  padding: 26px 20px;
  border-radius: 24px 0 0 24px;
  background: #073f75;
  transform: translateZ(70px) rotateY(5deg);
}

.phone-page,
.pricing-page {
  background: #ffffff;
}

.phone-page {
  min-height: 300px;
}

.phone-page::before,
.pricing-page::before {
  content: "";
  display: block;
  width: 74%;
  height: 12px;
  margin: 24px auto 18px;
  background: var(--blue);
}

.phone-page::after {
  content: "";
  display: block;
  width: 78%;
  height: 150px;
  margin: 0 auto;
  background:
    linear-gradient(90deg, #eef4ff 0 31%, transparent 31% 35%, #eef4ff 35% 66%, transparent 66% 70%, #eef4ff 70%);
}

.pricing-page {
  min-height: 260px;
}

.pricing-page::after {
  content: "";
  display: block;
  width: 70%;
  height: 170px;
  margin: 0 auto;
  background: repeating-linear-gradient(0deg, #dbe3ee 0 2px, transparent 2px 14px);
}

.shot-health {
  min-height: 250px;
  padding: 24px;
  background: #ffffff;
  transform: translateZ(20px) rotateX(2deg);
}

.abstract-shape {
  position: absolute;
  z-index: -1;
  display: block;
  border-radius: 8px;
  transform-style: preserve-3d;
  pointer-events: none;
}

.shape-one {
  top: 6%;
  right: 9%;
  width: 150px;
  height: 150px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.18), rgba(255, 255, 255, 0.55));
  transform: rotateX(62deg) rotateZ(34deg) translateZ(-50px);
  animation: abstractDriftOne 10s ease-in-out infinite;
}

.shape-two {
  left: 4%;
  top: 35%;
  width: 110px;
  height: 260px;
  background: linear-gradient(180deg, rgba(2, 8, 23, 0.12), rgba(37, 99, 235, 0.06));
  transform: rotateY(54deg) rotateZ(-8deg) translateZ(-80px);
  animation: abstractDriftTwo 11s ease-in-out infinite;
}

.shape-three {
  right: 28%;
  bottom: 8%;
  width: 210px;
  height: 72px;
  background: linear-gradient(90deg, rgba(232, 108, 30, 0.18), rgba(255, 255, 255, 0.32));
  transform: rotateX(68deg) rotateZ(-18deg) translateZ(-70px);
  animation: abstractDriftThree 12s ease-in-out infinite;
}

@keyframes galleryFloatLeft {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotateY(0deg);
  }
  50% {
    transform: translate3d(0, -14px, 18px) rotateY(-1.5deg);
  }
}

@keyframes galleryFloatRight {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotateY(0deg);
  }
  50% {
    transform: translate3d(0, 16px, 24px) rotateY(1.5deg);
  }
}

@keyframes abstractDriftOne {
  0%,
  100% {
    transform: rotateX(62deg) rotateZ(34deg) translate3d(0, 0, -50px);
  }
  50% {
    transform: rotateX(62deg) rotateZ(40deg) translate3d(20px, -18px, -30px);
  }
}

@keyframes abstractDriftTwo {
  0%,
  100% {
    transform: rotateY(54deg) rotateZ(-8deg) translate3d(0, 0, -80px);
  }
  50% {
    transform: rotateY(48deg) rotateZ(-4deg) translate3d(-12px, 22px, -55px);
  }
}

@keyframes abstractDriftThree {
  0%,
  100% {
    transform: rotateX(68deg) rotateZ(-18deg) translate3d(0, 0, -70px);
  }
  50% {
    transform: rotateX(64deg) rotateZ(-12deg) translate3d(18px, 12px, -45px);
  }
}

.shot-health strong {
  display: block;
  margin-bottom: 16px;
  color: #ffffff;
  font-size: 1rem;
  text-transform: none;
}

.health-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.health-grid i {
  min-height: 112px;
  background: linear-gradient(135deg, #d4d4d8, #f8fafc);
}

.logo-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  width: min(1180px, calc(100% - 48px));
  margin: 20px auto 38px;
}

.logo-strip span,
.trust-row span {
  display: grid;
  place-items: center;
  min-height: 72px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.section,
.quote-section,
.footer {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.section {
  padding: 86px 0;
}

.simple-page {
  padding-top: 150px;
}

.page-lead {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.15rem;
}

.card-like-page {
  max-width: 900px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--muted);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
}

.standalone-contact {
  margin-top: 150px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: none;
}

.section-heading p:not(.eyebrow),
.section-heading .rich-copy,
.why-copy p,
.why-copy .rich-copy,
.quote-copy p,
.quote-copy .rich-copy,
.service-card p,
.service-card .rich-copy,
.work-card p,
.why-list p,
.why-list .rich-copy,
.footer p,
.footer .rich-copy,
.testimonial-grid p {
  color: var(--muted);
}

.service-grid,
.portfolio-grid,
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.service-card,
.work-card,
.why-list article,
.testimonial-grid article,
.quote-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
}

.service-card {
  min-height: 230px;
  padding: 26px;
}

.service-card span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 34px;
  border-radius: var(--radius);
  background: #eef4ff;
  color: var(--blue);
  font-weight: 900;
}

.portfolio {
  width: 100%;
  max-width: none;
  padding-inline: max(24px, calc((100vw - 1180px) / 2));
  background: #0f172a;
}

.portfolio h2,
.portfolio .work-card h3 {
  color: #ffffff;
}

.portfolio .section-heading p,
.portfolio .eyebrow,
.work-card p {
  color: #b9c4d2;
}

.work-card {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: none;
}

.work-shot {
  min-height: 210px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.17), transparent 50%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.1) 0 1px, transparent 1px 30px);
}

.clinic-shot {
  background-color: #173b75;
}

.contractor-shot {
  background-color: #7a4b10;
}

.consultant-shot {
  background-color: #185b4e;
}

.work-card span,
.work-card h3,
.work-card p,
.work-card strong {
  display: block;
  padding-inline: 24px;
}

.work-card span {
  padding-top: 24px;
  color: #f3c969;
  font-weight: 900;
}

.work-card strong {
  padding-bottom: 26px;
  color: #ffffff;
  font-size: 1.15rem;
}

.why {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 44px;
  align-items: start;
}

.why-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.why-list article,
.testimonial-grid article {
  padding: 26px;
}

.quote-section {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 70px;
  padding: 54px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.whatsapp-cta {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  width: min(1180px, calc(100% - 48px));
  margin: 34px auto 70px;
  padding: 28px;
  border: 1px solid rgba(34, 211, 238, 0.2);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(34, 211, 238, 0.1), rgba(249, 115, 22, 0.08)),
    rgba(255, 255, 255, 0.06);
  color: #f8fafc;
  overflow: hidden;
}

.whatsapp-cta h2 {
  margin-bottom: 10px;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.whatsapp-cta p {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--muted);
}

.whatsapp-cta .btn {
  min-width: 220px;
}

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

.selected-plan-summary {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid rgba(34, 211, 238, 0.28);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.12), rgba(255, 90, 31, 0.1));
  color: #f8fafc;
}

.selected-plan-summary[hidden] {
  display: none;
}

.selected-plan-summary span {
  color: #a8f3ff;
  font-size: 0.9rem;
  font-weight: 900;
}

.selected-plan-summary strong {
  overflow: hidden;
  font-size: 1rem;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.selected-plan-summary button {
  min-height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 900;
  padding: 0 12px;
  cursor: pointer;
}

label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--ink);
  font: inherit;
  padding: 12px;
  outline: none;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(20, 85, 217, 0.1);
}

.full,
.quote-form button,
.form-note {
  grid-column: 1 / -1;
}

.form-note {
  min-height: 24px;
  margin: 0;
  color: var(--muted);
}

.footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  padding: 28px 0 44px;
  border-top: 1px solid var(--line);
}

.footer div {
  gap: 18px;
  flex-wrap: wrap;
}

.footer p {
  margin: 0;
}

.footer a {
  color: var(--blue);
  font-weight: 800;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }

  .left-stack,
  .right-stack,
  .abstract-shape {
    animation: none;
  }
}

@media (max-width: 1100px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
    direction: rtl;
    justify-content: space-between;
    min-height: 82px;
    padding-inline: 14px;
  }

  .brand {
    min-width: 0;
    min-height: 54px;
    justify-content: flex-start;
  }

  .brand-text {
    font-size: clamp(1.7rem, 6vw, 2.3rem);
  }

  .brand-tagline {
    font-size: 0.58rem;
    letter-spacing: 0.14em;
  }

  .main-nav,
  .header-actions {
    display: none;
  }

  .menu-toggle {
    display: grid;
    place-items: center;
    direction: ltr;
  }

  .site-header.is-open .main-nav,
  .site-header.is-open .header-actions {
    position: absolute;
    left: 14px;
    right: 14px;
    display: grid;
    border: 1px solid var(--line);
    background: #ffffff;
  }

  .site-header.is-open .main-nav {
    top: calc(100% + 8px);
    gap: 0;
    overflow: hidden;
    border-radius: var(--radius);
  }

  .site-header.is-open .main-nav a {
    padding: 14px 18px;
    border-bottom: 1px solid var(--line);
  }

  .site-header.is-open .header-actions {
    display: none;
  }

  .hero,
  .why,
  .quote-section {
    grid-template-columns: 1fr;
  }

  .hero {
    width: min(860px, calc(100% - 48px));
    padding-top: 110px;
  }

  .hero-visual {
    min-height: auto;
  }

  .collage {
    min-height: 650px;
  }

  .shot-drink,
  .shot-auto,
  .shot-dark,
  .shot-icons,
  .shot-clean,
  .shot-blue,
  .shot-health {
    transform: none;
  }

  .left-stack,
  .right-stack {
    animation: none;
  }

  .logo-strip,
  .service-grid,
  .portfolio-grid,
  .testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 78px;
  }

  .brand-text {
    font-size: clamp(1.5rem, 7vw, 2rem);
  }

  .menu-toggle {
    width: 42px;
    height: 42px;
    border-radius: 10px;
  }

  .hero,
  .logo-strip,
  .section,
  .quote-section,
  .whatsapp-cta,
  .footer {
    width: calc(100% - 28px);
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.7rem);
  }

  .lead {
    font-size: 1.15rem;
  }

  .pill-quote,
  .hero-actions .btn,
  .quote-form button {
    width: 100%;
    min-width: 0;
  }

  .collage,
  .logo-strip,
  .service-grid,
  .portfolio-grid,
  .why-list,
  .testimonial-grid,
  .quote-form,
  .footer {
    grid-template-columns: 1fr;
  }

  .right-stack {
    padding-top: 0;
  }

  .abstract-shape {
    opacity: 0.45;
    transform: none;
  }

  .shot-blue {
    border-radius: 8px;
  }

  .quote-section {
    padding: 24px;
  }

  .whatsapp-cta {
    grid-template-columns: 1fr;
    margin-bottom: 52px;
    padding: 24px;
  }

  .whatsapp-cta .btn {
    width: 100%;
    min-width: 0;
  }
}

/* Cairo Pixel premium landing refresh */
:root {
  --ink: #f8fafc;
  --muted: #a8b3c4;
  --line: rgba(255, 255, 255, 0.12);
  --surface: #0f172a;
  --soft: #101c2e;
  --blue: #10c6e8;
  --blue-dark: #0891b2;
  --green: #16a34a;
  --gold: #f97316;
  --orange: #f97316;
  --cyan: #22d3ee;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

body {
  background:
    radial-gradient(circle at 18% 12%, rgba(34, 211, 238, 0.14), transparent 28%),
    radial-gradient(circle at 82% 22%, rgba(249, 115, 22, 0.16), transparent 26%),
    #07111f;
  color: #f8fafc;
}

body::before {
  content: "";
  position: fixed;
  inset: -20%;
  z-index: -1;
  background:
    radial-gradient(circle at 20% 20%, rgba(34, 211, 238, 0.12), transparent 24%),
    radial-gradient(circle at 80% 30%, rgba(249, 115, 22, 0.12), transparent 24%),
    radial-gradient(circle at 50% 80%, rgba(59, 130, 246, 0.1), transparent 28%);
  filter: blur(8px);
  animation: cairoAmbientDrift 18s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes cairoAmbientDrift {
  from {
    transform: translate3d(-2%, -1%, 0) scale(1);
  }
  to {
    transform: translate3d(2%, 1.5%, 0) scale(1.04);
  }
}

.site-header {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(7, 17, 31, 0.82);
}

.brand-text,
.brand-tagline,
.main-nav,
label {
  color: #f8fafc;
}

.brand-tagline {
  color: rgba(248, 250, 252, 0.62);
}

.main-nav a:hover,
.main-nav a.is-active,
.footer a {
  color: var(--cyan);
}

.btn.primary {
  border-color: var(--orange);
  background: var(--orange);
  color: #111827;
}

.btn.primary:hover {
  background: #fb923c;
}

.btn.secondary {
  border-color: rgba(34, 211, 238, 0.5);
  background: rgba(34, 211, 238, 0.08);
  color: #cffafe;
}

.btn.whatsapp {
  border-color: rgba(34, 211, 238, 0.42);
  background: rgba(34, 211, 238, 0.12);
  color: #cffafe;
}

h1 {
  font-size: clamp(3.2rem, 5.4vw, 6rem);
}

.lead,
.section-heading p,
.why-copy p,
.quote-copy p,
.service-card p,
.work-card p,
.why-list p,
.footer p {
  color: var(--muted);
}

.hero {
  align-items: center;
  min-height: 96vh;
  padding-top: 126px;
}

.hero-visual.hero-carousel {
  min-height: 640px;
  margin-top: 0;
}

.hero-carousel {
  display: grid;
  place-items: center;
}

.gallery-card {
  position: absolute;
  inset: 28px 0 auto;
  display: grid;
  grid-template-rows: auto auto;
  width: min(560px, 100%);
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.05)),
    rgba(15, 23, 42, 0.82);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.32);
  opacity: 0;
  transform: translate3d(42px, 18px, -40px) rotateY(-6deg) scale(0.95);
  transition: opacity 0.65s ease, transform 0.65s ease, box-shadow 0.35s ease;
  pointer-events: none;
}

.gallery-card.is-active {
  opacity: 1;
  transform: translate3d(0, 0, 0) rotateY(0deg) scale(1);
  pointer-events: auto;
}

.mockup-screen,
.mockup-card .work-shot {
  --shot-x: 0%;
  --shot-y: 0%;
  position: relative;
  display: block;
  width: calc(100% - 26px);
  aspect-ratio: 1.035 / 1;
  margin: 13px auto 0;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.34);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.94), rgba(15, 23, 42, 0.7)),
    #0f172a;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 18px 45px rgba(0, 0, 0, 0.26);
  isolation: isolate;
}

.mockup-screen::before,
.mockup-card .work-shot::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  height: auto;
  border-bottom: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), transparent 32%, rgba(34, 211, 238, 0.05)),
    linear-gradient(180deg, transparent 76%, rgba(2, 8, 23, 0.18));
  pointer-events: none;
}

.mockup-screen::after,
.mockup-card .work-shot::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: url("assets/mockups/cairopixel-gpt-website-mockups.png");
  background-image:
    image-set(
      url("assets/mockups/cairopixel-gpt-website-mockups.webp") type("image/webp"),
      url("assets/mockups/cairopixel-gpt-website-mockups.png") type("image/png")
    );
  background-size: 300% 200%;
  background-position: var(--shot-x) var(--shot-y);
  background-repeat: no-repeat;
}

.mockup-screen:hover,
.mockup-card:hover .work-shot {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 24px 58px rgba(34, 211, 238, 0.14),
    0 20px 50px rgba(0, 0, 0, 0.3);
}

.mockup-card .work-shot span {
  display: none;
}

.mockup-clinic .mockup-screen,
.mockup-clinic .work-shot {
  --shot-x: 0%;
  --shot-y: 0%;
}

.mockup-zest .mockup-screen,
.mockup-zest .work-shot {
  --shot-x: 50%;
  --shot-y: 0%;
}

.mockup-build .mockup-screen,
.mockup-build .work-shot {
  --shot-x: 100%;
  --shot-y: 0%;
}

.mockup-thread .mockup-screen,
.mockup-thread .work-shot {
  --shot-x: 0%;
  --shot-y: 100%;
}

.mockup-growth .mockup-screen,
.mockup-growth .work-shot {
  --shot-x: 50%;
  --shot-y: 100%;
}

.mockup-mentor .mockup-screen,
.mockup-mentor .work-shot {
  --shot-x: 100%;
  --shot-y: 100%;
}

.mockup-screen span,
.work-shot span {
  display: block;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
}

.mockup-screen span {
  display: none;
}

.mockup-screen span:nth-child(1) {
  height: 54px;
  width: 72%;
}

.mockup-screen span:nth-child(2) {
  height: 170px;
  width: 100%;
}

.mockup-screen span:nth-child(3) {
  height: 90px;
  width: 58%;
}

.mockup-content {
  padding: 24px 28px 28px;
}

.mockup-content small {
  display: inline-flex;
  margin-bottom: 12px;
  color: #fed7aa;
  font-weight: 900;
}

.mockup-content strong {
  display: block;
  margin-bottom: 10px;
  color: #ffffff;
  font-size: 2rem;
}

.mockup-content p {
  margin: 0;
  color: #d7e2ef;
  font-size: 1.05rem;
}

.mockup-clinic {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.28), rgba(15, 23, 42, 0.98));
}

.mockup-zest {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.36), rgba(15, 23, 42, 0.98));
}

.mockup-build {
  background: linear-gradient(135deg, rgba(148, 163, 184, 0.35), rgba(15, 23, 42, 0.98));
}

.mockup-thread {
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.28), rgba(15, 23, 42, 0.98));
}

.mockup-growth {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.28), rgba(15, 23, 42, 0.98));
}

.mockup-mentor {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.28), rgba(15, 23, 42, 0.98));
}

.logo-strip span,
.service-card,
.why-list article,
.testimonial-grid article,
.quote-form,
.quote-section {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: #f8fafc;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.18);
}

.service-card span {
  background: rgba(249, 115, 22, 0.14);
  color: #fed7aa;
}

.four-grid {
  grid-template-columns: repeat(4, 1fr);
}

.portfolio {
  background:
    linear-gradient(180deg, rgba(3, 7, 18, 0.55), rgba(15, 23, 42, 0.96)),
    #0f172a;
}

.mockup-grid {
  grid-template-columns: repeat(3, 1fr);
  align-items: start;
}

.work-card {
  border-color: rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.055)),
    rgba(255, 255, 255, 0.08);
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.work-shot {
  min-height: 0;
}

.mockup-card {
  padding-top: 1px;
}

.mockup-card:hover {
  border-color: rgba(34, 211, 238, 0.42);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.24);
  transform: translateY(-6px);
}

.work-shot span:nth-child(1) {
  height: 34px;
  width: 64%;
}

.work-shot span:nth-child(2) {
  height: 92px;
  width: 100%;
}

.work-shot span:nth-child(3) {
  height: 52px;
  width: 48%;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.process-list article,
.final-cta {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.18);
}

/* Subtle illuminated motion accents */
.service-card,
.pricing-card,
.work-card,
.why-list article,
.quote-section,
.final-cta {
  isolation: isolate;
}

.service-card::after,
.pricing-card::after,
.work-card::after,
.why-list article::after,
.quote-section::after,
.final-cta .btn::after {
  content: "";
  position: absolute;
  z-index: 0;
  pointer-events: none;
  border-radius: inherit;
  background:
    conic-gradient(from 0deg, rgba(34, 211, 238, 0.08), transparent 0 58%, rgba(34, 211, 238, 0.9), rgba(255, 90, 31, 0.72), transparent 77% 100%);
  padding: 2px;
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  filter: drop-shadow(0 0 10px rgba(34, 211, 238, 0.26));
  opacity: 0.68;
  animation: softOrbitGlow 6.5s linear infinite;
}

.service-card::after,
.pricing-card::after,
.work-card::after,
.why-list article::after,
.quote-section::after {
  inset: -2px;
}

.pricing-card::after {
  opacity: 0.78;
  animation-duration: 7.5s;
}

.work-card::after {
  opacity: 0.72;
  animation-duration: 8s;
}

.quote-section::after {
  opacity: 0.62;
  animation-duration: 9s;
}

.service-card > *,
.pricing-card > *,
.work-card > *,
.why-list article > *,
.quote-section > * {
  position: relative;
  z-index: 1;
}

.final-cta .btn {
  position: relative;
  overflow: visible;
}

.final-cta .btn::after {
  inset: -14px;
  border-radius: 999px;
  opacity: 0.76;
  filter: blur(12px);
}

.service-card:hover::after,
.pricing-card:hover::after,
.work-card:hover::after,
.why-list article:hover::after {
  opacity: 1;
}

/* World-class hero motion bundle */
.code-particles {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.code-particles span {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 28px;
  border: 1px solid rgba(34, 211, 238, 0.16);
  border-radius: 999px;
  background: rgba(7, 17, 31, 0.34);
  color: rgba(190, 250, 255, 0.42);
  font-size: 0.72rem;
  font-weight: 900;
  direction: ltr;
  opacity: 0;
  animation: codeParticleFloat 14s ease-in-out infinite;
}

.code-particles span:nth-child(1) {
  left: 9%;
  top: 20%;
  animation-delay: 0s;
}

.code-particles span:nth-child(2) {
  left: 78%;
  top: 18%;
  animation-delay: 2s;
}

.code-particles span:nth-child(3) {
  left: 15%;
  top: 72%;
  animation-delay: 4s;
}

.code-particles span:nth-child(4) {
  left: 58%;
  top: 77%;
  animation-delay: 6s;
}

.code-particles span:nth-child(5) {
  left: 84%;
  top: 58%;
  animation-delay: 8s;
}

.code-particles span:nth-child(6) {
  left: 41%;
  top: 14%;
  animation-delay: 10s;
}

@keyframes codeParticleFloat {
  0%,
  100% {
    opacity: 0;
    transform: translate3d(0, 18px, 0) scale(0.92);
  }

  22%,
  68% {
    opacity: 1;
  }

  50% {
    transform: translate3d(-18px, -24px, 0) scale(1);
  }
}

.hero-copy::before,
.hero-copy h1,
.hero-copy .lead,
.hero-actions {
  opacity: 0;
  animation: heroTextRise 0.85s ease forwards;
}

.hero-copy::before {
  animation-delay: 0.08s;
}

.hero-copy h1 {
  animation-delay: 0.18s;
}

.hero-copy .lead {
  animation-delay: 0.34s;
}

.hero-actions {
  animation-delay: 0.48s;
}

@keyframes heroTextRise {
  from {
    opacity: 0;
    transform: translate3d(0, 22px, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.hero-visual {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --glow-x: 50%;
  --glow-y: 50%;
}

.hero-visual .gallery-card.is-active {
  transform:
    perspective(1100px)
    rotateX(var(--tilt-x))
    rotateY(var(--tilt-y))
    translate3d(0, 0, 0)
    scale(1);
  transition: transform 0.22s ease, box-shadow 0.35s ease;
}

.hero-visual .gallery-card.is-active::after {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: 5;
  border-radius: inherit;
  background:
    radial-gradient(circle at var(--glow-x) var(--glow-y), rgba(34, 211, 238, 0.22), transparent 34%);
  pointer-events: none;
}

.mockup-screen span:first-child {
  position: absolute;
  inset: -30% auto -30% -35%;
  z-index: 4;
  display: block;
  width: 24%;
  height: 160%;
  border-radius: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.26), transparent);
  transform: rotate(14deg) translateX(-140%);
  animation: screenScanLight 5.8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes screenScanLight {
  0%,
  28% {
    transform: rotate(14deg) translateX(-160%);
    opacity: 0;
  }

  42% {
    opacity: 1;
  }

  62% {
    transform: rotate(14deg) translateX(560%);
    opacity: 0;
  }

  100% {
    transform: rotate(14deg) translateX(560%);
    opacity: 0;
  }
}

.hero-actions .btn.primary {
  --magnet-x: 0px;
  --magnet-y: 0px;
  position: relative;
  overflow: hidden;
  transform: translate3d(var(--magnet-x), var(--magnet-y), 0);
  transition: transform 0.18s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.hero-actions .btn.primary::after {
  content: "";
  position: absolute;
  inset: -60% auto -60% -45%;
  width: 38%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.42), transparent);
  transform: rotate(18deg);
  animation: ctaSweepLight 4.6s ease-in-out infinite;
}

/* Hero title real line-by-line reveal */
.hero-copy h1 {
  opacity: 1;
  animation: none;
}

.hero-copy h1:not(.is-line-ready) {
  opacity: 0;
}

.hero-word {
  display: inline-block;
}

.hero-line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.06em;
}

.hero-line-inner {
  display: inline-block;
  transform: translate3d(0, 118%, 0) rotateX(14deg);
  transform-origin: 50% 100%;
  filter: blur(7px);
  opacity: 0;
}

.hero-copy h1.is-line-ready .hero-line-inner {
  animation: cinematicLineReveal 0.95s cubic-bezier(0.19, 1, 0.22, 1) forwards;
  animation-delay: calc(0.12s + (var(--line-index) * 0.16s));
}

.hero-line:nth-child(2n) .hero-line-inner {
  color: #f3fbff;
}

@media (max-width: 768px) {
  /* Fast mode: keep the site light and responsive */
  .code-particles,
  .service-card::after,
  .pricing-card::after,
  .work-card::after,
  .why-list article::after,
  .quote-section::after,
  .final-cta .btn::after,
  .section-heading h2::after,
  .why-copy h2::after,
  .quote-copy h2::after,
  .final-cta h2::after,
  .mockup-screen span:first-child,
  .hero-actions .btn.primary::after,
  .hero-visual .gallery-card.is-active::after {
    display: none !important;
    animation: none !important;
  }

  .hero-visual .gallery-card.is-active {
    transform: translate3d(0, 0, 0) scale(1) !important;
    transition: opacity 0.45s ease, transform 0.45s ease !important;
  }

  .hero-actions .btn.primary {
    transform: none !important;
  }

  .site-motion-bg::before {
    animation-duration: 58s !important;
  }
}

/* SVG brand logo */
.brand {
  min-width: 0;
}

.brand-logo {
  display: block;
  width: clamp(168px, 14vw, 230px);
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 12px 28px rgba(34, 211, 238, 0.12));
}

.brand-lockup,
.brand-text,
.brand-tagline {
  display: none !important;
}

@media (max-width: 1100px) {
  .brand-logo {
    width: clamp(148px, 38vw, 204px);
  }
}

@media (max-width: 640px) {
  .brand-logo {
    width: clamp(188px, 58vw, 226px);
    filter: none;
  }
}

.hero-line:nth-child(3n) .hero-line-inner {
  text-shadow: 0 0 30px rgba(34, 211, 238, 0.16);
}

@keyframes cinematicLineReveal {
  0% {
    transform: translate3d(0, 118%, 0) rotateX(14deg);
    filter: blur(7px);
    opacity: 0;
  }

  58% {
    filter: blur(0);
    opacity: 1;
  }

  100% {
    transform: translate3d(0, 0, 0) rotateX(0deg);
    filter: blur(0);
    opacity: 1;
  }
}

@keyframes ctaSweepLight {
  0%,
  35% {
    transform: translateX(-130%) rotate(18deg);
  }

  62% {
    transform: translateX(420%) rotate(18deg);
  }

  100% {
    transform: translateX(420%) rotate(18deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .code-particles span,
  .hero-copy::before,
  .hero-copy h1,
  .hero-copy .lead,
  .hero-actions,
  .mockup-screen span:first-child,
  .hero-actions .btn.primary::after {
    animation: none !important;
    opacity: 1 !important;
  }

  .hero-visual .gallery-card.is-active {
    transform: none !important;
  }
}

.section-heading h2,
.why-copy h2,
.quote-copy h2,
.final-cta h2 {
  position: relative;
}

.section-heading h2::after,
.why-copy h2::after,
.quote-copy h2::after,
.final-cta h2::after {
  content: "";
  position: absolute;
  inset-inline-end: -18px;
  top: -8px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #22d3ee;
  box-shadow:
    0 0 18px rgba(34, 211, 238, 0.65),
    0 0 38px rgba(255, 90, 31, 0.28);
  opacity: 0.78;
  animation: textSparkFloat 4.8s ease-in-out infinite;
}

@keyframes softOrbitGlow {
  from {
    transform: rotate(0deg);
  }

  50% {
    filter: drop-shadow(0 0 16px rgba(34, 211, 238, 0.42));
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes textSparkFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  50% {
    transform: translate3d(-10px, 8px, 0) scale(1.35);
  }
}

@media (prefers-reduced-motion: reduce) {
  .service-card::after,
  .pricing-card::after,
  .work-card::after,
  .why-list article::after,
  .quote-section::after,
  .final-cta .btn::after,
  .section-heading h2::after,
  .why-copy h2::after,
  .quote-copy h2::after,
  .final-cta h2::after {
    animation: none !important;
  }
}

.process-list article {
  display: grid;
  gap: 18px;
  min-height: 160px;
  padding: 26px;
}

.process-list span {
  color: var(--orange);
  font-weight: 900;
}

.process-list strong {
  color: #ffffff;
  font-size: 1.25rem;
}

.pricing-section {
  position: relative;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.pricing-card {
  position: relative;
  display: grid;
  grid-template-rows: auto auto auto 1fr auto;
  gap: 16px;
  min-height: 520px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.095), rgba(255, 255, 255, 0.045)),
    rgba(255, 255, 255, 0.06);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.2);
  transition: transform 0.26s ease, border-color 0.26s ease, box-shadow 0.26s ease;
}

.pricing-grid > article:nth-child(1)::before,
.pricing-grid > article:nth-child(2)::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, #22d3ee, #0ea5e9);
  box-shadow: 0 1px 12px rgba(34, 211, 238, 0.6);
  opacity: 0.85;
}

.pricing-card.is-featured::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, #ff5a1f, #ff9f43);
  box-shadow: 0 1px 12px rgba(249, 115, 22, 0.7);
  opacity: 0.9;
}

.pricing-grid > article:nth-child(4)::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, #a855f7, #ec4899);
  box-shadow: 0 1px 12px rgba(168, 85, 247, 0.6);
  opacity: 0.85;
}

.pricing-card:hover {
  border-color: rgba(34, 211, 238, 0.34);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28), inset 0 0 25px rgba(34, 211, 238, 0.04);
  transform: translateY(-6px);
}

.pricing-card.is-featured:hover {
  border-color: rgba(249, 115, 22, 0.5);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28), inset 0 0 25px rgba(249, 115, 22, 0.06);
}

.pricing-grid > article:nth-child(4):hover {
  border-color: rgba(168, 85, 247, 0.4);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28), inset 0 0 25px rgba(168, 85, 247, 0.04);
}

.pricing-card.is-featured {
  border-color: rgba(249, 115, 22, 0.55);
  background:
    linear-gradient(135deg, rgba(249, 115, 22, 0.16), rgba(34, 211, 238, 0.08)),
    rgba(255, 255, 255, 0.075);
}

.pricing-badge {
  display: inline-flex;
  width: fit-content;
  padding: 5px 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff5a1f, #ff9f43);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 900;
  box-shadow: 0 4px 10px rgba(249, 115, 22, 0.2);
}

.pricing-card h3 {
  margin: 0;
  color: #ffffff;
  font-size: 1.55rem;
}

.pricing-card p {
  margin: 0;
  color: var(--muted);
}

.pricing-card strong {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 76px;
  padding: 12px 20px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: clamp(1.85rem, 2.3vw, 2.35rem) !important;
  line-height: 1;
  font-weight: 900;
  box-sizing: border-box;
  margin: 10px 0;
  color: #ffffff !important;
  -webkit-text-fill-color: initial !important;
  -webkit-background-clip: initial !important;
  background-clip: initial !important;
}

.pricing-grid > article:nth-child(1) strong,
.pricing-grid > article:nth-child(2) strong {
  border-color: rgba(34, 211, 238, 0.22);
  box-shadow: inset 0 0 14px rgba(34, 211, 238, 0.1), 0 0 20px rgba(0, 0, 0, 0.25);
  background: 
    repeating-linear-gradient(45deg, rgba(34, 211, 238, 0.02) 0px, rgba(34, 211, 238, 0.02) 2px, transparent 2px, transparent 8px),
    linear-gradient(180deg, rgba(34, 211, 238, 0.04) 0%, transparent 100%),
    rgba(2, 8, 23, 0.6);
  text-shadow: 0 0 10px rgba(34, 211, 238, 0.85), 0 0 2px rgba(34, 211, 238, 0.5);
}

.pricing-card.is-featured strong {
  border-color: rgba(249, 115, 22, 0.3);
  box-shadow: inset 0 0 14px rgba(249, 115, 22, 0.15), 0 0 20px rgba(0, 0, 0, 0.3);
  background: 
    repeating-linear-gradient(45deg, rgba(249, 115, 22, 0.03) 0px, rgba(249, 115, 22, 0.03) 2px, transparent 2px, transparent 8px),
    linear-gradient(180deg, rgba(249, 115, 22, 0.06) 0%, transparent 100%),
    rgba(2, 8, 23, 0.6);
  text-shadow: 0 0 10px rgba(249, 115, 22, 0.9), 0 0 2px rgba(249, 115, 22, 0.6);
}

.pricing-grid > article:nth-child(4) strong {
  border-color: rgba(168, 85, 247, 0.25);
  box-shadow: inset 0 0 14px rgba(168, 85, 247, 0.1), 0 0 20px rgba(0, 0, 0, 0.25);
  background: 
    repeating-linear-gradient(45deg, rgba(168, 85, 247, 0.02) 0px, rgba(168, 85, 247, 0.02) 2px, transparent 2px, transparent 8px),
    linear-gradient(180deg, rgba(168, 85, 247, 0.04) 0%, transparent 100%),
    rgba(2, 8, 23, 0.6);
  text-shadow: 0 0 10px rgba(168, 85, 247, 0.85), 0 0 2px rgba(168, 85, 247, 0.5);
}

.pricing-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  color: #dbeafe;
  list-style: none;
}

.pricing-card li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 0;
}

.pricing-card li::before {
  content: "";
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  margin-top: 0.12em;
  margin-inline-end: 8px;
  border: 1px solid rgba(34, 211, 238, 0.55);
  border-radius: 999px;
  background:
    linear-gradient(135deg, transparent 45%, #22d3ee 45% 55%, transparent 55%) center / 9px 9px no-repeat,
    rgba(34, 211, 238, 0.1);
  box-shadow:
    0 0 0 4px rgba(34, 211, 238, 0.08),
    0 0 14px rgba(34, 211, 238, 0.32);
}

.pricing-card.is-featured li::before {
  color: #ff5a1f;
  text-shadow: 0 0 8px rgba(249, 115, 22, 0.5);
}

.pricing-grid > article:nth-child(4) li::before {
  color: #c084fc;
  text-shadow: 0 0 8px rgba(168, 85, 247, 0.5);
}

.pricing-grid > article:nth-child(4) .btn.secondary {
  border-color: rgba(168, 85, 247, 0.4);
  color: #c084fc;
}

.pricing-grid > article:nth-child(4) .btn.secondary:hover {
  background: rgba(168, 85, 247, 0.08);
  border-color: #c084fc;
  box-shadow: 0 8px 20px rgba(168, 85, 247, 0.15);
}

/* Background Ambient Nebulae for Pricing Section */
.pricing-section::before {
  content: "";
  position: absolute;
  top: 20%;
  left: 10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.1) 0%, transparent 70%);
  filter: blur(80px);
  z-index: 0;
  pointer-events: none;
}

.pricing-section::after {
  content: "";
  position: absolute;
  bottom: 10%;
  right: 10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.08) 0%, transparent 70%);
  filter: blur(90px);
  z-index: 0;
  pointer-events: none;
}

/* Card 1 & 2 Rotating Border Beams */
.pricing-grid > article:nth-child(1)::after,
.pricing-grid > article:nth-child(2)::after {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: 0;
  pointer-events: none;
  border-radius: inherit;
  background: conic-gradient(from 0deg, #22d3ee, #0ea5e9 20%, transparent 40%, transparent 80%, #22d3ee);
  padding: 2px;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  filter: drop-shadow(0 0 8px rgba(34, 211, 238, 0.4));
  opacity: 0.6;
  animation: softOrbitGlow 6s linear infinite;
  display: block !important;
}

/* Card 3 (Featured) Rotating Border Beam */
.pricing-card.is-featured::after {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: 0;
  pointer-events: none;
  border-radius: inherit;
  background: conic-gradient(from 0deg, #ff5a1f, #ff9f43 20%, transparent 40%, transparent 80%, #ff5a1f);
  padding: 2px;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  filter: drop-shadow(0 0 12px rgba(249, 115, 22, 0.5));
  opacity: 0.85;
  animation: softOrbitGlow 5s linear infinite;
  display: block !important;
}

/* Card 4 Rotating Border Beam */
.pricing-grid > article:nth-child(4)::after {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: 0;
  pointer-events: none;
  border-radius: inherit;
  background: conic-gradient(from 0deg, #a855f7, #ec4899 20%, transparent 40%, transparent 80%, #a855f7);
  padding: 2px;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  filter: drop-shadow(0 0 8px rgba(168, 85, 247, 0.4));
  opacity: 0.6;
  animation: softOrbitGlow 6s linear infinite;
  display: block !important;
}

/* Scale and shadow hover effects */
.pricing-card {
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(34, 211, 238, 0.5) !important;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(34, 211, 238, 0.15);
}

.pricing-card.is-featured:hover {
  border-color: rgba(249, 115, 22, 0.7) !important;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(249, 115, 22, 0.2);
}

.pricing-grid > article:nth-child(4):hover {
  border-color: rgba(168, 85, 247, 0.6) !important;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(168, 85, 247, 0.15);
}

.pricing-card li:empty {
  display: none;
}

.pricing-card li span {
  flex: 1;
  min-width: 0;
}

.pricing-card .btn {
  width: 100%;
}

.final-cta {
  display: grid;
  justify-items: start;
  gap: 18px;
  padding: 48px;
  background:
    linear-gradient(135deg, rgba(249, 115, 22, 0.18), rgba(34, 211, 238, 0.12)),
    rgba(255, 255, 255, 0.06);
}

.quote-section {
  background:
    linear-gradient(135deg, rgba(34, 211, 238, 0.08), rgba(249, 115, 22, 0.08)),
    rgba(255, 255, 255, 0.06);
}

input,
select,
textarea {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

select option {
  background: #ffffff;
  color: #07111f;
}

input::placeholder,
textarea::placeholder {
  color: rgba(226, 232, 240, 0.58);
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.13);
}

.footer {
  grid-template-columns: 1fr auto;
  color: #dbeafe;
}

.copyright {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 0.92rem;
}

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700;800;900&display=swap');

.visitor-chatbot {
  position: fixed;
  right: auto;
  left: 24px;
  bottom: 22px;
  z-index: 1000;
  direction: rtl;
  font-family: 'Cairo', sans-serif;
  opacity: 1;
  visibility: visible;
}

.visitor-chat-toggle {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  min-height: 52px !important;
  padding: 8px 22px 8px 18px !important;
  border: 1px solid rgba(20, 99, 255, 0.18) !important;
  border-radius: 999px !important;
  background: #ffffff !important;
  color: #07111f !important;
  box-shadow: 0 10px 28px rgba(7, 17, 31, 0.08) !important;
  cursor: pointer !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  font-family: 'Cairo', sans-serif !important;
  font-weight: 700 !important;
  font-size: 0.95rem !important;
  text-decoration: none !important;
  z-index: 1000 !important;
}

.visitor-chat-toggle:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 15px 35px rgba(20, 99, 255, 0.15) !important;
  border-color: #1463ff !important;
  color: #1463ff !important;
}

.visitor-chat-toggle-text {
  font-weight: 700 !important;
  font-size: 0.95rem !important;
  color: inherit !important;
}

.visitor-chat-toggle-icon-container {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #1463ff !important;
  transition: transform 0.3s ease !important;
}

.visitor-chat-toggle:hover .visitor-chat-toggle-icon-container {
  transform: scale(1.15) rotate(8deg) !important;
}

.visitor-chat-window {
  position: absolute;
  right: auto;
  left: 0;
  bottom: 78px;
  display: none;
  flex-direction: column;
  width: min(360px, calc(100vw - 28px));
  height: min(550px, calc(100vh - 128px));
  min-height: 450px;
  max-height: calc(100vh - 112px);
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 24px;
  background: rgba(248, 250, 252, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #1e293b;
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.18);
  transform-origin: bottom left;
  animation: visitorChatIn 0.22s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  z-index: 1000;
}

@keyframes visitorChatIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.95);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.visitor-chatbot.is-open .visitor-chat-window {
  display: flex;
}

.visitor-chatbot.is-expanded .visitor-chat-window {
  width: min(650px, calc(100vw - 32px));
  height: 80vh;
  max-height: 80vh;
}

.visitor-chat-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  background: linear-gradient(135deg, #050c16 0%, #1463ff 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.visitor-chat-head-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.visitor-chat-avatar-container {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.visitor-chat-head-avatar {
  font-size: 1.15rem;
  line-height: 1;
}

.visitor-chat-status-dot {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #10b981;
  border: 2px solid #ffffff;
}

.visitor-chat-head-info strong {
  color: #ffffff !important;
  font-size: 0.92rem;
  font-weight: 800;
  display: block;
}

.visitor-chat-status-text {
  color: rgba(255, 255, 255, 0.8) !important;
  font-size: 0.72rem;
  display: block;
}

.visitor-chat-head-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.visitor-chat-icon-btn {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font: inherit;
  font-size: 1.05rem;
  font-weight: 900;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.visitor-chat-icon-btn:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: scale(1.05);
}

.visitor-chat-profile {
  display: none !important;
}

.visitor-chat-menu {
  display: none;
  grid-template-columns: 1fr;
  gap: 8px;
  margin: 10px 14px 10px;
  padding: 10px;
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
}

.visitor-chatbot.is-menu-open .visitor-chat-menu {
  display: grid;
}

.visitor-chat-menu button {
  min-height: 40px;
  border: 0;
  border-radius: 12px;
  background: #f1f5f9;
  color: #0f172a;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease;
}

.visitor-chat-menu button:hover {
  background: #e2e8f0;
}

.visitor-chat-messages {
  flex: 1 1 0%;
  min-height: 0;
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 14px 18px 16px;
  overflow-y: auto;
}

.visitor-chat-row {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  width: 100%;
  clear: both;
}

/* في وضع الـ RTL: البدء (Start) هو اليمين، والانتهاء (End) هو اليسار */
.visitor-chat-row.bot {
  justify-content: flex-start; /* محاذاة لليمين */
}

.visitor-chat-row.user {
  justify-content: flex-end; /* محاذاة لليسار */
}

.visitor-chat-bubble-avatar {
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
  border: 1px solid rgba(226, 232, 240, 0.8);
  user-select: none;
}

.visitor-chat-row.user .visitor-chat-bubble-avatar {
  background: #1463ff;
  border-color: #1463ff;
  color: #ffffff;
}

.visitor-chat-message {
  width: fit-content;
  max-width: 78%;
  padding: 10px 14px;
  border-radius: 18px;
  color: #0f172a;
  font-size: 0.9rem;
  line-height: 1.5;
  white-space: pre-wrap;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
}

.visitor-chat-message.bot {
  position: relative;
  border-bottom-right-radius: 4px;
  background: #ffffff;
  color: #0f172a;
  border: 1px solid rgba(226, 232, 240, 0.8);
  font-weight: 500;
}

.visitor-chat-message.user {
  border-bottom-left-radius: 4px;
  background: #1463ff;
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(20, 99, 255, 0.15);
}

/* شريط الاتصال البشري العلوي المتميز */
.visitor-chat-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px;
  background: #e2e8f0;
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  font-size: 0.8rem;
  color: #334155;
  animation: visitorChatIn 0.2s ease;
}

.visitor-chat-banner-status {
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}

.visitor-chat-banner-btn {
  border: 1px solid rgba(20, 99, 255, 0.22);
  border-radius: 999px;
  background: #ffffff;
  color: #1463ff;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.visitor-chat-banner-btn:hover {
  background: #1463ff;
  color: #ffffff;
  border-color: #1463ff;
}

/* أزرار الرد السريع */
.visitor-chat-quick {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px 12px;
  min-height: 48px;
  max-height: 56px;
  overflow-x: auto;
}

.visitor-chat-quick button {
  flex: 0 0 auto;
  height: 32px;
  min-height: 32px;
  border: 1px solid rgba(20, 99, 255, 0.15);
  border-radius: 999px;
  background: #ffffff;
  color: #1463ff;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0 12px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(20, 99, 255, 0.03);
}

.visitor-chat-quick button:hover {
  background: #1463ff;
  color: #ffffff;
  border-color: #1463ff;
  box-shadow: 0 4px 12px rgba(20, 99, 255, 0.15);
  transform: translateY(-1px);
}

.visitor-chat-form {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 8px;
  margin: 0 12px 12px;
  padding: 6px 8px;
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
  align-items: center;
}

.visitor-chat-attach-btn {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #1463ff;
  font-size: 1.15rem;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.visitor-chat-attach-btn:hover {
  background: #f1f5f9;
  transform: scale(1.05);
}

.visitor-chat-form input {
  min-height: 38px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #0f172a;
  font-size: 0.92rem;
  box-shadow: none;
  font-family: 'Cairo', sans-serif;
}

.visitor-chat-form input:focus {
  box-shadow: none;
}

.visitor-chat-form button[type="submit"] {
  width: 38px;
  min-height: 38px;
  border: 0;
  border-radius: 50%;
  background: #1463ff;
  color: transparent;
  font: inherit;
  font-weight: 900;
  padding: 0;
  cursor: pointer;
  position: relative;
  transition: transform 0.2s ease, background 0.2s ease;
}

.visitor-chat-form button[type="submit"]:hover {
  transform: scale(1.05);
  background: #004ee6;
}

.visitor-chat-form button[type="submit"]::before {
  content: "";
  position: absolute;
  inset: 11px;
  background: #ffffff;
  clip-path: polygon(50% 0, 100% 52%, 70% 52%, 70% 100%, 30% 100%, 30% 52%, 0 52%);
}

@media (max-width: 1100px) {
  .site-header.is-open .main-nav,
  .site-header.is-open .header-actions {
    background: #07111f;
  }

  .hero-visual.hero-carousel {
    min-height: 560px;
  }

  .gallery-card {
    inset: 0;
  }

  .four-grid,
  .mockup-grid,
  .pricing-grid,
  .process-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 104px;
  }

  h1 {
    font-size: clamp(2.45rem, 13vw, 3.8rem);
  }

  .hero-visual.hero-carousel {
    min-height: 460px;
  }

  .gallery-card {
    min-height: 430px;
    border-radius: 20px;
  }

  .mockup-content strong {
    font-size: 1.55rem;
  }

  .four-grid,
  .mockup-grid,
  .pricing-grid,
  .process-list {
    grid-template-columns: 1fr;
  }

  .final-cta {
    padding: 28px;
  }

  .visitor-chatbot {
    right: auto;
    left: 14px;
    bottom: 14px;
  }

  .visitor-chat-toggle {
    min-height: 56px;
    padding: 7px;
  }

  .visitor-chat-toggle-label {
    display: none;
  }

  .visitor-chat-window {
    right: auto;
    left: 0;
    bottom: 68px;
    width: calc(100vw - 28px);
    height: min(560px, calc(100vh - 92px));
    min-height: min(480px, calc(100vh - 92px));
    max-height: calc(100vh - 92px);
  }

  .visitor-chatbot.is-open .visitor-chat-window {
    display: flex;
  }
}

/* Clean global background: only navy base + moving lines */
body {
  background: #07111f;
}

body::before {
  display: none;
}

.site-motion-bg {
  opacity: 0.7;
}

.site-motion-bg::before {
  inset: -18%;
  background-image:
    linear-gradient(115deg, transparent 0 46%, rgba(34, 211, 238, 0.18) 46.35% 46.75%, transparent 47.1% 100%),
    linear-gradient(25deg, transparent 0 54%, rgba(249, 115, 22, 0.09) 54.35% 54.7%, transparent 55.05% 100%);
  background-size: 280px 280px, 360px 360px;
  background-position: 0 0, 0 0;
  animation: siteLinesDrift 42s linear infinite;
}

.site-motion-bg::after {
  display: none;
}

/* Cairo Pixel visual identity upgrade */
:root {
  --brand-accent: #ff5a1f;
  --brand-cyan: #19d3f3;
  --brand-deep: #060d18;
}

body {
  background:
    radial-gradient(circle at 18% 12%, rgba(25, 211, 243, 0.08), transparent 28%),
    radial-gradient(circle at 86% 18%, rgba(255, 90, 31, 0.08), transparent 24%),
    linear-gradient(180deg, #06101d 0%, #071523 42%, #07111f 100%);
}

.site-header {
  min-height: 112px;
  border-bottom-color: rgba(25, 211, 243, 0.16);
  background:
    linear-gradient(90deg, rgba(255, 90, 31, 0.12), transparent 34%),
    rgba(6, 13, 24, 0.88);
}

.brand-text {
  color: #ffffff;
  text-shadow: 0 10px 28px rgba(25, 211, 243, 0.18);
}

.brand-text::after {
  width: 12px;
  height: 12px;
  background: linear-gradient(135deg, var(--brand-accent), var(--brand-cyan));
  box-shadow: 0 0 0 5px rgba(25, 211, 243, 0.1), 0 0 28px rgba(255, 90, 31, 0.45);
}

.brand-tagline {
  color: rgba(255, 255, 255, 0.72);
}

.main-nav {
  font-size: 1.14rem;
}

.main-nav a {
  position: relative;
  padding-block: 8px;
}

.main-nav a::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand-cyan), var(--brand-accent));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.22s ease;
}

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

.hero {
  width: min(1500px, calc(100% - 64px));
  gap: clamp(56px, 7vw, 120px);
  padding-top: 150px;
}

.hero::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 150px;
  width: 8px;
  height: min(58vh, 520px);
  border-radius: 999px;
  background: linear-gradient(180deg, var(--brand-accent), var(--brand-cyan), transparent);
  box-shadow: 0 0 42px rgba(25, 211, 243, 0.32);
  opacity: 0.9;
}

.hero-copy {
  padding-inline-start: clamp(22px, 3vw, 46px);
}

.hero-copy::before {
  content: "CAIRO PIXEL / WEB DEVELOPMENT";
  display: inline-flex;
  margin-bottom: 18px;
  padding: 7px 11px;
  border: 1px solid rgba(25, 211, 243, 0.28);
  border-radius: 999px;
  background: rgba(25, 211, 243, 0.08);
  color: #a7f3ff;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0;
  direction: ltr;
}

h1 {
  max-width: 780px;
  margin-bottom: 38px;
  color: #ffffff;
  font-size: clamp(3.7rem, 6.25vw, 7.1rem);
  line-height: 1.08;
}

h1::after {
  content: "";
  display: block;
  width: min(220px, 44%);
  height: 7px;
  margin-top: 26px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand-accent), var(--brand-cyan));
  animation: identityPulse 6s ease-in-out infinite;
}

@keyframes identityPulse {
  0%,
  100% {
    opacity: 0.78;
    transform: scaleX(0.86);
    transform-origin: right;
  }

  50% {
    opacity: 1;
    transform: scaleX(1);
    transform-origin: right;
  }
}

.lead {
  max-width: 690px;
  color: #c3d0df;
  font-size: clamp(1.28rem, 1.55vw, 1.72rem);
}

.btn.primary {
  border-color: var(--brand-accent);
  background: var(--brand-accent);
  box-shadow: 0 18px 36px rgba(255, 90, 31, 0.22);
}

.btn.secondary,
.btn.whatsapp {
  border-color: rgba(25, 211, 243, 0.46);
  background: rgba(25, 211, 243, 0.09);
  color: #d4fbff;
}

.section {
  padding: 112px 0;
}

.section-heading {
  position: relative;
  max-width: 820px;
  margin-bottom: 46px;
  padding-inline-start: 28px;
}

.section-heading::before,
.quote-copy::before,
.why-copy::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 6px;
  width: 5px;
  height: 76px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--brand-accent), var(--brand-cyan));
}

.section-heading h2,
.why-copy h2,
.quote-copy h2,
.final-cta h2 {
  color: #ffffff;
  font-size: clamp(2.35rem, 4.6vw, 4.3rem);
  line-height: 1.08;
}

.eyebrow {
  color: #ffb08f;
  font-size: 0.82rem;
}

.logo-strip {
  width: min(1260px, calc(100% - 64px));
  margin-top: 12px;
  margin-bottom: 58px;
}

.logo-strip span {
  min-height: 84px;
  border-color: rgba(25, 211, 243, 0.16);
  background:
    linear-gradient(135deg, rgba(25, 211, 243, 0.1), rgba(255, 90, 31, 0.055)),
    rgba(255, 255, 255, 0.055);
}

.service-card,
.why-list article,
.process-list article,
.pricing-card,
.work-card {
  position: relative;
  overflow: hidden;
  border-color: rgba(25, 211, 243, 0.16);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.035)),
    rgba(6, 13, 24, 0.42);
}

.service-card::before,
.why-list article::before,
.process-list article::before,
.work-card::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(180deg, var(--brand-accent), rgba(25, 211, 243, 0.22));
  opacity: 0.8;
}

.service-card:hover,
.why-list article:hover,
.process-list article:hover,
.pricing-card:hover {
  border-color: rgba(25, 211, 243, 0.42);
  transform: translateY(-7px);
}

.service-card span,
.process-list span {
  background: rgba(255, 90, 31, 0.14);
  color: #ffd1bf;
}

.portfolio {
  padding-top: 110px;
  padding-bottom: 118px;
  background:
    linear-gradient(115deg, rgba(25, 211, 243, 0.06) 0 1px, transparent 1px 120px),
    linear-gradient(180deg, rgba(6, 13, 24, 0.68), rgba(15, 23, 42, 0.98)),
    #07111f;
}

.gallery-card {
  border-color: rgba(25, 211, 243, 0.24);
}

.gallery-card.is-active {
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.36),
    0 0 0 1px rgba(255, 90, 31, 0.16),
    0 0 70px rgba(25, 211, 243, 0.13);
}

.pricing-card::before {
  height: 6px;
  background: linear-gradient(90deg, var(--brand-accent), var(--brand-cyan));
  opacity: 0.92;
}

.pricing-card.is-featured {
  border-color: rgba(255, 90, 31, 0.7);
  transform: translateY(-12px);
}

.pricing-badge {
  background: rgba(255, 90, 31, 0.18);
  color: #ffd1bf;
}

.quote-section,
.final-cta,
.whatsapp-cta {
  border-color: rgba(25, 211, 243, 0.2);
  background:
    linear-gradient(135deg, rgba(255, 90, 31, 0.12), rgba(25, 211, 243, 0.1)),
    rgba(255, 255, 255, 0.065);
}

.quote-copy,
.why-copy {
  position: relative;
  padding-inline-start: 28px;
}

.visitor-chat-toggle {
  background: #1463ff;
  box-shadow: 0 20px 42px rgba(20, 99, 255, 0.36), 0 0 0 1px rgba(25, 211, 243, 0.18);
}

.visitor-chat-toggle:hover {
  box-shadow: 0 24px 52px rgba(20, 99, 255, 0.42), 0 0 46px rgba(25, 211, 243, 0.22);
}

@media (max-width: 1100px) {
  .hero {
    width: min(900px, calc(100% - 40px));
    padding-top: 122px;
  }

  .hero::before {
    height: 320px;
  }
}

@media (max-width: 640px) {
  .hero,
  .logo-strip,
  .section,
  .quote-section,
  .whatsapp-cta,
  .footer {
    width: calc(100% - 30px);
  }

  .hero {
    padding-top: 112px;
  }

  .hero-copy,
  .section-heading,
  .quote-copy,
  .why-copy {
    padding-inline-start: 18px;
  }

  .hero::before {
    top: 116px;
    width: 5px;
    height: 280px;
  }

  .hero-copy::before {
    font-size: 0.62rem;
    letter-spacing: 0;
  }

  h1 {
    font-size: clamp(2.7rem, 13.5vw, 4.1rem);
    line-height: 1.12;
  }

  h1::after {
    height: 5px;
    margin-top: 18px;
  }

  .section {
    padding: 82px 0;
  }

  .section-heading h2,
  .why-copy h2,
  .quote-copy h2,
  .final-cta h2 {
    font-size: clamp(2rem, 10vw, 3rem);
  }
}

/* Software-company layout recalibration */
.site-motion-bg {
  opacity: 0.82;
}

.site-motion-bg::before {
  inset: -8%;
  background-image:
    radial-gradient(circle, rgba(25, 211, 243, 0.28) 0 1.6px, transparent 2.4px),
    linear-gradient(90deg, transparent 0 48%, rgba(25, 211, 243, 0.09) 48.3% 48.6%, transparent 49% 100%),
    linear-gradient(0deg, transparent 0 48%, rgba(255, 90, 31, 0.055) 48.3% 48.6%, transparent 49% 100%);
  background-size: 126px 126px, 252px 252px, 252px 252px;
  background-position: 0 0, 0 0, 0 0;
  animation: softwareGridDrift 62s linear infinite;
}

.site-motion-bg::after {
  inset: -10%;
  background-image:
    linear-gradient(132deg, transparent 0 49.2%, rgba(25, 211, 243, 0.22) 49.45% 49.72%, transparent 50% 100%),
    linear-gradient(38deg, transparent 0 56%, rgba(255, 90, 31, 0.09) 56.2% 56.42%, transparent 56.7% 100%),
    radial-gradient(circle at 50% 50%, rgba(25, 211, 243, 0.1), transparent 38%);
  background-size: 330px 330px, 390px 390px, 580px 580px;
  animation: softwareTraceSlide 72s linear infinite;
}

@keyframes softwareGridDrift {
  from {
    background-position: 0 0, 0 0, 0 0;
  }

  to {
    background-position: 130px 80px, 260px 130px, -260px 130px;
  }
}

@keyframes softwareTraceSlide {
  from {
    background-position: 0 0, 0 0, 0 0;
  }

  to {
    background-position: -360px 180px, 420px -210px, 160px 120px;
  }
}

.hero {
  grid-template-columns: minmax(460px, 0.96fr) minmax(520px, 1.04fr);
  align-items: center;
  justify-content: center;
  width: min(1320px, calc(100% - 72px));
  min-height: 92vh;
  gap: clamp(34px, 4.8vw, 76px);
  padding-top: 118px;
  padding-bottom: 54px;
}

.hero::before {
  top: 50%;
  inset-inline-start: auto;
  inset-inline-end: calc(50% - 7px);
  height: min(50vh, 430px);
  transform: translateY(-50%);
}

.hero::after {
  content: "";
  position: absolute;
  inset-inline-start: 8%;
  top: 17%;
  width: min(360px, 26vw);
  aspect-ratio: 1.8;
  border: 1px solid rgba(25, 211, 243, 0.18);
  border-radius: 18px;
  background:
    linear-gradient(90deg, rgba(25, 211, 243, 0.25) 0 14%, transparent 14% 22%, rgba(255, 90, 31, 0.22) 22% 32%, transparent 32% 100%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 18px),
    rgba(6, 13, 24, 0.38);
  opacity: 0.35;
  filter: blur(0.2px);
  pointer-events: none;
}

.hero-copy {
  justify-self: center;
  width: min(620px, 100%);
  padding-inline-start: 26px;
}

.hero-copy::before {
  margin-bottom: 16px;
}

h1 {
  max-width: 540px;
  margin-bottom: 28px;
  font-size: clamp(2.75rem, 3.9vw, 4.85rem);
  line-height: 1.18;
}

h1::after {
  width: 180px;
  height: 5px;
  margin-top: 22px;
}

.lead {
  max-width: 560px;
  margin-bottom: 38px;
  font-size: clamp(1.08rem, 1.18vw, 1.34rem);
  line-height: 1.85;
}

.hero-actions {
  gap: 14px;
}

.btn.large {
  min-height: 58px;
  padding-inline: 30px;
  font-size: 1.02rem;
}

.pill-quote {
  min-width: 285px;
}

.hero-visual.hero-carousel {
  justify-self: center;
  width: min(560px, 100%);
  min-height: 560px;
}

.gallery-card {
  inset: 0;
  width: min(540px, 100%);
  min-height: 520px;
}

.mockup-screen,
.mockup-card .work-shot {
  width: calc(100% - 30px);
}

.mockup-content {
  padding: 20px 24px 24px;
}

.mockup-content strong {
  font-size: 1.55rem;
}

.mockup-content p {
  font-size: 0.98rem;
  line-height: 1.7;
}

.section,
.quote-section,
.footer,
.logo-strip,
.whatsapp-cta {
  width: min(1120px, calc(100% - 56px));
}

.section {
  padding: 94px 0;
}

.section-heading {
  max-width: 760px;
  margin-inline: auto;
  margin-bottom: 42px;
  text-align: center;
  padding-inline-start: 0;
}

.section-heading::before {
  inset-inline-start: 50%;
  top: auto;
  bottom: -18px;
  width: 86px;
  height: 4px;
  transform: translateX(50%);
}

.section-heading h2,
.why-copy h2,
.quote-copy h2,
.final-cta h2 {
  font-size: clamp(2.15rem, 3.6vw, 3.55rem);
}

.service-grid,
.portfolio-grid,
.pricing-grid,
.process-list {
  align-items: stretch;
}

.service-card,
.why-list article,
.process-list article,
.pricing-card {
  min-height: auto;
}

.pricing-card.is-featured {
  transform: translateY(-8px);
}

@media (max-width: 1100px) {
  .hero {
    grid-template-columns: 1fr;
    width: min(760px, calc(100% - 40px));
    min-height: auto;
    gap: 38px;
    padding-top: 118px;
    text-align: center;
  }

  .hero::before {
    inset-inline-end: auto;
    inset-inline-start: 50%;
    top: 112px;
    width: 180px;
    height: 5px;
    transform: translateX(50%);
  }

  .hero::after {
    display: none;
  }

  .hero-copy {
    padding-inline-start: 0;
  }

  h1,
  .lead {
    margin-inline: auto;
  }

  h1::after {
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual.hero-carousel {
    width: min(560px, 100%);
    min-height: 500px;
  }

  .gallery-card {
    min-height: 480px;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 76px;
  }

  .hero,
  .section,
  .quote-section,
  .footer,
  .logo-strip,
  .whatsapp-cta {
    width: calc(100% - 28px);
  }

  .hero {
    padding-top: 104px;
    gap: 28px;
  }

  .hero::before {
    top: 92px;
    width: 132px;
  }

  .hero-copy::before {
    justify-content: center;
    margin-inline: auto;
  }

  h1 {
    font-size: clamp(2.35rem, 11.2vw, 3.45rem);
    line-height: 1.18;
  }

  .lead {
    margin-bottom: 28px;
    font-size: 1rem;
    line-height: 1.75;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .hero-visual.hero-carousel {
    min-height: 400px;
  }

  .gallery-card {
    min-height: 390px;
  }

  .mockup-content {
    padding: 16px 18px 20px;
  }

  .mockup-content strong {
    font-size: 1.32rem;
  }

  .section {
    padding: 74px 0;
  }
}

/* Final background override: one navy base + moving lines only */
html,
body {
  background: #07111f !important;
}

body::before {
  display: none !important;
}

.site-motion-bg {
  opacity: 0.7 !important;
}

.site-motion-bg::before {
  display: block !important;
  inset: -18% !important;
  background-image:
    linear-gradient(115deg, transparent 0 46%, rgba(34, 211, 238, 0.18) 46.35% 46.75%, transparent 47.1% 100%),
    linear-gradient(25deg, transparent 0 54%, rgba(249, 115, 22, 0.09) 54.35% 54.7%, transparent 55.05% 100%) !important;
  background-size: 280px 280px, 360px 360px !important;
  background-position: 0 0, 0 0 !important;
  animation: siteLinesDrift 42s linear infinite !important;
}

.site-motion-bg::after {
  display: none !important;
}

.portfolio {
  background: transparent !important;
}

.final-cta {
  position: relative;
  justify-items: start;
  gap: 18px;
  width: min(1120px, calc(100% - 72px));
  margin-inline: auto;
  padding: clamp(42px, 5vw, 72px) clamp(34px, 6vw, 76px);
  overflow: hidden;
  border: 1px solid rgba(34, 211, 238, 0.26);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 90, 31, 0.12), rgba(34, 211, 238, 0.13)),
    rgba(15, 23, 42, 0.72) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 24px 70px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(14px);
}

.final-cta::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  inset-block: 0;
  width: 6px;
  background: linear-gradient(180deg, #ff5a1f, #22d3ee);
}

.final-cta::after {
  content: "";
  position: absolute;
  inset-inline-end: -80px;
  bottom: -120px;
  width: 310px;
  height: 310px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.18), transparent 66%);
  pointer-events: none;
}

.final-cta h2,
.final-cta p,
.final-cta .btn {
  position: relative;
  z-index: 1;
}

.final-cta h2 {
  max-width: 780px;
  margin-bottom: 4px;
}

.final-cta p {
  max-width: 620px;
}

.final-cta .btn {
  margin-top: 8px;
}

@media (max-width: 640px) {
  .final-cta {
    width: calc(100% - 28px);
    padding: 32px 22px;
  }

  .selected-plan-summary {
    grid-template-columns: 1fr auto;
  }

  .selected-plan-summary span {
    grid-column: 1 / -1;
  }
}

.section,
.site-footer {
  content-visibility: auto;
  contain-intrinsic-size: 1px 720px;
}

@media (max-width: 760px) {
  .site-motion-bg,
  .site-motion-bg::before {
    animation-duration: 90s !important;
  }
}

/* Production pricing layout: stable rows, four-up desktop, no stale visual gaps. */
.pricing-section {
  width: min(1500px, calc(100% - 72px));
  scroll-margin-top: 132px;
}

.pricing-section .section-heading {
  max-width: 860px;
}

.pricing-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: clamp(12px, 1.1vw, 18px);
  align-items: stretch;
}

.pricing-card,
.pricing-card.is-featured,
.pricing-card:hover,
.pricing-card.is-featured:hover {
  transform: none;
}

.pricing-card {
  grid-template-rows: 28px minmax(46px, auto) minmax(50px, auto) minmax(54px, auto) minmax(0, 1fr) auto;
  gap: 7px;
  min-height: clamp(500px, 58vh, 620px);
  padding: clamp(22px, 1.65vw, 28px);
  border-color: rgba(34, 211, 238, 0.22);
  background:
    radial-gradient(circle at 8% 10%, rgba(34, 211, 238, 0.11), transparent 32%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.032)),
    rgba(10, 18, 30, 0.82);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 20px 58px rgba(0, 0, 0, 0.22);
  text-align: right;
}

.pricing-card::before {
  inset: -1px;
  height: auto;
  padding: 1px;
  border-radius: inherit;
  background:
    linear-gradient(90deg, var(--brand-accent), var(--brand-cyan)) top / 100% 5px no-repeat,
    linear-gradient(145deg, rgba(34, 211, 238, 0.28), rgba(255, 255, 255, 0), rgba(255, 90, 31, 0.22));
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 1;
  pointer-events: none;
}

.pricing-card::after {
  inset: auto;
  top: 34px;
  left: 22px;
  z-index: 0;
  width: 58px;
  height: 58px;
  padding: 0;
  border-top: 1px solid rgba(255, 214, 102, 0.65);
  border-left: 1px solid rgba(255, 214, 102, 0.42);
  border-top-left-radius: 12px;
  background: none;
  filter: none;
  opacity: 0.75;
  animation: none;
  pointer-events: none;
}

.pricing-card.is-featured {
  border-color: rgba(132, 204, 22, 0.62);
  background:
    radial-gradient(circle at 12% 12%, rgba(132, 204, 22, 0.13), transparent 35%),
    linear-gradient(145deg, rgba(38, 80, 47, 0.42), rgba(255, 255, 255, 0.035)),
    rgba(10, 18, 30, 0.84);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 24px 70px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(132, 204, 22, 0.1);
}

.pricing-badge {
  min-height: 30px;
  align-items: center;
  justify-content: center;
}

.pricing-badge[aria-hidden="true"] {
  visibility: hidden;
}

.pricing-card h3 {
  display: flex;
  align-items: flex-start;
  min-height: 1.45em;
  margin: 0;
  font-size: clamp(1.5rem, 1.78vw, 2.05rem);
  line-height: 1.08;
}

.pricing-card p {
  min-height: 2.75em;
  margin: 0;
  color: #cbd5e1;
  font-size: clamp(1.08rem, 1.14vw, 1.28rem);
  font-weight: 600;
  line-height: 1.34;
}

.pricing-card strong {
  display: flex;
  align-items: center;
  min-height: 58px;
  font-size: clamp(2.3rem, 2.75vw, 3.35rem);
  line-height: 1;
  white-space: nowrap;
}

.pricing-card ul {
  align-content: start;
  gap: 0;
}

.pricing-card li {
  min-height: 38px;
  padding: 7px 0 8px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
  font-size: clamp(0.93rem, 0.96vw, 1.08rem);
  font-weight: 600;
  line-height: 1.28;
}

.pricing-card li:last-child {
  border-bottom: 0;
}

.pricing-card li::before {
  margin-top: 0.58em;
  background: #22d3ee;
  box-shadow:
    0 0 0 4px rgba(34, 211, 238, 0.11),
    0 0 18px rgba(34, 211, 238, 0.35);
}

.pricing-card li span {
  display: block;
  flex: 1;
  min-width: 0;
}

@media (min-width: 1280px) {
  .pricing-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .pricing-card {
    grid-template-rows: 26px minmax(40px, auto) minmax(42px, auto) minmax(48px, auto) minmax(0, 1fr) auto;
    gap: 5px;
    min-height: clamp(500px, 60vh, 600px);
    padding: 16px 22px 18px;
  }

  .pricing-badge {
    min-height: 26px;
    padding: 3px 10px;
    font-size: 0.78rem;
  }

  .pricing-card h3 {
    min-height: 1.35em;
    font-size: clamp(1.48rem, 1.6vw, 1.86rem);
    line-height: 1.04;
  }

  .pricing-card p {
    min-height: 2.65em;
    font-size: clamp(1.06rem, 1.03vw, 1.18rem);
    line-height: 1.26;
  }

  .pricing-card strong {
    min-height: 48px;
    font-size: clamp(2.26rem, 2.42vw, 3.08rem);
  }

  .pricing-card ul {
    gap: 0;
  }

  .pricing-card li {
    min-height: 35px;
    padding: 6px 0 7px;
    gap: 8px;
    font-size: clamp(0.9rem, 0.88vw, 0.98rem);
    line-height: 1.22;
  }

  .pricing-card li::before {
    flex-basis: 6px;
    width: 6px;
    height: 6px;
    margin-top: 0.42em;
    box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.1);
  }
}

@media (max-width: 1279px) {
  .pricing-section {
    width: min(980px, calc(100% - 48px));
  }

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

@media (max-width: 700px) {
  .pricing-section {
    width: calc(100% - 28px);
    scroll-margin-top: 96px;
  }

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

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .pricing-card h3,
  .pricing-card p,
  .pricing-card strong {
    min-height: 0;
  }
}

/* Site-wide microcopy readability: lift only the small helper text layer. */
.eyebrow,
.hero-copy::before {
  font-size: clamp(1rem, 0.86vw, 1.12rem);
  font-weight: 900;
  line-height: 1.35;
}

.section-heading p,
.section-heading .rich-copy,
.why-copy p,
.why-copy .rich-copy,
.quote-copy p,
.quote-copy .rich-copy,
.service-card p,
.service-card .rich-copy,
.work-card p,
.why-list p,
.why-list .rich-copy,
.testimonial-grid p,
.footer p,
  .footer .rich-copy,
  .page-lead,
  .card-like-page {
  font-size: clamp(1.16rem, 1.08vw, 1.32rem);
  font-weight: 500;
  line-height: 1.78;
}

.section-heading p:not(.eyebrow),
.section-heading .rich-copy {
  max-width: 760px;
  margin-inline: auto;
}

.section-heading .eyebrow,
.why-copy .eyebrow,
.quote-copy .eyebrow,
.portfolio .eyebrow {
  font-size: clamp(1rem, 0.92vw, 1.16rem);
  font-weight: 900;
  line-height: 1.35;
}

.portfolio .section-heading p,
.portfolio .eyebrow,
.work-card p {
  color: #c6d2df;
}

@media (max-width: 640px) {
  .eyebrow,
  .hero-copy::before {
    font-size: 0.94rem;
  }

  .section-heading p:not(.eyebrow),
  .section-heading .rich-copy,
  .why-copy p,
  .why-copy .rich-copy,
  .quote-copy p,
  .quote-copy .rich-copy,
  .service-card p,
  .service-card .rich-copy,
  .work-card p,
  .why-list p,
  .why-list .rich-copy,
  .testimonial-grid p,
  .footer p,
  .footer .rich-copy,
  .page-lead,
  .card-like-page {
    font-size: 1.08rem;
    line-height: 1.7;
  }
}

/* Mobile navigation must be independent from desktop flex/grid spacing. */
@media (max-width: 1100px) {
  .site-header.is-open .main-nav {
    position: fixed;
    inset: 84px 14px auto 14px;
    z-index: 80;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    max-height: calc(100dvh - 106px);
    overflow-y: auto;
    overscroll-behavior: contain;
    border: 1px solid rgba(34, 211, 238, 0.2);
    border-radius: 14px;
    background: rgba(7, 17, 31, 0.98);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
  }

  .site-header.is-open .main-nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 58px;
    padding: 0 18px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
    color: #f8fafc;
    font-size: 1.15rem;
    line-height: 1.2;
  }

  .site-header.is-open .main-nav a:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 640px) {
  .site-header.is-open .main-nav {
    inset: 76px 18px auto 18px;
    max-height: calc(100dvh - 92px);
  }
}
