@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Tajawal:wght@400;500;700;800&display=swap");

:root {
  --void-black: #010010;
  --cosmic-navy: #050a20;
  --midnight-indigo: #0d0c2e;
  --royal-indigo: #0f0146;
  --portal-indigo: #240374;
  --electric-violet: #6811de;
  --neon-purple: #7b2be2;
  --radiant-orchid: #a468ff;
  --soft-lavender: #d6b7ff;
  --ice-violet: #f0e4fd;
  --mist-lavender: #b5b3d1;
  --digital-cyan: #55c0d9;
  --warm-amber: #f2a36b;
  --scroll-progress: 0;
  --video-scale: 1.045;
  --video-opacity: 0.98;
  --video-shift: 0px;
  --nav-shade-opacity: 0.55;
  --atmosphere-opacity: 0.46;
  --vignette-opacity: 0.88;
  --scroll-cue-opacity: 1;
  --scroll-cue-y: 0px;
  --brand-opacity: 1;
  --brand-y: 0px;
  --nav-edge-space: clamp(18px, 5vw, 92px);
  --brand-space: clamp(140px, 12vw, 210px);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--void-black);
  color: var(--ice-violet);
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 50% 55%, rgba(104, 17, 222, 0.34) 0%, rgba(36, 3, 116, 0.24) 34%, var(--cosmic-navy) 70%, var(--void-black) 100%),
    var(--void-black);
  color: var(--ice-violet);
  font-family: "Inter", "Tajawal", Arial, sans-serif;
  text-rendering: geometricPrecision;
}

body.is-arabic {
  font-family: "Tajawal", "Inter", Arial, sans-serif;
}

body.is-loading-hero {
  overflow: hidden;
}

.hero-loader {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at 50% 45%, rgba(104, 17, 222, 0.48), rgba(36, 3, 116, 0.28) 32%, rgba(5, 10, 32, 0.94) 68%, #010010 100%),
    #010010;
  color: var(--ice-violet);
  opacity: 1;
  visibility: visible;
  transition: opacity 280ms ease, visibility 280ms ease;
}

body:not(.is-loading-hero) .hero-loader {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.hero-loader::before,
.hero-loader::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
}

.hero-loader::before {
  background:
    linear-gradient(90deg, rgba(214, 183, 255, 0.06) 1px, transparent 1px),
    linear-gradient(180deg, rgba(214, 183, 255, 0.05) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: radial-gradient(circle at center, black 0%, transparent 70%);
  opacity: 0.34;
}

.hero-loader::after {
  background:
    radial-gradient(circle at 50% 50%, rgba(214, 183, 255, 0.18), transparent 26%),
    linear-gradient(180deg, rgba(1, 0, 16, 0), rgba(1, 0, 16, 0.68));
}

.hero-loader-panel {
  position: relative;
  z-index: 1;
  width: min(420px, 92vw);
  display: grid;
  justify-items: center;
  padding: clamp(26px, 4vw, 40px);
  border: 1px solid rgba(164, 104, 255, 0.28);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(13, 12, 46, 0.7), rgba(36, 3, 116, 0.28)),
    rgba(1, 0, 16, 0.42);
  box-shadow:
    0 28px 90px rgba(104, 17, 222, 0.28),
    inset 0 1px 0 rgba(214, 183, 255, 0.22);
  text-align: center;
  backdrop-filter: blur(22px) saturate(145%);
}

.hero-loader-mark {
  position: relative;
  width: clamp(112px, 20vw, 154px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}

.hero-loader-mark::before {
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  background:
    conic-gradient(from 0deg, rgba(214, 183, 255, 0), rgba(164, 104, 255, 0.92), rgba(104, 17, 222, 0.3), rgba(214, 183, 255, 0));
  content: "";
  filter: drop-shadow(0 0 22px rgba(164, 104, 255, 0.46));
  animation: heroLoaderSpin 1.6s linear infinite;
  mask-image: radial-gradient(circle, transparent 57%, black 59%);
}

.hero-loader-mark img {
  position: relative;
  width: 86%;
  height: auto;
  filter: drop-shadow(0 0 22px rgba(104, 17, 222, 0.46));
}

.hero-loader-eyebrow {
  margin: 0 0 8px;
  color: rgba(214, 183, 255, 0.78);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
}

.hero-loader h2 {
  margin: 0;
  color: var(--ice-violet);
  font-size: clamp(1.65rem, 4.4vw, 2.6rem);
  line-height: 1.04;
}

.hero-loader p:not(.hero-loader-eyebrow) {
  max-width: 32ch;
  margin: 12px 0 0;
  color: rgba(181, 179, 209, 0.88);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.45;
}

.hero-loader-track {
  width: min(260px, 72vw);
  height: 7px;
  margin-top: 22px;
  overflow: hidden;
  border: 1px solid rgba(214, 183, 255, 0.18);
  border-radius: 999px;
  background: rgba(1, 0, 16, 0.62);
}

.hero-loader-track span {
  display: block;
  width: calc(var(--hero-load-progress, 0.08) * 100%);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #240374, #6811de 54%, #d6b7ff);
  box-shadow: 0 0 20px rgba(164, 104, 255, 0.56);
  transition: width 160ms ease;
}

@keyframes heroLoaderSpin {
  to {
    transform: rotate(360deg);
  }
}

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

button {
  font: inherit;
}

h1,
h2,
h3,
p,
li,
a,
button,
span {
  overflow-wrap: break-word;
}

::selection {
  background: rgba(164, 104, 255, 0.34);
  color: var(--ice-violet);
}

.site-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: start;
  gap: clamp(14px, 1.8vw, 28px);
  padding: clamp(16px, 2.4vw, 34px) var(--brand-space) clamp(16px, 2.4vw, 34px) var(--nav-edge-space);
  color: rgba(240, 228, 253, 0.92);
  pointer-events: none;
}

.site-nav::before {
  position: absolute;
  inset: 0 0 auto;
  height: 160px;
  content: "";
  background: linear-gradient(180deg, rgba(1, 0, 16, 0.76), rgba(1, 0, 16, 0));
  opacity: var(--nav-shade-opacity);
  pointer-events: none;
}

.brand-mark,
.nav-links,
.nav-contact,
.language-toggle {
  position: relative;
  z-index: 1;
  pointer-events: auto;
}

.brand-mark {
  position: absolute;
  top: clamp(16px, 2.4vw, 34px);
  right: var(--nav-edge-space);
  left: auto;
  display: inline-flex;
  align-items: flex-start;
  width: clamp(96px, 7.6vw, 138px);
  min-width: 86px;
  opacity: var(--brand-opacity);
  transform: translate3d(0, var(--brand-y), 0);
  transition: opacity 180ms ease, transform 180ms ease;
  will-change: opacity, transform;
}

html[dir="rtl"] .site-nav {
  padding-right: var(--nav-edge-space);
  padding-left: var(--brand-space);
}

html[dir="rtl"] .brand-mark {
  right: auto;
  left: var(--nav-edge-space);
}

body.logo-faded .brand-mark {
  pointer-events: none;
}

.brand-mark img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 18px rgba(104, 17, 222, 0.42));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.65vw, 24px);
  padding-top: 9px;
  font-size: clamp(0.72rem, 0.68vw, 0.82rem);
  font-weight: 800;
  color: rgba(240, 228, 253, 0.78);
  justify-self: start;
}

.nav-contact {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.55vw, 24px);
  padding-top: 9px;
  font-size: clamp(0.7rem, 0.66vw, 0.8rem);
  font-weight: 800;
  color: rgba(240, 228, 253, 0.78);
  white-space: nowrap;
}

.nav-links a,
.nav-contact a {
  transition: color 180ms ease, text-shadow 180ms ease;
}

.nav-links a:hover,
.nav-contact a:hover,
.nav-links a:focus-visible,
.nav-contact a:focus-visible {
  color: var(--ice-violet);
  text-shadow: 0 0 18px rgba(164, 104, 255, 0.55);
  outline: none;
}

.language-toggle {
  min-width: 64px;
  min-height: 42px;
  padding: 0 16px;
  margin-top: -2px;
  cursor: pointer;
  border: 1px solid rgba(214, 183, 255, 0.22);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(13, 12, 46, 0.72), rgba(36, 3, 116, 0.36)),
    rgba(1, 0, 16, 0.48);
  color: var(--ice-violet);
  box-shadow:
    0 10px 28px rgba(104, 17, 222, 0.18),
    inset 0 1px 0 rgba(214, 183, 255, 0.18);
  backdrop-filter: blur(18px);
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.language-toggle:hover,
.language-toggle:focus-visible {
  border-color: rgba(164, 104, 255, 0.54);
  box-shadow:
    0 14px 34px rgba(104, 17, 222, 0.28),
    inset 0 1px 0 rgba(214, 183, 255, 0.24);
  outline: none;
  transform: translateY(-1px);
}

.hero {
  position: relative;
  height: 640vh;
  min-height: 4300px;
  background: var(--void-black);
}

.hero-pin {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 560px;
  overflow: hidden;
  isolation: isolate;
  background: var(--void-black);
}

.hero-video,
.hero-canvas,
.video-fallback,
.hero-atmosphere,
.hero-vignette {
  position: absolute;
  inset: 0;
}

.hero-video {
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: var(--video-opacity);
  filter: none;
  transform: translate3d(0, var(--video-shift), 0) scale(var(--video-scale));
  transform-origin: 50% 50%;
  will-change: filter, transform, opacity;
}

.hero-canvas {
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: translate3d(0, var(--video-shift), 0) scale(var(--video-scale));
  transform-origin: 50% 50%;
  will-change: transform, opacity;
}

body.sequence-ready .hero-canvas {
  opacity: var(--video-opacity);
}

body.sequence-ready .hero-video {
  opacity: 0;
}

body.sequence-failed .hero-canvas {
  opacity: 0;
}

body.sequence-failed .hero-video {
  opacity: var(--video-opacity);
}

.video-fallback {
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(1, 0, 16, 0.24), rgba(1, 0, 16, 0.62)),
    url("s7ab-video-poster.jpg") center / cover no-repeat,
    radial-gradient(circle at 50% 55%, rgba(104, 17, 222, 0.55) 0%, rgba(36, 3, 116, 0.35) 34%, var(--cosmic-navy) 70%, var(--void-black) 100%),
    linear-gradient(180deg, var(--void-black), var(--midnight-indigo));
}

.hero-atmosphere {
  z-index: 2;
  background:
    radial-gradient(circle at 56% 45%, rgba(214, 183, 255, 0.18), rgba(104, 17, 222, 0.08) 25%, rgba(1, 0, 16, 0) 54%),
    radial-gradient(circle at 12% 84%, rgba(36, 3, 116, 0.46), rgba(1, 0, 16, 0) 42%),
    linear-gradient(180deg, rgba(1, 0, 16, 0.38), rgba(1, 0, 16, 0.04) 46%, rgba(1, 0, 16, 0.62));
  mix-blend-mode: screen;
  opacity: var(--atmosphere-opacity);
  pointer-events: none;
}

.hero-vignette {
  z-index: 3;
  background:
    radial-gradient(circle at 50% 50%, rgba(1, 0, 16, 0) 0%, rgba(1, 0, 16, 0.16) 38%, rgba(1, 0, 16, 0.72) 100%),
    linear-gradient(90deg, rgba(1, 0, 16, 0.72), rgba(1, 0, 16, 0.08) 30%, rgba(1, 0, 16, 0.1) 70%, rgba(1, 0, 16, 0.72));
  opacity: var(--vignette-opacity);
  pointer-events: none;
}

.hero-copy {
  position: absolute;
  inset: 0;
  z-index: 7;
  pointer-events: none;
}

.chapter {
  position: absolute;
  opacity: var(--chapter-opacity, 0);
  will-change: opacity, transform;
}

.chapter-intro {
  top: 53%;
  left: 50%;
  width: min(820px, 88vw);
  text-align: center;
  transform: translate3d(-50%, calc(-50% + var(--chapter-offset, 24px)), 0);
}

.chapter-story {
  left: clamp(24px, 6.5vw, 104px);
  bottom: clamp(106px, 14vh, 180px);
  width: min(920px, 86vw);
  transform: translate3d(0, var(--chapter-offset, 26px), 0);
}

.chapter-cards {
  left: clamp(24px, 6.5vw, 104px);
  bottom: clamp(350px, 41vh, 480px);
  width: min(620px, 86vw);
  transform: translate3d(0, var(--chapter-offset, 24px), 0);
}

.chapter-finale {
  right: auto;
  left: clamp(24px, 7vw, 112px);
  bottom: clamp(110px, 14vh, 190px);
  width: min(620px, 86vw);
  text-align: left;
  transform: translate3d(0, var(--chapter-offset, 26px), 0);
}

.eyebrow {
  margin: 0 0 12px;
  color: rgba(214, 183, 255, 0.84);
  font-size: clamp(0.68rem, 0.68vw, 0.8rem);
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

.chapter h1,
.chapter h2,
.chapter p {
  text-wrap: balance;
}

.chapter h1,
.chapter h2 {
  margin: 0;
  color: var(--ice-violet);
  font-weight: 800;
  line-height: 1;
  text-shadow:
    0 0 28px rgba(104, 17, 222, 0.38),
    0 2px 24px rgba(1, 0, 16, 0.72);
}

.chapter h1 {
  font-size: clamp(1.7rem, 3.35vw, 3.95rem);
}

.chapter-intro h1 {
  font-size: clamp(2.35rem, 5vw, 5.65rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.chapter h2 {
  font-size: clamp(1.85rem, 4.25vw, 4.8rem);
}

body.is-arabic .chapter h1,
body.is-arabic .chapter h2 {
  font-size: clamp(1.7rem, 3.45vw, 4rem);
}

body.is-arabic .chapter-intro h1 {
  font-size: clamp(1.7rem, 3.1vw, 3.75rem);
  line-height: 1.16;
}

body.is-arabic .chapter-intro {
  width: min(1080px, 92vw);
}

body.is-arabic .chapter-intro .eyebrow {
  display: inline-block;
  font-size: clamp(1.05rem, 1.55vw, 1.85rem);
  transform: translate3d(0, clamp(-150px, -14vh, -92px), 0);
}

body.is-arabic .chapter-story .eyebrow {
  display: none;
}

body.is-arabic .chapter-story h2 {
  font-size: clamp(1.7rem, 3.35vw, 3.75rem);
  line-height: 1.16;
}

.chapter-intro p:not(.eyebrow),
.chapter-finale p:not(.eyebrow) {
  max-width: 560px;
  margin: 16px auto 0;
  color: rgba(240, 228, 253, 0.72);
  font-size: clamp(0.86rem, 0.9vw, 1.04rem);
  font-weight: 600;
  line-height: 1.45;
}

.chapter-intro p:not(.eyebrow) {
  max-width: 680px;
  font-size: clamp(0.9rem, 0.95vw, 1.1rem);
}

.chapter-finale p:not(.eyebrow) {
  margin-right: auto;
  margin-left: 0;
}

.chapter-cards h2 {
  font-size: clamp(1.7rem, 3.2vw, 3.6rem);
}

body.is-arabic .chapter-cards {
  bottom: clamp(420px, 48vh, 560px);
}

body.is-arabic .chapter-cards h2 {
  max-width: 15ch;
  font-size: clamp(1.35rem, 2.55vw, 3rem);
  line-height: 1.14;
}

body.is-arabic .chapter-finale h2 {
  white-space: pre-line;
}

.feature-stage {
  position: absolute;
  right: clamp(22px, 5.8vw, 92px);
  bottom: clamp(88px, 10vh, 132px);
  left: clamp(22px, 5.8vw, 92px);
  z-index: 8;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(10px, 1vw, 14px);
  pointer-events: none;
}

.feature-card {
  position: relative;
  min-height: 150px;
  padding: clamp(14px, 1.15vw, 20px);
  overflow: hidden;
  border: 1px solid rgba(164, 104, 255, 0.24);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(13, 12, 46, 0.58), rgba(36, 3, 116, 0.22)),
    rgba(13, 12, 46, 0.38);
  box-shadow:
    0 18px 44px rgba(104, 17, 222, 0.15),
    0 0 0 1px rgba(214, 183, 255, 0.05) inset,
    0 1px 0 rgba(214, 183, 255, 0.2) inset;
  opacity: 0;
  pointer-events: auto;
  transform: translate3d(0, 34px, 0);
  backdrop-filter: blur(18px) saturate(135%);
  will-change: opacity, transform;
}

.feature-card::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(120deg, rgba(214, 183, 255, 0.13), rgba(214, 183, 255, 0) 42%),
    radial-gradient(circle at 88% 12%, rgba(164, 104, 255, 0.16), rgba(164, 104, 255, 0) 32%);
  pointer-events: none;
}

.feature-card:nth-child(3)::before {
  background:
    linear-gradient(120deg, rgba(85, 192, 217, 0.12), rgba(85, 192, 217, 0) 38%),
    radial-gradient(circle at 88% 12%, rgba(164, 104, 255, 0.2), rgba(164, 104, 255, 0) 32%);
}

.feature-card:nth-child(4)::before {
  background:
    linear-gradient(120deg, rgba(242, 163, 107, 0.1), rgba(242, 163, 107, 0) 36%),
    radial-gradient(circle at 88% 12%, rgba(214, 183, 255, 0.22), rgba(214, 183, 255, 0) 34%);
}

.feature-card-popular {
  grid-column: span 2;
  min-height: 198px;
  padding: clamp(18px, 1.45vw, 24px);
  border-color: rgba(240, 228, 253, 0.48);
  background:
    linear-gradient(135deg, rgba(240, 228, 253, 0.13), rgba(164, 104, 255, 0.16) 44%, rgba(36, 3, 116, 0.42)),
    rgba(13, 12, 46, 0.62);
  box-shadow:
    0 26px 70px rgba(104, 17, 222, 0.28),
    0 0 0 1px rgba(240, 228, 253, 0.1) inset,
    0 1px 0 rgba(240, 228, 253, 0.28) inset;
}

.feature-card-popular::before {
  background:
    linear-gradient(120deg, rgba(240, 228, 253, 0.18), rgba(240, 228, 253, 0) 48%),
    radial-gradient(circle at 88% 14%, rgba(85, 192, 217, 0.22), rgba(85, 192, 217, 0) 36%),
    radial-gradient(circle at 16% 92%, rgba(242, 163, 107, 0.18), rgba(242, 163, 107, 0) 36%);
}

.featured-card-top {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 18px;
}

.feature-card-popular .card-index {
  margin-bottom: 0;
}

.recommended-badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border: 1px solid rgba(240, 228, 253, 0.46);
  border-radius: 999px;
  background: rgba(240, 228, 253, 0.94);
  color: var(--cosmic-navy);
  font-size: 0.66rem;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 10px 26px rgba(104, 17, 222, 0.26);
  white-space: nowrap;
}

.feature-card-popular h3 {
  max-width: 11ch;
  font-size: clamp(1.18rem, 1.38vw, 1.78rem);
  line-height: 1.02;
}

body.is-arabic .feature-card-popular h3 {
  max-width: 14ch;
  line-height: 1.18;
}

.feature-card-popular p {
  max-width: 42ch;
  font-size: clamp(0.75rem, 0.78vw, 0.92rem);
}

body.is-arabic .feature-card-popular p {
  line-height: 1.42;
}

.popular-service-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 0;
  margin: 16px 0 0;
  list-style: none;
}

.popular-service-list li {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 32px;
  padding: 0 10px 0 28px;
  border: 1px solid rgba(214, 183, 255, 0.18);
  border-radius: 999px;
  background: rgba(240, 228, 253, 0.07);
  color: rgba(240, 228, 253, 0.92);
  font-size: 0.72rem;
  font-weight: 850;
  line-height: 1.1;
}

.popular-service-list li::before {
  position: absolute;
  left: 12px;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--radiant-orchid);
  box-shadow: 0 0 14px rgba(164, 104, 255, 0.78);
  content: "";
}

.feature-card-popular .card-action {
  margin-top: 16px;
  border-color: rgba(240, 228, 253, 0.42);
}

.card-index {
  position: relative;
  display: inline-block;
  margin-bottom: 22px;
  color: rgba(214, 183, 255, 0.68);
  font-size: 0.7rem;
  font-weight: 800;
}

.feature-card h3 {
  position: relative;
  margin: 0 0 10px;
  color: var(--ice-violet);
  font-size: clamp(0.92rem, 0.98vw, 1.16rem);
  line-height: 1.12;
}

.feature-card p {
  position: relative;
  max-width: 28ch;
  margin: 0;
  color: rgba(181, 179, 209, 0.86);
  font-size: clamp(0.74rem, 0.72vw, 0.86rem);
  font-weight: 600;
  line-height: 1.45;
}

body.is-arabic .feature-card h3 {
  font-size: clamp(0.84rem, 0.9vw, 1.08rem);
  line-height: 1.24;
}

body.is-arabic .feature-card p {
  font-size: clamp(0.68rem, 0.68vw, 0.8rem);
  line-height: 1.48;
}

.card-action {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  margin-top: 14px;
  border: 1px solid rgba(214, 183, 255, 0.26);
  border-radius: 999px;
  background: rgba(240, 228, 253, 0.92);
  color: var(--cosmic-navy);
  font-size: 0.78rem;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(104, 17, 222, 0.22);
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.card-action:hover,
.card-action:focus-visible {
  background: var(--ice-violet);
  outline: none;
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(164, 104, 255, 0.34);
}

.service-section {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: clamp(112px, 11vw, 178px) clamp(22px, 6.2vw, 110px);
  overflow: hidden;
  isolation: isolate;
  background: var(--void-black);
}

.service-section::before,
.service-section::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
}

.service-section::before {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(1, 0, 16, 0.92), rgba(1, 0, 16, 0.48) 46%, rgba(1, 0, 16, 0.82)),
    var(--service-bg) var(--service-bg-position, center) / cover no-repeat,
    radial-gradient(circle at 50% 55%, rgba(104, 17, 222, 0.55) 0%, rgba(36, 3, 116, 0.35) 34%, var(--cosmic-navy) 70%, var(--void-black) 100%);
  transform: scaleX(var(--service-bg-flip, 1)) scale(1.02);
}

.service-section::after {
  z-index: -1;
  background:
    radial-gradient(circle at 18% 50%, rgba(104, 17, 222, 0.26), rgba(1, 0, 16, 0) 38%),
    linear-gradient(180deg, rgba(1, 0, 16, 0.94), rgba(1, 0, 16, 0.1) 18%, rgba(1, 0, 16, 0.18) 72%, rgba(1, 0, 16, 0.98));
}

.service-website {
  --service-bg: url("assets/section-website-creation.png");
  --service-bg-flip: -1;
  --service-bg-position: left center;
}

.service-agent {
  --service-bg: url("assets/section-ai-agent.png");
  --service-bg-flip: -1;
  --service-bg-position: left center;
}

.service-content {
  width: min(690px, 100%);
  padding: clamp(24px, 3.4vw, 50px);
  border: 1px solid rgba(164, 104, 255, 0.26);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(13, 12, 46, 0.88), rgba(36, 3, 116, 0.34)),
    rgba(13, 12, 46, 0.76);
  box-shadow:
    0 28px 80px rgba(104, 17, 222, 0.22),
    0 0 0 1px rgba(214, 183, 255, 0.04) inset,
    0 1px 0 rgba(214, 183, 255, 0.18) inset;
  backdrop-filter: blur(22px);
}

.service-content h2 {
  max-width: 15ch;
  margin: 0;
  color: var(--ice-violet);
  font-size: clamp(1.9rem, 3.65vw, 4.35rem);
  font-weight: 800;
  line-height: 1.02;
  text-wrap: balance;
  text-shadow:
    0 0 28px rgba(104, 17, 222, 0.34),
    0 2px 24px rgba(1, 0, 16, 0.72);
}

.service-content p:not(.eyebrow) {
  max-width: 58ch;
  margin: 22px 0 0;
  color: rgba(240, 228, 253, 0.76);
  font-size: clamp(0.92rem, 0.95vw, 1.08rem);
  font-weight: 600;
  line-height: 1.55;
}

.service-content ul {
  display: grid;
  gap: 12px;
  max-width: 58ch;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.service-content li {
  position: relative;
  padding-inline-start: 22px;
  color: rgba(181, 179, 209, 0.92);
  font-size: clamp(0.84rem, 0.84vw, 0.96rem);
  font-weight: 700;
  line-height: 1.45;
}

.service-content li::before {
  position: absolute;
  inset-inline-start: 0;
  top: 0.68em;
  width: 7px;
  height: 7px;
  content: "";
  border-radius: 50%;
  background: var(--radiant-orchid);
  box-shadow: 0 0 16px rgba(164, 104, 255, 0.7);
}

.service-action {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 18px;
  margin-top: 30px;
  border: 1px solid rgba(214, 183, 255, 0.28);
  border-radius: 999px;
  background: rgba(240, 228, 253, 0.92);
  color: var(--cosmic-navy);
  font-size: 0.78rem;
  font-weight: 950;
  box-shadow: 0 16px 36px rgba(104, 17, 222, 0.24);
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.service-action:hover,
.service-action:focus-visible {
  background: var(--ice-violet);
  outline: none;
  transform: translateY(-1px);
  box-shadow: 0 20px 46px rgba(164, 104, 255, 0.34);
}

.social-proof-section {
  position: relative;
  padding: clamp(96px, 9vw, 150px) clamp(22px, 6.2vw, 110px);
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 18% 10%, rgba(85, 192, 217, 0.16), rgba(85, 192, 217, 0) 32%),
    radial-gradient(circle at 82% 18%, rgba(242, 163, 107, 0.14), rgba(242, 163, 107, 0) 28%),
    linear-gradient(135deg, rgba(1, 0, 16, 0.98), rgba(13, 12, 46, 0.94) 52%, rgba(1, 0, 16, 0.98));
}

.social-proof-section::before,
.social-proof-section::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
}

.social-proof-section::before {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(214, 183, 255, 0.05) 1px, transparent 1px),
    linear-gradient(180deg, rgba(214, 183, 255, 0.035) 1px, transparent 1px);
  background-size: 74px 74px;
  mask-image: linear-gradient(180deg, transparent, #000 14%, #000 84%, transparent);
}

.social-proof-section::after {
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(1, 0, 16, 0.86), rgba(1, 0, 16, 0.18) 45%, rgba(1, 0, 16, 0.92)),
    linear-gradient(110deg, rgba(104, 17, 222, 0.22), rgba(85, 192, 217, 0.12) 48%, rgba(242, 163, 107, 0.12));
}

.social-proof-shell {
  width: min(1320px, 100%);
  margin: 0 auto;
}

.social-proof-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(280px, 0.72fr);
  gap: clamp(18px, 3vw, 54px);
  align-items: end;
  margin-bottom: clamp(30px, 4.6vw, 64px);
}

.social-proof-heading h2 {
  grid-column: 1;
  max-width: 14ch;
  margin: 0;
  color: var(--ice-violet);
  font-size: clamp(2rem, 4vw, 4.7rem);
  font-weight: 850;
  line-height: 1.1;
  padding-bottom: 0.08em;
  text-wrap: balance;
  text-shadow:
    0 0 34px rgba(104, 17, 222, 0.38),
    0 2px 24px rgba(1, 0, 16, 0.72);
}

body.is-arabic .social-proof-heading h2 {
  max-width: 15ch;
  line-height: 1.2;
}

.social-proof-heading .eyebrow {
  grid-column: 1 / -1;
}

.social-proof-heading p:not(.eyebrow) {
  grid-column: 2;
  align-self: end;
  max-width: 58ch;
  margin: 0;
  color: rgba(240, 228, 253, 0.76);
  font-size: clamp(0.92rem, 0.96vw, 1.08rem);
  font-weight: 650;
  line-height: 1.58;
}

.logo-cloud,
.proof-stats-grid,
.success-number-row,
.testimonial-grid {
  display: grid;
  gap: clamp(12px, 1.35vw, 18px);
}

.logo-cloud {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.logo-cloud span,
.proof-stat-card,
.success-number-row article,
.testimonial-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(164, 104, 255, 0.24);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(13, 12, 46, 0.78), rgba(36, 3, 116, 0.32)),
    rgba(13, 12, 46, 0.58);
  box-shadow:
    0 22px 62px rgba(104, 17, 222, 0.18),
    0 0 0 1px rgba(214, 183, 255, 0.05) inset,
    0 1px 0 rgba(214, 183, 255, 0.16) inset;
  backdrop-filter: blur(22px) saturate(135%);
}

.logo-cloud span::before,
.proof-stat-card::before,
.success-number-row article::before,
.testimonial-card::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(240, 228, 253, 0.1), rgba(240, 228, 253, 0) 48%),
    radial-gradient(circle at 90% 14%, rgba(85, 192, 217, 0.14), rgba(85, 192, 217, 0) 34%);
  content: "";
  pointer-events: none;
}

.logo-cloud span {
  display: grid;
  min-height: 92px;
  place-items: center;
  padding: 18px 10px;
  text-align: center;
}

.logo-cloud strong,
.logo-cloud em {
  position: relative;
  display: block;
}

.logo-cloud strong {
  color: rgba(240, 228, 253, 0.92);
  font-size: clamp(0.94rem, 1vw, 1.18rem);
  font-weight: 950;
  letter-spacing: 0.08em;
}

.logo-cloud em {
  margin-top: 8px;
  color: rgba(181, 179, 209, 0.72);
  font-size: 0.62rem;
  font-style: normal;
  font-weight: 850;
}

.proof-stats-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(18px, 2vw, 26px);
}

.proof-stat-card {
  min-height: 164px;
  padding: clamp(20px, 2vw, 30px);
}

.proof-stat-value,
.proof-stat-card span:not(.proof-stat-value),
.success-number-row strong,
.success-number-row span,
.testimonial-card p,
.testimonial-card strong,
.testimonial-card span {
  position: relative;
  display: block;
}

.proof-stat-value,
.success-number-row strong {
  color: var(--ice-violet);
  font-size: clamp(2rem, 3.2vw, 4.2rem);
  font-weight: 950;
  line-height: 1.28;
  padding-bottom: 0.08em;
}

.proof-stat-card span:not(.proof-stat-value),
.success-number-row span {
  max-width: 24ch;
  margin-top: 18px;
  color: rgba(181, 179, 209, 0.9);
  font-size: clamp(0.78rem, 0.78vw, 0.94rem);
  font-weight: 820;
  line-height: 1.42;
}

.success-number-row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(16px, 1.8vw, 24px);
}

.success-number-row article {
  min-height: 144px;
  padding: clamp(20px, 2vw, 28px);
  border-color: rgba(85, 192, 217, 0.24);
}

.testimonial-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(16px, 1.8vw, 24px);
}

.testimonial-card {
  display: flex;
  min-height: 218px;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(22px, 2vw, 30px);
}

.testimonial-card p {
  margin: 0;
  color: rgba(240, 228, 253, 0.9);
  font-size: clamp(0.88rem, 0.88vw, 1rem);
  font-weight: 720;
  line-height: 1.56;
}

.testimonial-card div {
  position: relative;
  margin-top: 28px;
}

.testimonial-card strong {
  color: var(--ice-violet);
  font-size: 0.9rem;
  font-weight: 900;
}

.testimonial-card span {
  margin-top: 6px;
  color: rgba(181, 179, 209, 0.78);
  font-size: 0.72rem;
  font-weight: 850;
}

.trust-section {
  position: relative;
  min-height: 108svh;
  display: grid;
  align-items: center;
  padding: clamp(100px, 9vw, 150px) clamp(22px, 6.2vw, 110px);
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(135deg, rgba(1, 0, 16, 0.96), rgba(13, 12, 46, 0.92) 48%, rgba(1, 0, 16, 0.98)),
    var(--void-black);
}

.trust-section::before,
.trust-section::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
}

.trust-section::before {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(214, 183, 255, 0.055) 1px, transparent 1px),
    linear-gradient(180deg, rgba(214, 183, 255, 0.04) 1px, transparent 1px);
  background-size: 86px 86px;
  mask-image: linear-gradient(180deg, transparent, #000 16%, #000 78%, transparent);
}

.trust-section::after {
  z-index: -1;
  background:
    linear-gradient(100deg, rgba(85, 192, 217, 0.16), rgba(104, 17, 222, 0.22) 36%, rgba(242, 163, 107, 0.12) 72%, rgba(1, 0, 16, 0)),
    linear-gradient(180deg, rgba(1, 0, 16, 0.88), rgba(1, 0, 16, 0.26) 46%, rgba(1, 0, 16, 0.96));
}

.trust-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.62fr);
  gap: clamp(18px, 2.2vw, 32px);
  width: min(1320px, 100%);
  margin: 0 auto;
}

.trust-copy {
  max-width: 820px;
}

.trust-copy h2 {
  max-width: 15ch;
  margin: 0;
  color: var(--ice-violet);
  font-size: clamp(1.9rem, 3.5vw, 4.2rem);
  font-weight: 800;
  line-height: 0.98;
  text-wrap: balance;
  text-shadow:
    0 0 30px rgba(104, 17, 222, 0.38),
    0 2px 24px rgba(1, 0, 16, 0.72);
}

.trust-copy p:not(.eyebrow) {
  max-width: 64ch;
  margin: 24px 0 0;
  color: rgba(240, 228, 253, 0.76);
  font-size: clamp(0.92rem, 0.98vw, 1.1rem);
  font-weight: 650;
  line-height: 1.56;
}

.trust-rating,
.trust-metrics article,
.trust-notes article {
  border: 1px solid rgba(164, 104, 255, 0.26);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(13, 12, 46, 0.86), rgba(36, 3, 116, 0.34)),
    rgba(13, 12, 46, 0.72);
  box-shadow:
    0 24px 68px rgba(104, 17, 222, 0.2),
    0 1px 0 rgba(214, 183, 255, 0.16) inset;
  backdrop-filter: blur(22px);
}

.trust-rating {
  align-self: start;
  justify-self: end;
  width: min(360px, 100%);
  padding: clamp(22px, 2.5vw, 36px);
}

.rating-score,
.rating-stars {
  display: block;
}

.rating-score {
  color: var(--ice-violet);
  font-size: clamp(2.4rem, 3.8vw, 4.6rem);
  font-weight: 900;
  line-height: 0.9;
}

.rating-stars {
  margin-top: 16px;
  color: var(--warm-amber);
  font-size: clamp(1rem, 1.25vw, 1.45rem);
  text-shadow: 0 0 18px rgba(242, 163, 107, 0.45);
}

.trust-rating p {
  margin: 18px 0 0;
  color: rgba(181, 179, 209, 0.9);
  font-size: clamp(0.84rem, 0.84vw, 0.96rem);
  font-weight: 750;
  line-height: 1.45;
}

.trust-metrics {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.5vw, 22px);
  margin-top: clamp(24px, 3vw, 42px);
}

.trust-metrics article {
  min-height: 160px;
  padding: clamp(22px, 2.2vw, 34px);
}

.trust-metrics strong,
.trust-metrics span {
  display: block;
}

.trust-metrics strong {
  color: var(--ice-violet);
  font-size: clamp(2.4rem, 4vw, 4.8rem);
  font-weight: 900;
  line-height: 0.86;
}

.trust-metrics span {
  max-width: 24ch;
  margin-top: 20px;
  color: rgba(181, 179, 209, 0.92);
  font-size: clamp(0.84rem, 0.88vw, 1rem);
  font-weight: 800;
  line-height: 1.38;
}

.trust-platforms {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}

.trust-platforms span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(214, 183, 255, 0.24);
  border-radius: 999px;
  background: rgba(240, 228, 253, 0.08);
  color: rgba(240, 228, 253, 0.86);
  font-size: clamp(0.72rem, 0.72vw, 0.84rem);
  font-weight: 900;
}

.trust-notes {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.5vw, 22px);
  margin-top: clamp(18px, 2.2vw, 32px);
}

.trust-notes article {
  min-height: 220px;
  padding: clamp(22px, 2.2vw, 34px);
}

.note-index {
  display: inline-block;
  margin-bottom: 34px;
  color: rgba(214, 183, 255, 0.7);
  font-size: 0.68rem;
  font-weight: 900;
}

.trust-notes h3 {
  margin: 0;
  color: var(--ice-violet);
  font-size: clamp(1.08rem, 1.28vw, 1.55rem);
  line-height: 1.12;
}

.trust-notes p {
  margin: 18px 0 0;
  color: rgba(181, 179, 209, 0.9);
  font-size: clamp(0.84rem, 0.86vw, 0.98rem);
  font-weight: 700;
  line-height: 1.5;
}

.site-footer {
  position: relative;
  z-index: 1;
  padding: clamp(56px, 7vw, 96px) clamp(22px, 6.2vw, 110px) clamp(28px, 3vw, 44px);
  background:
    linear-gradient(180deg, rgba(1, 0, 16, 0.96), rgba(5, 10, 32, 0.98)),
    var(--void-black);
  border-top: 1px solid rgba(164, 104, 255, 0.22);
  color: rgba(240, 228, 253, 0.78);
}

.footer-shell {
  display: grid;
  grid-template-columns: minmax(240px, 1.4fr) repeat(3, minmax(140px, 0.8fr));
  gap: clamp(24px, 3vw, 46px);
  width: min(1180px, 100%);
  margin: 0 auto;
}

.footer-logo {
  height: 40px;
  width: auto;
}

.footer-tagline {
  max-width: 38ch;
  margin: 16px 0 20px;
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.6;
  color: rgba(240, 228, 253, 0.72);
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.footer-social a {
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--soft-lavender);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col h3 {
  margin: 0 0 4px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mist-lavender);
}

.footer-col a {
  font-size: 0.98rem;
  font-weight: 600;
  color: rgba(240, 228, 253, 0.82);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-social a:hover,
.footer-social a:focus-visible,
.footer-col a:hover,
.footer-col a:focus-visible {
  color: var(--ice-violet);
}

.footer-cta {
  align-self: flex-start;
  margin-top: 8px;
  padding: 12px 22px;
  border: 1px solid rgba(164, 104, 255, 0.45);
  border-radius: 999px;
  background: linear-gradient(135deg, var(--electric-violet), var(--neon-purple));
  color: var(--ice-violet);
  font-size: 0.92rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.footer-cta:hover,
.footer-cta:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(104, 17, 222, 0.4);
}

.footer-bottom {
  width: min(1180px, 100%);
  margin: clamp(32px, 4vw, 52px) auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(214, 183, 255, 0.12);
  text-align: center;
}

.footer-copy {
  font-size: 0.84rem;
  font-weight: 600;
  color: rgba(181, 179, 209, 0.78);
}

@media (max-width: 720px) {
  .footer-shell {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (min-width: 721px) and (max-width: 1040px) {
  .footer-shell {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.final-cta-section {
  position: relative;
  display: grid;
  min-height: 82svh;
  place-items: center;
  padding: clamp(112px, 10vw, 176px) clamp(22px, 6.2vw, 110px) clamp(128px, 11vw, 190px);
  overflow: hidden;
  isolation: isolate;
  contain: paint;
  background:
    linear-gradient(145deg, rgba(1, 0, 16, 0.98), rgba(13, 12, 46, 0.96) 48%, rgba(1, 0, 16, 0.98)),
    var(--void-black);
}

.final-cta-section::before,
.final-cta-section::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
}

.final-cta-section::before {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(214, 183, 255, 0.07) 1px, transparent 1px),
    linear-gradient(180deg, rgba(214, 183, 255, 0.045) 1px, transparent 1px),
    linear-gradient(120deg, rgba(85, 192, 217, 0.13), rgba(104, 17, 222, 0.18) 42%, rgba(242, 163, 107, 0.1) 78%, rgba(1, 0, 16, 0));
  background-position: 0 0, 0 0, 0 0;
  background-size: 112px 112px, 112px 112px, 100% 100%;
  mask-image: linear-gradient(180deg, transparent, #000 15%, #000 88%, transparent);
  opacity: 0.82;
}

.final-cta-section::after {
  z-index: -1;
  background:
    linear-gradient(105deg, transparent 0%, rgba(240, 228, 253, 0.08) 42%, rgba(85, 192, 217, 0.12) 50%, rgba(240, 228, 253, 0.06) 58%, transparent 74%),
    linear-gradient(180deg, rgba(1, 0, 16, 0.8), rgba(1, 0, 16, 0.18) 52%, rgba(1, 0, 16, 0.86));
  background-position: 18% 0, 0 0;
  background-size: 130% 100%, 100% 100%;
  opacity: 0.7;
}

.final-cta-shell {
  position: relative;
  width: min(980px, 100%);
  padding: clamp(34px, 5vw, 74px);
  border: 1px solid rgba(164, 104, 255, 0.28);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(13, 12, 46, 0.82), rgba(36, 3, 116, 0.36)),
    rgba(13, 12, 46, 0.62);
  box-shadow:
    0 24px 64px rgba(104, 17, 222, 0.2),
    0 1px 0 rgba(240, 228, 253, 0.18) inset,
    0 0 0 1px rgba(214, 183, 255, 0.06) inset;
  text-align: center;
}

.final-cta-shell::before {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(120deg, rgba(240, 228, 253, 0.14), rgba(240, 228, 253, 0) 44%),
    repeating-linear-gradient(135deg, rgba(214, 183, 255, 0.045) 0 1px, transparent 1px 18px);
  content: "";
  pointer-events: none;
}

.final-cta-shell > * {
  position: relative;
}

.final-cta-shell h2 {
  max-width: 12ch;
  margin: 0 auto;
  color: var(--ice-violet);
  font-size: clamp(2.35rem, 5.5vw, 6.25rem);
  font-weight: 900;
  line-height: 1.08;
  padding-bottom: 0.08em;
  text-wrap: balance;
  text-shadow:
    0 0 38px rgba(104, 17, 222, 0.42),
    0 2px 28px rgba(1, 0, 16, 0.76);
}

body.is-arabic .final-cta-shell h2 {
  max-width: 13ch;
  line-height: 1.18;
  padding-bottom: 0.16em;
}

.final-cta-shell p:not(.eyebrow) {
  max-width: 62ch;
  margin: clamp(18px, 2.2vw, 28px) auto 0;
  color: rgba(240, 228, 253, 0.78);
  font-size: clamp(0.94rem, 1vw, 1.16rem);
  font-weight: 700;
  line-height: 1.56;
}

.final-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: clamp(28px, 3.8vw, 46px);
}

.final-cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  appearance: none;
  cursor: pointer;
  min-height: 56px;
  min-width: 164px;
  padding: 0 26px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 950;
  line-height: 1;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.final-cta-button:hover,
.final-cta-button:focus-visible {
  outline: none;
  transform: translateY(-2px);
}

.final-cta-primary {
  border: 1px solid rgba(240, 228, 253, 0.66);
  background: rgba(240, 228, 253, 0.96);
  color: var(--cosmic-navy);
  box-shadow:
    0 20px 52px rgba(104, 17, 222, 0.36),
    0 1px 0 rgba(255, 255, 255, 0.28) inset;
}

.final-cta-primary:hover,
.final-cta-primary:focus-visible {
  background: var(--ice-violet);
  box-shadow:
    0 26px 66px rgba(164, 104, 255, 0.44),
    0 1px 0 rgba(255, 255, 255, 0.34) inset;
}

.final-cta-secondary {
  border: 1px solid rgba(214, 183, 255, 0.34);
  background:
    linear-gradient(135deg, rgba(13, 12, 46, 0.74), rgba(36, 3, 116, 0.38)),
    rgba(1, 0, 16, 0.34);
  color: rgba(240, 228, 253, 0.9);
  box-shadow:
    0 16px 42px rgba(1, 0, 16, 0.34),
    0 1px 0 rgba(214, 183, 255, 0.14) inset;
}

.final-cta-secondary:hover,
.final-cta-secondary:focus-visible {
  border-color: rgba(214, 183, 255, 0.62);
  background: rgba(240, 228, 253, 0.1);
}

body.modal-open {
  overflow: hidden;
}

.consultation-modal[hidden] {
  display: none;
}

.consultation-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: clamp(18px, 3vw, 42px);
}

.consultation-backdrop {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(1, 0, 16, 0.88), rgba(13, 12, 46, 0.76)),
    rgba(1, 0, 16, 0.72);
  backdrop-filter: blur(18px);
}

.consultation-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1fr);
  gap: clamp(22px, 3vw, 44px);
  width: min(1120px, 100%);
  max-height: min(820px, calc(100svh - 36px));
  padding: clamp(20px, 2.4vw, 30px);
  overflow: auto;
  border: 1px solid rgba(164, 104, 255, 0.34);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(13, 12, 46, 0.92), rgba(36, 3, 116, 0.48)),
    rgba(13, 12, 46, 0.86);
  box-shadow:
    0 34px 110px rgba(1, 0, 16, 0.72),
    0 28px 88px rgba(104, 17, 222, 0.28),
    0 1px 0 rgba(240, 228, 253, 0.18) inset;
  backdrop-filter: blur(26px) saturate(140%);
}

.consultation-panel::before {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(120deg, rgba(240, 228, 253, 0.14), rgba(240, 228, 253, 0) 42%),
    repeating-linear-gradient(135deg, rgba(214, 183, 255, 0.045) 0 1px, transparent 1px 20px);
  content: "";
  pointer-events: none;
}

.consultation-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  display: grid;
  width: 40px;
  height: 40px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(214, 183, 255, 0.24);
  border-radius: 999px;
  background: rgba(240, 228, 253, 0.08);
  color: rgba(240, 228, 253, 0.9);
  cursor: pointer;
  font-size: 0.86rem;
  font-weight: 950;
}

.consultation-close:hover,
.consultation-close:focus-visible {
  border-color: rgba(240, 228, 253, 0.58);
  outline: none;
  background: rgba(240, 228, 253, 0.14);
}

.consultation-intro,
.consultation-form,
.solution-wizard {
  position: relative;
}

.consultation-intro {
  align-self: center;
  padding: clamp(8px, 1vw, 12px);
}

.consultation-intro h2 {
  max-width: 10ch;
  margin: 0;
  color: var(--ice-violet);
  font-size: clamp(2rem, 3.6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.02;
  padding-bottom: 0.08em;
  text-wrap: balance;
  text-shadow:
    0 0 34px rgba(104, 17, 222, 0.42),
    0 2px 26px rgba(1, 0, 16, 0.78);
}

body.is-arabic .consultation-intro h2 {
  max-width: 12ch;
  line-height: 1.16;
  padding-bottom: 0.16em;
}

.consultation-intro p:not(.eyebrow) {
  max-width: 42ch;
  margin: 20px 0 0;
  color: rgba(240, 228, 253, 0.76);
  font-size: clamp(0.9rem, 0.92vw, 1.04rem);
  font-weight: 700;
  line-height: 1.56;
}

.consultation-signals {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.consultation-signals span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(214, 183, 255, 0.22);
  border-radius: 999px;
  background: rgba(240, 228, 253, 0.07);
  color: rgba(240, 228, 253, 0.86);
  font-size: 0.72rem;
  font-weight: 900;
}

.consultation-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: clamp(18px, 2vw, 26px);
  border: 1px solid rgba(214, 183, 255, 0.2);
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(1, 0, 16, 0.38), rgba(13, 12, 46, 0.54)),
    rgba(1, 0, 16, 0.28);
}

.consultation-form label,
.form-wide,
.consultation-submit,
.form-note {
  position: relative;
}

.consultation-form label {
  display: grid;
  gap: 8px;
}

.consultation-form label span {
  color: rgba(240, 228, 253, 0.78);
  font-size: 0.72rem;
  font-weight: 900;
}

.consultation-form input,
.consultation-form select,
.consultation-form textarea {
  width: 100%;
  border: 1px solid rgba(214, 183, 255, 0.22);
  border-radius: 12px;
  background: rgba(1, 0, 16, 0.34);
  color: var(--ice-violet);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  outline: none;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

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

.consultation-form textarea {
  min-height: 132px;
  padding: 13px;
  resize: vertical;
}

.consultation-form input:focus,
.consultation-form select:focus,
.consultation-form textarea:focus {
  border-color: rgba(240, 228, 253, 0.58);
  background: rgba(1, 0, 16, 0.48);
  box-shadow: 0 0 0 3px rgba(164, 104, 255, 0.16);
}

.consultation-form select option {
  background: var(--cosmic-navy);
  color: var(--ice-violet);
}

.form-wide,
.consultation-submit,
.form-note {
  grid-column: 1 / -1;
}

.consultation-submit {
  min-height: 52px;
  border: 1px solid rgba(240, 228, 253, 0.66);
  border-radius: 999px;
  background: rgba(240, 228, 253, 0.96);
  color: var(--cosmic-navy);
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 950;
  box-shadow:
    0 20px 52px rgba(104, 17, 222, 0.32),
    0 1px 0 rgba(255, 255, 255, 0.28) inset;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.consultation-submit:hover,
.consultation-submit:focus-visible {
  outline: none;
  transform: translateY(-2px);
  background: var(--ice-violet);
  box-shadow:
    0 26px 64px rgba(164, 104, 255, 0.4),
    0 1px 0 rgba(255, 255, 255, 0.34) inset;
}

.service-request-panel {
  width: min(980px, 100%);
}

.service-request-success {
  padding: 13px 15px;
  border: 1px solid rgba(214, 183, 255, 0.26);
  border-radius: 14px;
  background: rgba(104, 17, 222, 0.18);
  color: var(--ice-violet);
  font-size: 0.86rem;
  font-weight: 900;
  line-height: 1.5;
  text-align: center;
}

.service-request-success[hidden] {
  display: none;
}

.service-request-error,
.auth-status {
  padding: 12px 14px;
  border: 1px solid rgba(164, 104, 255, 0.32);
  border-radius: 12px;
  background: rgba(36, 3, 116, 0.3);
  color: var(--soft-lavender);
  font-size: 0.82rem;
  font-weight: 850;
  line-height: 1.5;
  text-align: center;
}

.service-request-error[hidden],
.auth-status[hidden] {
  display: none;
}

.auth-status[data-state="success"] {
  border-color: rgba(85, 192, 217, 0.32);
  color: var(--ice-violet);
}

.form-honeypot {
  position: absolute !important;
  inset: 0 auto auto 0 !important;
  width: 1px !important;
  height: 1px !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

button:disabled {
  cursor: wait;
  opacity: 0.58;
}

.contact-phone-link {
  display: inline-block;
  direction: ltr;
  unicode-bidi: isolate;
  color: var(--mist-lavender);
  text-decoration: none;
}

a[href="https://wa.me/966565188394"]:not(.whatsapp-float) {
  direction: ltr;
  unicode-bidi: isolate;
}

.contact-phone-link:hover,
.contact-phone-link:focus-visible {
  color: var(--ice-violet);
  outline: none;
}

.whatsapp-float {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 65;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 1px solid rgba(214, 183, 255, 0.44);
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(36, 3, 116, 0.94), rgba(104, 17, 222, 0.88));
  color: var(--ice-violet);
  box-shadow: 0 16px 42px rgba(104, 17, 222, 0.38), inset 0 1px 0 rgba(214, 183, 255, 0.24);
  backdrop-filter: blur(16px);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.whatsapp-float svg {
  width: 27px;
  height: 27px;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  border-color: rgba(240, 228, 253, 0.74);
  outline: none;
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 22px 54px rgba(123, 43, 226, 0.5), inset 0 1px 0 rgba(214, 183, 255, 0.32);
}

@media (max-width: 520px) {
  .whatsapp-float {
    right: max(14px, env(safe-area-inset-right));
    bottom: max(14px, env(safe-area-inset-bottom));
    width: 52px;
    height: 52px;
  }
}

.form-note {
  margin: -2px 0 0;
  color: rgba(181, 179, 209, 0.74);
  font-size: 0.72rem;
  font-weight: 750;
  line-height: 1.4;
  text-align: center;
}

.solution-wizard {
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  gap: 14px;
  min-height: 586px;
  padding: clamp(18px, 2vw, 26px);
  overflow: hidden;
  border: 1px solid rgba(214, 183, 255, 0.22);
  border-radius: 22px;
  background:
    radial-gradient(circle at 18% 0%, rgba(85, 192, 217, 0.18), transparent 34%),
    linear-gradient(135deg, rgba(1, 0, 16, 0.42), rgba(13, 12, 46, 0.6)),
    rgba(1, 0, 16, 0.3);
  box-shadow:
    0 1px 0 rgba(240, 228, 253, 0.14) inset,
    0 22px 70px rgba(1, 0, 16, 0.28);
}

.wizard-progress {
  display: grid;
  gap: 10px;
}

.wizard-progress span {
  color: rgba(240, 228, 253, 0.78);
  font-size: 0.72rem;
  font-weight: 900;
}

.wizard-progress strong {
  color: var(--ice-violet);
}

.wizard-progress-track {
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(240, 228, 253, 0.1);
}

.wizard-progress-track span {
  display: block;
  width: 20%;
  height: 100%;
  border-radius: inherit;
  background:
    linear-gradient(90deg, rgba(85, 192, 217, 0.95), rgba(214, 183, 255, 0.95), rgba(242, 163, 107, 0.88));
  box-shadow: 0 0 24px rgba(164, 104, 255, 0.46);
  transition: width 360ms ease;
}

.wizard-stage {
  position: relative;
  min-height: 398px;
}

.wizard-step {
  display: none;
  height: 100%;
}

.wizard-step.is-active {
  display: block;
  animation: wizardStepIn 360ms ease both;
}

.wizard-kicker {
  margin: 0 0 8px;
  color: rgba(85, 192, 217, 0.92);
  font-size: 0.68rem;
  font-weight: 950;
  text-transform: uppercase;
}

.wizard-step h3 {
  max-width: 17ch;
  margin: 0;
  color: var(--ice-violet);
  font-size: clamp(1.42rem, 2.1vw, 2.45rem);
  font-weight: 950;
  line-height: 1.08;
  text-wrap: balance;
}

.wizard-step > p:not(.wizard-kicker) {
  max-width: 48ch;
  margin: 12px 0 0;
  color: rgba(240, 228, 253, 0.7);
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.52;
}

.wizard-option-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.wizard-service-grid {
  gap: 12px;
}

.wizard-option {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 7px 10px;
  min-height: 112px;
  padding: 15px;
  overflow: hidden;
  border: 1px solid rgba(214, 183, 255, 0.18);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(240, 228, 253, 0.08), rgba(85, 192, 217, 0.04)),
    rgba(240, 228, 253, 0.045);
  cursor: pointer;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.wizard-option::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(240, 228, 253, 0.18), transparent 42%);
  content: "";
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.wizard-option:hover,
.wizard-option:focus-within {
  transform: translateY(-2px);
  border-color: rgba(240, 228, 253, 0.44);
  background: rgba(240, 228, 253, 0.08);
  box-shadow: 0 18px 42px rgba(1, 0, 16, 0.26);
}

.wizard-option:has(input:checked) {
  border-color: rgba(85, 192, 217, 0.64);
  background:
    linear-gradient(135deg, rgba(85, 192, 217, 0.16), rgba(164, 104, 255, 0.13)),
    rgba(240, 228, 253, 0.08);
  box-shadow:
    0 20px 50px rgba(85, 192, 217, 0.14),
    0 0 0 1px rgba(240, 228, 253, 0.08) inset;
}

.wizard-option:has(input:checked)::before {
  opacity: 1;
}

.wizard-option input {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0;
  cursor: pointer;
}

.wizard-option-mark {
  position: relative;
  z-index: 1;
  grid-row: 1 / span 2;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  border: 1px solid rgba(240, 228, 253, 0.42);
  border-radius: 999px;
  background: rgba(1, 0, 16, 0.28);
  box-shadow: 0 0 0 3px rgba(240, 228, 253, 0.04);
}

.wizard-option input:checked ~ .wizard-option-mark {
  border-color: rgba(240, 228, 253, 0.95);
  background:
    radial-gradient(circle at 50% 50%, var(--ice-violet) 0 35%, transparent 38%),
    linear-gradient(135deg, rgba(85, 192, 217, 0.95), rgba(164, 104, 255, 0.9));
  box-shadow:
    0 0 0 4px rgba(85, 192, 217, 0.14),
    0 0 22px rgba(85, 192, 217, 0.38);
}

.wizard-option-title,
.wizard-option-text {
  position: relative;
  z-index: 1;
}

.wizard-option-title {
  color: rgba(240, 228, 253, 0.92);
  font-size: 0.9rem;
  font-weight: 950;
  line-height: 1.25;
}

.wizard-option-text {
  grid-column: 2;
  color: rgba(181, 179, 209, 0.78);
  font-size: 0.74rem;
  font-weight: 750;
  line-height: 1.42;
}

.wizard-option-compact {
  min-height: 72px;
  align-items: center;
}

.wizard-option-compact .wizard-option-mark {
  grid-row: 1;
}

.wizard-message {
  min-height: 16px;
  margin: 0;
  color: rgba(242, 163, 107, 0.95);
  font-size: 0.74rem;
  font-weight: 850;
  line-height: 1.35;
  opacity: 0;
  transition: opacity 160ms ease;
}

.wizard-message.is-visible {
  opacity: 1;
}

.wizard-actions {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.wizard-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  min-width: 132px;
  padding: 0 20px;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 950;
  line-height: 1;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.wizard-button[hidden] {
  display: none;
}

.wizard-button:hover,
.wizard-button:focus-visible {
  outline: none;
  transform: translateY(-2px);
}

.wizard-button-ghost {
  border: 1px solid rgba(214, 183, 255, 0.26);
  background: rgba(240, 228, 253, 0.07);
  color: rgba(240, 228, 253, 0.86);
}

.wizard-button-ghost:hover,
.wizard-button-ghost:focus-visible {
  border-color: rgba(240, 228, 253, 0.5);
  background: rgba(240, 228, 253, 0.12);
}

.wizard-button-primary {
  margin-left: auto;
  border: 1px solid rgba(240, 228, 253, 0.68);
  background: rgba(240, 228, 253, 0.96);
  color: var(--cosmic-navy);
  box-shadow:
    0 20px 52px rgba(104, 17, 222, 0.32),
    0 1px 0 rgba(255, 255, 255, 0.28) inset;
}

.wizard-button-primary:hover,
.wizard-button-primary:focus-visible {
  background: var(--ice-violet);
  box-shadow:
    0 26px 64px rgba(164, 104, 255, 0.4),
    0 1px 0 rgba(255, 255, 255, 0.34) inset;
}

.proposal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.proposal-card {
  display: grid;
  gap: 10px;
  min-height: 118px;
  padding: 16px;
  border: 1px solid rgba(214, 183, 255, 0.18);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(240, 228, 253, 0.1), rgba(85, 192, 217, 0.05)),
    rgba(240, 228, 253, 0.055);
  box-shadow: 0 16px 44px rgba(1, 0, 16, 0.24);
}

.proposal-card-wide {
  grid-column: auto;
}

.proposal-card span {
  color: rgba(181, 179, 209, 0.82);
  font-size: 0.68rem;
  font-weight: 950;
  text-transform: uppercase;
}

.proposal-card strong {
  align-self: end;
  color: var(--ice-violet);
  font-size: clamp(1.05rem, 1.45vw, 1.38rem);
  font-weight: 950;
  line-height: 1.2;
}

.proposal-card ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.proposal-card li {
  position: relative;
  padding-left: 16px;
  color: rgba(240, 228, 253, 0.86);
  font-size: 0.78rem;
  font-weight: 780;
  line-height: 1.42;
}

.proposal-card li::before {
  position: absolute;
  top: 0.64em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(85, 192, 217, 0.94);
  content: "";
  box-shadow: 0 0 14px rgba(85, 192, 217, 0.52);
}

html[dir="rtl"] .wizard-button-primary {
  margin-right: auto;
  margin-left: 0;
}

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

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

.solution-wizard.is-invalid .wizard-step.is-active {
  animation: wizardNudge 260ms ease both;
}

.service-page-body {
  min-height: 100%;
  background:
    radial-gradient(circle at 50% 55%, rgba(104, 17, 222, 0.34) 0%, rgba(36, 3, 116, 0.24) 34%, var(--cosmic-navy) 70%, var(--void-black) 100%),
    var(--void-black);
}

.service-page-body::before {
  position: fixed;
  inset: 0;
  z-index: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(1, 0, 16, 0.9), rgba(1, 0, 16, 0.3) 52%, rgba(1, 0, 16, 0.72)),
    var(--page-bg) center / cover no-repeat;
}

.service-page-body::after {
  position: fixed;
  inset: 0;
  z-index: 1;
  content: "";
  background:
    radial-gradient(circle at 18% 42%, rgba(104, 17, 222, 0.26), rgba(1, 0, 16, 0) 36%),
    linear-gradient(180deg, rgba(1, 0, 16, 0.86), rgba(1, 0, 16, 0.12) 34%, rgba(1, 0, 16, 0.9));
  pointer-events: none;
}

.service-page-body .detail-page,
.service-page-body .bottom-cta {
  position: relative;
  z-index: 2;
}

.page-website {
  --page-bg: url("assets/page-website-creation.png");
}

.page-mobile-app {
  --page-bg: url("assets/page-mobile-app.png");
}

.page-agent {
  --page-bg: url("assets/page-ai-agent.png");
}

.page-skyscraper {
  --page-bg: url("assets/page-skyscraper-package.png");
}

.page-about {
  --page-bg: url("assets/page-about-generated.png");
}

.page-privacy {
  --page-bg: url("assets/page-privacy-generated.png");
}

.page-contact {
  --page-bg: url("assets/page-contact-generated.png");
}

.page-login,
.page-register {
  --page-bg: url("assets/page-login-generated.png");
}

.page-terms {
  --page-bg: url("assets/page-terms-generated.png");
}

.page-refund {
  --page-bg: url("assets/page-refund-generated.png");
}

.detail-page {
  min-height: 100svh;
  padding: clamp(130px, 14vw, 210px) clamp(20px, 6.2vw, 104px) 140px;
}

.detail-hero {
  width: min(860px, 100%);
  margin-bottom: clamp(48px, 6vw, 84px);
}

.back-link {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  margin-bottom: 22px;
  border: 1px solid rgba(214, 183, 255, 0.22);
  border-radius: 999px;
  background: rgba(13, 12, 46, 0.58);
  color: rgba(240, 228, 253, 0.8);
  font-size: 0.78rem;
  font-weight: 900;
  backdrop-filter: blur(16px);
  transition: border-color 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.back-link:hover,
.back-link:focus-visible {
  border-color: rgba(214, 183, 255, 0.46);
  color: var(--ice-violet);
  outline: none;
  transform: translateY(-1px);
  box-shadow: 0 0 24px rgba(104, 17, 222, 0.2);
}

.detail-hero h1,
.plans-heading h2 {
  max-width: 14ch;
  margin: 0;
  color: var(--ice-violet);
  font-size: clamp(2.1rem, 4.2vw, 4.8rem);
  font-weight: 800;
  line-height: 0.96;
  text-wrap: balance;
  text-shadow:
    0 0 30px rgba(104, 17, 222, 0.38),
    0 2px 24px rgba(1, 0, 16, 0.72);
}

.detail-lede {
  max-width: 700px;
  margin: 26px 0 0;
  color: rgba(240, 228, 253, 0.78);
  font-size: clamp(0.95rem, 1.02vw, 1.16rem);
  font-weight: 700;
  line-height: 1.52;
}

.page-action-row,
.policy-toolbar,
.policy-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.page-action-row {
  margin-top: 24px;
}

.page-action,
.policy-chip,
.billing-toggle button,
.auth-option,
.policy-index a {
  min-height: 42px;
  border: 1px solid rgba(214, 183, 255, 0.22);
  border-radius: 999px;
  background: rgba(13, 12, 46, 0.56);
  color: rgba(240, 228, 253, 0.84);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 900;
  cursor: pointer;
  backdrop-filter: blur(16px);
  transition: border-color 180ms ease, color 180ms ease, background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.page-action,
.policy-chip,
.billing-toggle button,
.auth-option {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
}

.page-action.is-primary,
.billing-toggle button.is-active,
.policy-chip.is-active {
  border-color: rgba(214, 183, 255, 0.42);
  background: linear-gradient(135deg, rgba(104, 17, 222, 0.88), rgba(123, 43, 226, 0.72));
  color: var(--ice-violet);
  box-shadow: 0 16px 42px rgba(104, 17, 222, 0.28);
}

.page-action:hover,
.page-action:focus-visible,
.policy-chip:hover,
.policy-chip:focus-visible,
.billing-toggle button:hover,
.billing-toggle button:focus-visible,
.auth-option:hover,
.auth-option:focus-visible,
.policy-index a:hover,
.policy-index a:focus-visible {
  border-color: rgba(214, 183, 255, 0.5);
  color: var(--ice-violet);
  outline: none;
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(104, 17, 222, 0.2);
}

.plans-section {
  display: grid;
  gap: 28px;
}

.plans-heading h2 {
  max-width: 16ch;
  font-size: clamp(1.8rem, 2.8vw, 3.4rem);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.5vw, 22px);
}

.pricing-card,
.addon-panel,
.use-case-strip article {
  border: 1px solid rgba(164, 104, 255, 0.25);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(13, 12, 46, 0.88), rgba(36, 3, 116, 0.34)),
    rgba(13, 12, 46, 0.74);
  box-shadow:
    0 22px 58px rgba(104, 17, 222, 0.2),
    0 1px 0 rgba(214, 183, 255, 0.16) inset;
  backdrop-filter: blur(22px);
}

.pricing-card {
  display: grid;
  align-content: start;
  min-height: 420px;
  padding: clamp(22px, 2.1vw, 34px);
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.pricing-card:hover,
.pricing-card:focus-within {
  border-color: rgba(214, 183, 255, 0.46);
  transform: translateY(-4px);
  box-shadow:
    0 30px 78px rgba(104, 17, 222, 0.28),
    0 1px 0 rgba(214, 183, 255, 0.18) inset;
}

.pricing-card.is-featured {
  border-color: rgba(214, 183, 255, 0.44);
  box-shadow:
    0 26px 74px rgba(104, 17, 222, 0.3),
    0 0 0 1px rgba(214, 183, 255, 0.08) inset,
    0 1px 0 rgba(214, 183, 255, 0.2) inset;
}

.plan-type {
  margin: 0 0 16px;
  color: rgba(214, 183, 255, 0.78);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.pricing-card h3 {
  margin: 0;
  color: var(--ice-violet);
  font-size: clamp(1.25rem, 1.65vw, 1.9rem);
  line-height: 1.08;
}

.price {
  margin: 20px 0;
  color: var(--soft-lavender);
  font-size: clamp(1.45rem, 2vw, 2.35rem);
  font-weight: 900;
}

.pricing-card ul {
  display: grid;
  gap: 13px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.pricing-card li {
  color: rgba(181, 179, 209, 0.92);
  font-size: clamp(0.84rem, 0.86vw, 0.96rem);
  font-weight: 700;
  line-height: 1.45;
}

.pricing-card li::before {
  content: "+ ";
  color: var(--radiant-orchid);
}

.pricing-card li strong {
  color: var(--ice-violet);
}

.pricing-card .service-request-button {
  justify-self: start;
  margin-top: 22px;
  cursor: pointer;
}

.package-single-grid {
  grid-template-columns: minmax(0, 760px);
}

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

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

.package-summary {
  margin: 18px 0 22px;
  color: rgba(240, 228, 253, 0.78);
  font-size: clamp(0.95rem, 1vw, 1.12rem);
  font-weight: 750;
  line-height: 1.6;
}

.addon-panel {
  display: flex;
  gap: 14px;
  align-items: center;
  width: min(920px, 100%);
  padding: 18px 22px;
  color: rgba(181, 179, 209, 0.9);
  font-weight: 750;
}

.addon-panel strong {
  color: var(--ice-violet);
}

.use-case-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.5vw, 22px);
  margin: 0 0 clamp(48px, 6vw, 84px);
}

.use-case-strip article {
  padding: 22px;
}

.use-case-strip strong,
.use-case-strip span {
  display: block;
}

.use-case-strip strong {
  color: var(--ice-violet);
  font-size: 1rem;
  margin-bottom: 8px;
}

.use-case-strip span {
  color: rgba(181, 179, 209, 0.88);
  font-weight: 700;
  line-height: 1.45;
}

.static-page-body .site-nav {
  --nav-shade-opacity: 1;
}

.static-section {
  display: grid;
  gap: clamp(18px, 2.4vw, 30px);
  width: min(1120px, 100%);
}

.static-section + .static-section {
  margin-top: clamp(42px, 6vw, 82px);
}

.page-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.5vw, 22px);
}

.page-card,
.policy-panel,
.form-panel,
.auth-panel {
  border: 1px solid rgba(164, 104, 255, 0.25);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(13, 12, 46, 0.9), rgba(36, 3, 116, 0.34)),
    rgba(13, 12, 46, 0.76);
  box-shadow:
    0 22px 58px rgba(104, 17, 222, 0.2),
    0 1px 0 rgba(214, 183, 255, 0.16) inset;
  backdrop-filter: blur(18px);
}

.page-card {
  display: grid;
  gap: 12px;
  padding: clamp(20px, 2.2vw, 30px);
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.page-card:hover,
.page-card:focus-within {
  border-color: rgba(214, 183, 255, 0.48);
  transform: translateY(-3px);
  box-shadow:
    0 28px 70px rgba(104, 17, 222, 0.26),
    0 1px 0 rgba(214, 183, 255, 0.2) inset;
}

.page-card strong,
.policy-panel h2,
.form-panel h2,
.auth-panel h1 {
  color: var(--ice-violet);
}

.page-card span,
.policy-panel p,
.policy-panel li,
.form-panel p,
.auth-panel p {
  color: rgba(181, 179, 209, 0.9);
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.65;
}

.mini-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 1.4vw, 18px);
}

.mini-stat {
  padding: 20px;
  border: 1px solid rgba(214, 183, 255, 0.2);
  border-radius: 16px;
  background: rgba(1, 0, 16, 0.34);
}

.mini-stat strong {
  display: block;
  color: var(--soft-lavender);
  font-size: clamp(1.55rem, 2.4vw, 2.6rem);
  font-weight: 950;
}

.mini-stat span {
  color: rgba(181, 179, 209, 0.86);
  font-size: 0.82rem;
  font-weight: 850;
}

.policy-panel {
  display: grid;
  gap: 20px;
  max-width: 920px;
  padding: clamp(24px, 3vw, 42px);
}

.policy-layout {
  display: grid;
  grid-template-columns: minmax(180px, 240px) minmax(0, 920px);
  gap: clamp(18px, 2.6vw, 32px);
  align-items: start;
}

.policy-index {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 1px solid rgba(164, 104, 255, 0.2);
  border-radius: 18px;
  background: rgba(13, 12, 46, 0.58);
  backdrop-filter: blur(18px);
}

.policy-index a {
  display: flex;
  align-items: center;
  padding: 0 14px;
  text-decoration: none;
}

.policy-toolbar {
  justify-content: space-between;
  padding-bottom: 6px;
}

.policy-search {
  flex: 1 1 260px;
  min-height: 46px;
  border: 1px solid rgba(214, 183, 255, 0.22);
  border-radius: 999px;
  padding: 0 16px;
  background: rgba(1, 0, 16, 0.44);
  color: var(--ice-violet);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 800;
  outline: none;
}

.policy-search:focus {
  border-color: rgba(214, 183, 255, 0.58);
  box-shadow: 0 0 0 3px rgba(164, 104, 255, 0.16);
}

.policy-panel details {
  border: 1px solid rgba(214, 183, 255, 0.18);
  border-radius: 16px;
  background: rgba(1, 0, 16, 0.22);
  overflow: hidden;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.policy-panel details[open] {
  border-color: rgba(214, 183, 255, 0.38);
  background: rgba(36, 3, 116, 0.24);
  box-shadow: 0 20px 48px rgba(104, 17, 222, 0.18);
}

.policy-panel summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 20px;
  color: var(--ice-violet);
  font-size: clamp(1rem, 1.15vw, 1.24rem);
  font-weight: 950;
  cursor: pointer;
  list-style: none;
}

.policy-panel summary::-webkit-details-marker {
  display: none;
}

.policy-panel summary::after {
  content: "+";
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(164, 104, 255, 0.16);
  color: var(--soft-lavender);
  font-family: Inter, sans-serif;
}

.policy-panel details[open] summary::after {
  content: "−";
}

.policy-panel details p,
.policy-panel details ul {
  padding: 0 20px 20px;
}

.policy-stepper {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 4px;
}

.timeline-step {
  min-height: 86px;
  padding: 16px;
  border: 1px solid rgba(214, 183, 255, 0.18);
  border-radius: 16px;
  background: rgba(1, 0, 16, 0.24);
  transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
}

.timeline-step:hover,
.timeline-step:focus-within {
  border-color: rgba(214, 183, 255, 0.45);
  background: rgba(36, 3, 116, 0.28);
  transform: translateY(-2px);
}

.timeline-step strong,
.timeline-step span {
  display: block;
}

.timeline-step strong {
  color: var(--ice-violet);
  font-size: 0.98rem;
}

.timeline-step span {
  margin-top: 6px;
  color: rgba(181, 179, 209, 0.86);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.45;
}

.policy-panel h2 {
  margin: 0;
  font-size: clamp(1.3rem, 1.8vw, 2rem);
}

.policy-panel ul {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.policy-panel li::before {
  content: "+ ";
  color: var(--radiant-orchid);
}

.contact-layout,
.auth-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
  gap: clamp(18px, 2.6vw, 34px);
  align-items: start;
}

.form-panel,
.auth-panel {
  padding: clamp(22px, 3vw, 38px);
}

.form-stack {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.form-stack label {
  display: grid;
  gap: 8px;
  color: rgba(240, 228, 253, 0.82);
  font-size: 0.82rem;
  font-weight: 900;
}

.form-stack input,
.form-stack textarea,
.form-stack select {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(214, 183, 255, 0.24);
  border-radius: 14px;
  padding: 12px 14px;
  background: rgba(1, 0, 16, 0.46);
  color: var(--ice-violet);
  font: inherit;
  font-size: 0.94rem;
  font-weight: 750;
  outline: none;
}

.phone-field {
  display: grid;
  grid-template-columns: minmax(150px, 0.42fr) 1fr;
  gap: 10px;
}

.form-stack textarea {
  min-height: 132px;
  resize: vertical;
}

.form-stack input:focus,
.form-stack textarea:focus,
.form-stack select:focus {
  border-color: rgba(240, 228, 253, 0.58);
  box-shadow: 0 0 0 3px rgba(164, 104, 255, 0.16);
}

.auth-panel {
  width: min(520px, 100%);
}

.login-helper {
  margin: 18px 0 0;
  border: 1px solid rgba(214, 183, 255, 0.18);
  border-radius: 16px;
  background: rgba(1, 0, 16, 0.24);
  overflow: hidden;
}

.login-helper summary {
  padding: 14px 16px;
  color: var(--ice-violet);
  font-size: 0.9rem;
  font-weight: 900;
  cursor: pointer;
}

.login-helper p {
  padding: 0 16px 16px;
}

.auth-layout {
  align-items: center;
}

.page-login .auth-layout {
  grid-template-columns: minmax(320px, 520px) minmax(0, 1fr);
  align-content: center;
  min-height: calc(100svh - 220px);
}

.page-login .login-hero,
.page-login .auth-panel {
  grid-column: 1;
}

.page-login .login-hero {
  width: min(520px, 100%);
  margin-bottom: 0;
}

.page-login .detail-hero h1 {
  max-width: 9ch;
}

.auth-link-button {
  width: fit-content;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--soft-lavender);
  font: inherit;
  font-size: 0.8rem;
  font-weight: 850;
  cursor: pointer;
}

.auth-link-button:hover,
.auth-link-button:focus-visible {
  color: var(--ice-violet);
  outline: none;
}

.auth-profile {
  display: grid;
  gap: 10px;
  margin: 22px 0;
}

.auth-profile > div {
  display: grid;
  grid-template-columns: minmax(86px, 0.35fr) 1fr;
  gap: 16px;
  padding: 13px 15px;
  border: 1px solid rgba(214, 183, 255, 0.16);
  border-radius: 12px;
  background: rgba(1, 0, 16, 0.3);
}

.auth-profile dt {
  color: var(--mist-lavender);
  font-size: 0.78rem;
  font-weight: 850;
}

.auth-profile dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  color: var(--ice-violet);
  font-weight: 850;
}

.service-page-body .site-footer:not([aria-label="Footer"]) {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(22px, 4vw, 54px);
  padding: clamp(34px, 5vw, 72px) clamp(20px, 6.2vw, 104px);
  border-top: 1px solid rgba(164, 104, 255, 0.2);
  background:
    linear-gradient(180deg, rgba(1, 0, 16, 0.32), rgba(1, 0, 16, 0.94)),
    var(--void-black);
}

.site-footer-brand {
  display: grid;
  gap: 12px;
  max-width: 460px;
}

.site-footer-brand img {
  width: 108px;
  height: auto;
  filter: drop-shadow(0 0 18px rgba(104, 17, 222, 0.42));
}

.site-footer-brand p {
  margin: 0;
  color: rgba(181, 179, 209, 0.86);
  font-size: 0.9rem;
  font-weight: 750;
  line-height: 1.6;
}

.site-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  align-content: start;
  justify-content: flex-end;
  max-width: 560px;
}

.site-footer-links a {
  color: rgba(240, 228, 253, 0.78);
  font-size: 0.82rem;
  font-weight: 900;
  transition: color 180ms ease, text-shadow 180ms ease;
}

.site-footer-links a:hover,
.site-footer-links a:focus-visible {
  color: var(--ice-violet);
  outline: none;
  text-shadow: 0 0 18px rgba(164, 104, 255, 0.55);
}

.service-page-body .bottom-cta {
  --cta-opacity: 1;
  --cta-y: 0px;
  position: relative;
  z-index: 2;
  bottom: auto;
  left: auto;
  display: flex;
  width: max-content;
  margin: 0 auto 42px;
  transform: none;
}

.service-page-body .bottom-cta:hover,
.service-page-body .bottom-cta:focus-visible {
  transform: translateY(-2px);
}

.scroll-cue {
  position: absolute;
  left: clamp(22px, 3.2vw, 54px);
  bottom: clamp(24px, 4.2vh, 48px);
  z-index: 9;
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(240, 228, 253, 0.58);
  font-size: 0.78rem;
  font-weight: 800;
  opacity: var(--scroll-cue-opacity);
  transform: translateY(var(--scroll-cue-y));
  pointer-events: none;
}

.cue-line {
  display: block;
  width: 54px;
  height: 1px;
  overflow: hidden;
  background: rgba(214, 183, 255, 0.18);
}

.cue-line::after {
  display: block;
  width: 24px;
  height: 100%;
  content: "";
  background: linear-gradient(90deg, rgba(164, 104, 255, 0), rgba(164, 104, 255, 0.9));
  animation: cueSweep 1.6s ease-in-out infinite;
}

.bottom-cta {
  position: fixed;
  bottom: clamp(18px, 3vh, 34px);
  left: 50%;
  z-index: 45;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 7px 8px 7px 22px;
  border: 1px solid rgba(214, 183, 255, 0.54);
  border-radius: 999px;
  background: rgba(240, 228, 253, 0.94);
  color: var(--cosmic-navy);
  font-size: 0.84rem;
  font-weight: 800;
  box-shadow:
    0 18px 44px rgba(104, 17, 222, 0.26),
    0 4px 22px rgba(1, 0, 16, 0.42);
  opacity: var(--cta-opacity, 0);
  transform: translateX(-50%) translateY(var(--cta-y, 14px));
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.bottom-cta:hover,
.bottom-cta:focus-visible {
  background: var(--ice-violet);
  box-shadow:
    0 20px 58px rgba(164, 104, 255, 0.34),
    0 4px 22px rgba(1, 0, 16, 0.42);
  outline: none;
  transform: translateX(-50%) translateY(calc(var(--cta-y, 0px) - 2px));
}

.cta-dot {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: var(--cosmic-navy);
  color: var(--ice-violet);
  box-shadow: inset 0 0 0 1px rgba(214, 183, 255, 0.16);
}

html[dir="rtl"] .nav-links,
html[dir="rtl"] .nav-contact,
html[dir="rtl"] .feature-card,
html[dir="rtl"] .service-content {
  direction: rtl;
}

html[dir="rtl"] .social-proof-section {
  direction: rtl;
}

html[dir="rtl"] .final-cta-section {
  direction: rtl;
}

html[dir="rtl"] .consultation-modal {
  direction: rtl;
}

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

html[dir="rtl"] .social-proof-heading,
html[dir="rtl"] .testimonial-card,
html[dir="rtl"] .proof-stat-card,
html[dir="rtl"] .success-number-row article,
html[dir="rtl"] .consultation-intro,
html[dir="rtl"] .consultation-form,
html[dir="rtl"] .solution-wizard {
  text-align: right;
}

html[dir="rtl"] .popular-service-list li {
  padding-right: 28px;
  padding-left: 10px;
}

html[dir="rtl"] .popular-service-list li::before {
  right: 12px;
  left: auto;
}

html[dir="rtl"] .chapter-story {
  right: clamp(24px, 6.5vw, 104px);
  left: auto;
  text-align: right;
}

html[dir="rtl"] .chapter-cards {
  right: clamp(24px, 6.5vw, 104px);
  left: auto;
  text-align: right;
}

html[dir="rtl"] .chapter-finale {
  right: clamp(24px, 7vw, 112px);
  left: auto;
  text-align: right;
}

html[dir="rtl"] .chapter-finale p:not(.eyebrow) {
  margin-right: 0;
  margin-left: auto;
}

html[dir="rtl"] .bottom-cta {
  padding: 7px 22px 7px 8px;
}

html[dir="rtl"] .cta-dot {
  transform: rotate(180deg);
}

@keyframes cueSweep {
  0% {
    transform: translateX(-28px);
  }
  100% {
    transform: translateX(62px);
  }
}

@keyframes finalCtaGridDrift {
  0% {
    background-position: 0 0, 0 0, 0 0;
  }
  100% {
    background-position: 92px 92px, 92px 92px, 100% 100%;
  }
}

@keyframes finalCtaLightSweep {
  0%,
  100% {
    background-position: -140% 0, 0 0;
  }
  50% {
    background-position: 140% 0, 0 0;
  }
}

@keyframes wizardStepIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes wizardNudge {
  0%,
  100% {
    transform: translateX(0);
  }
  35% {
    transform: translateX(-5px);
  }
  70% {
    transform: translateX(5px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .final-cta-section::before,
  .final-cta-section::after {
    animation: none;
  }
}

@supports not ((backdrop-filter: blur(12px))) {
  .language-toggle,
  .feature-card,
  .feature-card-popular,
  .logo-cloud span,
  .proof-stat-card,
  .success-number-row article,
  .testimonial-card,
  .final-cta-shell,
  .consultation-panel,
  .solution-wizard,
  .wizard-option,
  .proposal-card {
    background: rgba(13, 12, 46, 0.9);
  }
}

@media (max-width: 1180px) {
  .site-nav {
    grid-template-columns: 1fr auto auto;
  }

  .nav-contact {
    display: none;
  }

  .feature-stage {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    max-width: 980px;
  }

  .feature-card-popular {
    min-height: 172px;
  }

  .chapter-cards {
    bottom: clamp(330px, 43vh, 460px);
  }

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

  .page-card-grid,
  .mini-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-layout,
  .auth-layout {
    grid-template-columns: 1fr;
  }

  .social-proof-heading {
    grid-template-columns: 1fr;
  }

  .social-proof-heading h2,
  .social-proof-heading p:not(.eyebrow) {
    grid-column: 1;
  }

  .logo-cloud {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .proof-stats-grid,
  .success-number-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (min-width: 761px) and (max-height: 760px) {
  .hero-pin {
    min-height: 540px;
  }

  .chapter-story,
  .chapter-finale {
    bottom: 86px;
  }

  .chapter-cards {
    bottom: 292px;
  }

  .chapter h1 {
    font-size: clamp(1.55rem, 3vw, 3.2rem);
  }

  .chapter-intro h1 {
    font-size: clamp(2rem, 4.1vw, 4.15rem);
  }

  .chapter h2 {
    font-size: clamp(1.65rem, 3.45vw, 3.75rem);
  }

  body.is-arabic .chapter h1,
  body.is-arabic .chapter h2 {
    font-size: clamp(1.45rem, 3.05vw, 3.35rem);
  }

  body.is-arabic .chapter-intro h1 {
    font-size: clamp(1.85rem, 3.65vw, 3.75rem);
  }

  .chapter-cards h2 {
    font-size: clamp(1.45rem, 2.75vw, 2.8rem);
  }

  .chapter-intro p:not(.eyebrow),
  .chapter-finale p:not(.eyebrow) {
    font-size: 0.82rem;
    line-height: 1.38;
  }

  .feature-stage {
    bottom: 52px;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 8px;
  }

  .feature-card {
    min-height: 126px;
    padding: 12px;
    border-radius: 12px;
  }

  .feature-card-popular {
    min-height: 148px;
  }

  .featured-card-top {
    margin-bottom: 10px;
  }

  .recommended-badge {
    min-height: 22px;
    padding: 0 8px;
    font-size: 0.56rem;
  }

  .card-index {
    margin-bottom: 12px;
    font-size: 0.62rem;
  }

  .feature-card-popular .card-index {
    margin-bottom: 0;
  }

  .feature-card h3 {
    margin-bottom: 6px;
    font-size: 0.82rem;
    line-height: 1.1;
  }

  .feature-card-popular h3 {
    max-width: 12ch;
    font-size: 1rem;
  }

  .feature-card p {
    font-size: 0.66rem;
    line-height: 1.3;
  }

  .feature-card-popular p {
    font-size: 0.62rem;
    line-height: 1.28;
  }

  .popular-service-list {
    gap: 6px;
    margin-top: 10px;
  }

  .popular-service-list li {
    min-height: 26px;
    padding-right: 8px;
    padding-left: 22px;
    font-size: 0.56rem;
  }

  .popular-service-list li::before {
    left: 10px;
    width: 5px;
    height: 5px;
  }

  html[dir="rtl"] .popular-service-list li {
    padding-right: 22px;
    padding-left: 8px;
  }

  html[dir="rtl"] .popular-service-list li::before {
    right: 10px;
  }

  .card-action {
    min-height: 28px;
    margin-top: 8px;
    padding: 0 9px;
    font-size: 0.58rem;
  }
}

@media (max-width: 760px) {
  .site-nav {
    grid-template-columns: 1fr auto;
    gap: 12px;
    padding: 14px 144px 14px 16px;
  }

  html[dir="rtl"] .site-nav {
    padding-right: 16px;
    padding-left: 144px;
  }

  .brand-mark {
    top: 14px;
    right: 16px;
    left: auto;
    width: clamp(82px, 22vw, 112px);
  }

  html[dir="rtl"] .brand-mark {
    right: auto;
    left: 16px;
  }

  .nav-links {
    justify-content: flex-end;
    gap: 14px;
    padding-top: 6px;
    font-size: 0.74rem;
  }

  .language-toggle {
    min-width: 56px;
    min-height: 38px;
    padding: 0 12px;
    font-size: 0.8rem;
  }

  .hero {
    height: 560vh;
    min-height: 3400px;
  }

  .hero-pin {
    min-height: 620px;
  }

  .hero-video,
  .hero-canvas {
    object-position: center center;
  }

  .chapter-story,
  .chapter-cards,
  .chapter-finale {
    width: calc(100vw - 36px);
  }

  .chapter-story {
    left: 18px;
    bottom: clamp(108px, 14vh, 140px);
  }

  .chapter-cards {
    left: 18px;
    bottom: clamp(420px, 51vh, 456px);
  }

  .chapter-finale {
    right: auto;
    left: 18px;
    bottom: clamp(108px, 14vh, 140px);
  }

  .chapter h1 {
    font-size: clamp(1.65rem, 8vw, 2.7rem);
  }

  .chapter-intro {
    top: 46%;
    width: min(350px, calc(100vw - 32px));
  }

  .chapter-intro h1 {
    font-size: clamp(2rem, 10vw, 3.35rem);
    line-height: 0.98;
  }

  .chapter h2 {
    font-size: clamp(1.7rem, 8.2vw, 2.9rem);
  }

  body.is-arabic .chapter h1,
  body.is-arabic .chapter h2 {
    font-size: clamp(1.55rem, 7.6vw, 2.65rem);
  }

  body.is-arabic .chapter-intro h1 {
    font-size: clamp(1.8rem, 8.8vw, 2.95rem);
  }

  .chapter-intro p:not(.eyebrow) {
    max-width: 32ch;
    margin-top: 12px;
    font-size: 0.78rem;
    line-height: 1.4;
  }

  .chapter-cards h2 {
    font-size: clamp(1.45rem, 6.2vw, 2.1rem);
  }

  .feature-stage {
    right: 16px;
    bottom: 72px;
    left: 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .feature-card-popular {
    grid-column: span 2;
    min-height: 142px;
  }

  .service-section {
    min-height: 92svh;
    padding: 108px 16px 76px;
  }

  .service-section::before {
    background:
      linear-gradient(180deg, rgba(1, 0, 16, 0.82), rgba(1, 0, 16, 0.4) 45%, rgba(1, 0, 16, 0.9)),
      var(--service-bg) var(--service-bg-position, center) / cover no-repeat,
      radial-gradient(circle at 50% 55%, rgba(104, 17, 222, 0.55) 0%, rgba(36, 3, 116, 0.35) 34%, var(--cosmic-navy) 70%, var(--void-black) 100%);
  }

  .service-content {
    padding: 20px;
  }

  .service-content h2 {
    max-width: 15ch;
    font-size: clamp(1.55rem, 6.4vw, 2.35rem);
    line-height: 1.06;
  }

  .service-content p:not(.eyebrow) {
    margin-top: 16px;
    font-size: 0.84rem;
    line-height: 1.46;
  }

  .service-content ul {
    gap: 9px;
    margin-top: 20px;
  }

  .service-content li {
    font-size: 0.8rem;
    line-height: 1.36;
  }

  .feature-card {
    min-height: 100px;
    padding: 11px;
    border-radius: 12px;
  }

  .feature-card-popular {
    padding: 12px;
  }

  .featured-card-top {
    margin-bottom: 10px;
  }

  .recommended-badge {
    min-height: 22px;
    padding: 0 8px;
    font-size: 0.54rem;
  }

  .card-index {
    margin-bottom: 12px;
    font-size: 0.62rem;
  }

  .feature-card-popular .card-index {
    margin-bottom: 0;
  }

  .feature-card h3 {
    margin-bottom: 7px;
    font-size: 0.82rem;
  }

  .feature-card-popular h3 {
    max-width: none;
    font-size: 0.98rem;
  }

  .feature-card p {
    font-size: 0.68rem;
    line-height: 1.32;
  }

  .feature-card-popular p {
    max-width: 48ch;
    font-size: 0.66rem;
    line-height: 1.3;
  }

  .popular-service-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    margin-top: 10px;
  }

  .popular-service-list li {
    min-height: 26px;
    padding-right: 8px;
    padding-left: 22px;
    font-size: 0.56rem;
  }

  .popular-service-list li::before {
    left: 10px;
    width: 5px;
    height: 5px;
  }

  html[dir="rtl"] .popular-service-list li {
    padding-right: 22px;
    padding-left: 8px;
  }

  html[dir="rtl"] .popular-service-list li::before {
    right: 10px;
  }

  .card-action {
    min-height: 28px;
    margin-top: 8px;
    padding: 0 9px;
    font-size: 0.6rem;
  }

  .service-action {
    min-height: 40px;
    margin-top: 22px;
    padding: 0 15px;
    font-size: 0.78rem;
  }

  .social-proof-section {
    padding: 94px 16px 86px;
  }

  .social-proof-heading {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 28px;
  }

  .social-proof-heading h2,
  .social-proof-heading p:not(.eyebrow) {
    grid-column: 1;
  }

  .social-proof-heading h2 {
    max-width: 12ch;
    font-size: clamp(1.85rem, 9vw, 3.15rem);
    line-height: 1;
  }

  body.is-arabic .social-proof-heading h2 {
    max-width: 14ch;
    font-size: clamp(1.7rem, 8.2vw, 2.75rem);
    line-height: 1.24;
  }

  .social-proof-heading p:not(.eyebrow) {
    font-size: 0.84rem;
    line-height: 1.5;
  }

  .logo-cloud {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .logo-cloud span {
    min-height: 74px;
    padding: 14px 8px;
    border-radius: 14px;
  }

  .logo-cloud strong {
    font-size: 0.88rem;
  }

  .logo-cloud em {
    margin-top: 6px;
    font-size: 0.56rem;
  }

  .proof-stats-grid,
  .success-number-row,
  .testimonial-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .proof-stats-grid {
    margin-top: 14px;
  }

  .success-number-row,
  .testimonial-grid {
    margin-top: 10px;
  }

  .proof-stat-card,
  .success-number-row article,
  .testimonial-card {
    min-height: auto;
    padding: 20px;
    border-radius: 14px;
  }

  .proof-stat-value,
  .success-number-row strong {
    font-size: clamp(2rem, 12vw, 3.25rem);
  }

  .proof-stat-card span:not(.proof-stat-value),
  .success-number-row span {
    max-width: 28ch;
    margin-top: 14px;
    font-size: 0.8rem;
    line-height: 1.4;
  }

  .testimonial-card p {
    font-size: 0.84rem;
    line-height: 1.52;
  }

  .testimonial-card div {
    margin-top: 22px;
  }

  .final-cta-section {
    min-height: auto;
    padding: 92px 16px 112px;
  }

  .final-cta-shell {
    padding: 28px 18px;
    border-radius: 18px;
  }

  .final-cta-shell h2 {
    max-width: 11ch;
    font-size: clamp(2rem, 10vw, 3.45rem);
    line-height: 1.08;
  }

  body.is-arabic .final-cta-shell h2 {
    max-width: 12ch;
    font-size: clamp(1.85rem, 8.8vw, 3rem);
    line-height: 1.22;
  }

  .final-cta-shell p:not(.eyebrow) {
    margin-top: 16px;
    font-size: 0.84rem;
    line-height: 1.5;
  }

  .final-cta-actions {
    gap: 8px;
    margin-top: 24px;
  }

  .final-cta-button {
    min-height: 46px;
    min-width: min(148px, 100%);
    padding: 0 16px;
    font-size: 0.78rem;
  }

  .consultation-modal {
    padding: 12px;
    align-items: start;
    overflow-y: auto;
  }

  .consultation-panel {
    grid-template-columns: 1fr;
    gap: 18px;
    max-height: none;
    padding: 20px;
    margin: 20px 0;
    border-radius: 18px;
  }

  .consultation-close {
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
  }

  html[dir="rtl"] .consultation-close {
    right: auto;
    left: 12px;
  }

  .consultation-intro {
    padding: 28px 2px 0;
  }

  .consultation-intro h2 {
    max-width: 12ch;
    font-size: clamp(1.8rem, 8.4vw, 3rem);
    line-height: 1.08;
  }

  body.is-arabic .consultation-intro h2 {
    max-width: 13ch;
    line-height: 1.2;
  }

  .consultation-intro p:not(.eyebrow) {
    margin-top: 14px;
    font-size: 0.84rem;
    line-height: 1.5;
  }

  .consultation-signals {
    gap: 6px;
    margin-top: 18px;
  }

  .consultation-signals span {
    min-height: 32px;
    padding: 0 10px;
    font-size: 0.64rem;
  }

  .consultation-form {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 16px;
    border-radius: 16px;
  }

  .consultation-form input,
  .consultation-form select {
    min-height: 44px;
  }

  .consultation-form textarea {
    min-height: 118px;
  }

  .solution-wizard {
    min-height: auto;
    gap: 13px;
    padding: 16px;
    border-radius: 16px;
  }

  .wizard-stage {
    min-height: auto;
  }

  .wizard-step h3 {
    max-width: 15ch;
    font-size: clamp(1.35rem, 7vw, 2.1rem);
    line-height: 1.12;
  }

  .wizard-step > p:not(.wizard-kicker) {
    margin-top: 10px;
    font-size: 0.8rem;
    line-height: 1.48;
  }

  .wizard-option-grid,
  .proposal-grid {
    grid-template-columns: 1fr;
    gap: 9px;
    margin-top: 16px;
  }

  .wizard-option {
    min-height: 92px;
    padding: 13px;
    border-radius: 15px;
  }

  .wizard-option-compact {
    min-height: 60px;
  }

  .wizard-option-title {
    font-size: 0.84rem;
  }

  .wizard-option-text,
  .proposal-card li {
    font-size: 0.72rem;
  }

  .proposal-card {
    min-height: auto;
    padding: 14px;
    border-radius: 15px;
  }

  .wizard-actions {
    gap: 8px;
  }

  .wizard-button {
    flex: 1;
    min-width: 0;
    min-height: 46px;
    padding: 0 14px;
    font-size: 0.76rem;
  }

  .detail-page {
    padding: 116px 16px 118px;
  }

  .service-page-body::before {
    background:
      linear-gradient(180deg, rgba(1, 0, 16, 0.86), rgba(1, 0, 16, 0.36) 42%, rgba(1, 0, 16, 0.92)),
      var(--page-bg) center / cover no-repeat;
  }

  .detail-hero {
    margin-bottom: 42px;
  }

  .detail-hero h1 {
    max-width: 13ch;
    font-size: clamp(2rem, 9vw, 3.15rem);
  }

  .detail-lede {
    margin-top: 20px;
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .plans-heading h2 {
    font-size: clamp(1.7rem, 7.6vw, 2.55rem);
  }

  .pricing-grid,
  .use-case-strip,
  .page-card-grid,
  .mini-stat-grid {
    grid-template-columns: 1fr;
  }

  .pricing-card {
    min-height: auto;
    padding: 22px;
  }

  .policy-panel,
  .form-panel,
  .auth-panel,
  .page-card {
    border-radius: 16px;
  }

  .page-login .auth-layout {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .page-login .login-hero,
  .page-login .auth-panel {
    grid-column: 1;
  }

  .service-page-body .site-footer:not([aria-label="Footer"]) {
    grid-template-columns: 1fr;
    padding: 34px 16px;
  }

  .site-footer-links {
    justify-content: flex-start;
  }

  .addon-panel {
    display: grid;
    padding: 18px;
  }

  .scroll-cue {
    display: none;
  }

  .bottom-cta {
    min-height: 48px;
    padding-left: 18px;
    font-size: 0.85rem;
  }

  .cta-dot {
    width: 34px;
    height: 34px;
  }

  html[dir="rtl"] .chapter-story,
  html[dir="rtl"] .chapter-cards {
    right: 18px;
  }

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

@media (max-width: 520px) {
  .nav-links {
    display: none;
  }

  .site-nav {
    grid-template-columns: 1fr;
  }

  .language-toggle {
    justify-self: start;
  }

  html[dir="rtl"] .language-toggle {
    justify-self: end;
  }
}

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

  .hero-video,
  .hero-canvas {
    filter: none;
    transform: scale(1.04);
  }
}

/* Updated Sahab top bar and hero flashcard carousel. */
.site-nav {
  height: 54px;
  min-height: 54px;
  display: block;
  padding: 0 clamp(16px, 5vw, 78px);
  border-bottom: 1px solid rgba(164, 104, 255, 0.22);
  background:
    linear-gradient(180deg, rgba(5, 10, 32, 0.72), rgba(1, 0, 16, 0.66)),
    rgba(1, 0, 16, 0.7);
  box-shadow: 0 10px 26px rgba(1, 0, 16, 0.34);
  backdrop-filter: blur(18px) saturate(140%);
  pointer-events: none;
}

.site-nav::before {
  display: none;
}

.brand-mark,
html[dir="rtl"] .brand-mark {
  position: absolute;
  top: calc(100% + 10px);
  right: clamp(16px, 5vw, 78px);
  left: auto;
  width: clamp(92px, 7vw, 132px);
  min-width: 0;
  display: inline-flex;
  align-items: center;
  opacity: var(--brand-opacity);
  transform: translate3d(0, var(--brand-y), 0);
  transition: opacity 180ms ease, transform 180ms ease;
  will-change: opacity, transform;
}

html[dir="rtl"] .brand-mark {
  right: auto;
  left: clamp(16px, 5vw, 78px);
}

body.logo-faded .brand-mark {
  pointer-events: none;
}

.brand-mark img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 16px rgba(104, 17, 222, 0.36));
}

.nav-links {
  position: absolute;
  top: 50%;
  left: 50%;
  justify-self: auto;
  justify-content: center;
  gap: clamp(18px, 2.5vw, 42px);
  padding-top: 0;
  color: rgba(240, 228, 253, 0.82);
  font-size: clamp(0.78rem, 0.78vw, 0.92rem);
  transform: translate3d(-50%, -50%, 0);
}

.nav-links a {
  position: relative;
  white-space: nowrap;
}

.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(164, 104, 255, 0), var(--radiant-orchid), rgba(164, 104, 255, 0));
  content: "";
  opacity: 0;
  transform: scaleX(0.58);
  transition: opacity 180ms ease, transform 180ms ease;
}

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

.nav-contact {
  display: none;
}

.language-toggle {
  position: absolute;
  top: 50%;
  left: clamp(16px, 5vw, 78px);
  min-width: 54px;
  min-height: 34px;
  margin-top: 0;
  padding: 0 13px;
  transform: translateY(-50%);
}

html[dir="ltr"] .language-toggle {
  right: clamp(16px, 5vw, 78px);
  left: auto;
}

.language-toggle:hover,
.language-toggle:focus-visible {
  transform: translateY(calc(-50% - 1px));
}

.feature-stage {
  right: auto;
  bottom: clamp(46px, 6.6vh, 96px);
  left: 50%;
  width: min(920px, calc(100vw - 116px));
  display: block;
  opacity: var(--feature-opacity, 0);
  pointer-events: none;
  transform: translate3d(-50%, var(--feature-y, 34px), 0);
  transition: opacity 140ms linear;
}

.feature-stage.is-visible {
  pointer-events: auto;
}

.feature-carousel-window {
  position: relative;
  height: clamp(268px, 22vw, 320px);
  margin: 0 64px;
  overflow: hidden;
  border: 1px solid rgba(164, 104, 255, 0.24);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(13, 12, 46, 0.42), rgba(36, 3, 116, 0.16)),
    rgba(1, 0, 16, 0.16);
  box-shadow:
    0 24px 64px rgba(104, 17, 222, 0.18),
    0 0 0 1px rgba(214, 183, 255, 0.07) inset,
    0 1px 0 rgba(214, 183, 255, 0.22) inset;
  backdrop-filter: blur(18px) saturate(142%);
}

.feature-carousel-track {
  position: absolute;
  inset: 0;
}

.feature-card,
.feature-card-popular {
  position: absolute;
  inset: 0;
  grid-column: auto;
  min-height: 0;
  height: 100%;
  display: grid;
  align-content: center;
  padding: clamp(20px, 2.4vw, 32px);
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  opacity: 0;
  pointer-events: none;
  transform: translate3d(34px, 0, 0) scale(0.965);
  transition: opacity 260ms ease, transform 520ms cubic-bezier(0.2, 0.86, 0.2, 1);
}

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

.feature-stage[data-direction="prev"] .feature-card.is-active {
  animation: sahabCardInLeft 520ms cubic-bezier(0.2, 0.86, 0.2, 1);
}

.feature-stage[data-direction="next"] .feature-card.is-active {
  animation: sahabCardInRight 520ms cubic-bezier(0.2, 0.86, 0.2, 1);
}

.feature-card::before {
  position: absolute;
  top: 50%;
  right: auto;
  left: -11%;
  width: min(360px, 52%);
  aspect-ratio: 1;
  border-radius: 34% 45% 38% 48%;
  background:
    radial-gradient(circle at 62% 36%, rgba(214, 183, 255, 0.7), rgba(214, 183, 255, 0) 28%),
    linear-gradient(135deg, rgba(36, 3, 116, 0.96), rgba(123, 43, 226, 0.68), rgba(5, 10, 32, 0.84));
  clip-path: polygon(27% 0, 76% 9%, 100% 50%, 73% 92%, 18% 100%, 0 43%);
  content: "";
  opacity: 0.55;
  transform: translateY(-50%) rotate(-6deg);
  transition: transform 520ms cubic-bezier(0.2, 0.86, 0.2, 1), opacity 260ms ease;
}

html[dir="rtl"] .feature-card::before {
  right: -11%;
  left: auto;
  transform: translateY(-50%) rotate(6deg);
}

.feature-stage.is-switching .feature-card.is-active::before {
  opacity: 0.78;
  transform: translateY(-50%) translateX(18px) rotate(12deg) scale(1.08);
}

html[dir="rtl"] .feature-stage.is-switching .feature-card.is-active::before {
  transform: translateY(-50%) translateX(-18px) rotate(-12deg) scale(1.08);
}

.feature-hex-sweep {
  position: absolute;
  top: 50%;
  left: -26%;
  z-index: 4;
  width: min(330px, 46%);
  aspect-ratio: 1;
  border-radius: 34% 44% 36% 46%;
  background:
    radial-gradient(circle at 42% 36%, rgba(240, 228, 253, 0.74), rgba(240, 228, 253, 0) 24%),
    linear-gradient(135deg, rgba(36, 3, 116, 0.88), rgba(104, 17, 222, 0.9), rgba(214, 183, 255, 0.36));
  clip-path: polygon(28% 0, 76% 8%, 100% 50%, 74% 92%, 18% 100%, 0 44%);
  filter: blur(0.2px) drop-shadow(0 0 32px rgba(164, 104, 255, 0.32));
  opacity: 0;
  pointer-events: none;
  transform: translate3d(0, -50%, 0) rotate(-10deg) scale(0.9);
}

.feature-stage.is-switching[data-direction="next"] .feature-hex-sweep {
  animation: sahabHexSweepNext 620ms cubic-bezier(0.2, 0.86, 0.2, 1);
}

.feature-stage.is-switching[data-direction="prev"] .feature-hex-sweep {
  animation: sahabHexSweepPrev 620ms cubic-bezier(0.2, 0.86, 0.2, 1);
}

.feature-card h3,
.feature-card-popular h3 {
  position: relative;
  z-index: 2;
  max-width: 16ch;
  margin-bottom: 10px;
  font-size: clamp(1.45rem, 2.2vw, 2.72rem);
  line-height: 1.08;
}

.auth-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}

.auth-option input {
  width: 16px;
  min-height: auto;
  accent-color: var(--neon-purple);
}

body.is-arabic .feature-card h3,
body.is-arabic .feature-card-popular h3 {
  max-width: 17ch;
  font-size: clamp(1.55rem, 2.55vw, 3rem);
  line-height: 1.12;
}

body.is-arabic .feature-card h3[data-i18n="featureThreeTitle"] {
  max-width: none;
  white-space: nowrap;
}

body.is-arabic .feature-card h3[data-i18n="featureFiveTitle"] {
  max-width: none;
  white-space: nowrap;
}

.feature-card p,
.feature-card-popular p {
  position: relative;
  z-index: 2;
  max-width: 48ch;
  font-size: clamp(0.84rem, 0.95vw, 1rem);
  line-height: 1.42;
}

body.is-arabic .feature-card p,
body.is-arabic .feature-card-popular p {
  max-width: 44ch;
  font-size: clamp(0.86rem, 1vw, 1.02rem);
  line-height: 1.42;
}

.featured-card-top,
.popular-service-list,
.card-action,
.card-index {
  z-index: 2;
}

.feature-card .card-action {
  width: max-content;
  justify-self: end;
}

html[dir="rtl"] .feature-card .card-action {
  justify-self: start;
}

.popular-service-list {
  max-width: 560px;
}

.feature-arrow {
  position: absolute;
  top: 50%;
  z-index: 9;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(214, 183, 255, 0.26);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(13, 12, 46, 0.84), rgba(36, 3, 116, 0.44)),
    rgba(1, 0, 16, 0.56);
  color: var(--ice-violet);
  cursor: pointer;
  box-shadow:
    0 16px 38px rgba(104, 17, 222, 0.24),
    inset 0 1px 0 rgba(214, 183, 255, 0.18);
  transform: translateY(-50%);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
  backdrop-filter: blur(16px);
}

.feature-arrow[hidden] {
  display: none;
}

body.is-arabic .feature-card h3[data-i18n="featureThreeTitle"] {
  white-space: normal;
}

.feature-arrow span {
  display: block;
  margin-top: -3px;
  font-size: 2rem;
  line-height: 1;
}

.feature-arrow-left span::before {
  content: "←";
}

.feature-arrow-right span::before {
  content: "→";
}

.feature-arrow-left {
  left: 0;
}

.feature-arrow-right {
  right: 0;
}

.feature-arrow:hover,
.feature-arrow:focus-visible {
  border-color: rgba(214, 183, 255, 0.58);
  outline: none;
  transform: translateY(-50%) scale(1.05);
  box-shadow:
    0 20px 46px rgba(164, 104, 255, 0.34),
    inset 0 1px 0 rgba(214, 183, 255, 0.24);
}

@keyframes sahabHexSweepNext {
  0% {
    opacity: 0;
    transform: translate3d(-14%, -50%, 0) rotate(-18deg) scale(0.88);
  }

  38% {
    opacity: 0.94;
  }

  100% {
    opacity: 0;
    transform: translate3d(250%, -50%, 0) rotate(18deg) scale(1.12);
  }
}

@keyframes sahabHexSweepPrev {
  0% {
    opacity: 0;
    transform: translate3d(250%, -50%, 0) rotate(18deg) scale(0.88);
  }

  38% {
    opacity: 0.94;
  }

  100% {
    opacity: 0;
    transform: translate3d(-14%, -50%, 0) rotate(-18deg) scale(1.12);
  }
}

@keyframes sahabCardInRight {
  from {
    opacity: 0;
    transform: translate3d(38px, 0, 0) scale(0.965);
  }
}

@keyframes sahabCardInLeft {
  from {
    opacity: 0;
    transform: translate3d(-38px, 0, 0) scale(0.965);
  }
}

@media (max-width: 760px) {
  .site-nav,
  html[dir="rtl"] .site-nav {
    min-height: 56px;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 8px;
    padding: 0 10px;
  }

  .brand-mark,
  html[dir="rtl"] .brand-mark {
    width: clamp(78px, 21vw, 108px);
  }

  .nav-links {
    display: flex;
    justify-content: flex-start;
    gap: 12px;
    overflow-x: auto;
    padding: 8px 2px;
    font-size: 0.68rem;
    scrollbar-width: none;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .language-toggle,
  html[dir="rtl"] .language-toggle {
    min-width: 44px;
    min-height: 32px;
    justify-self: end;
    padding: 0 10px;
    font-size: 0.72rem;
  }

  .feature-stage {
    bottom: 76px;
    width: calc(100vw - 20px);
  }

  .feature-carousel-window {
    height: 304px;
    margin: 0 42px;
    border-radius: 22px;
  }

  .feature-arrow {
    width: 36px;
    height: 36px;
  }

  .feature-arrow span {
    font-size: 1.55rem;
  }

  .feature-card,
  .feature-card-popular {
    padding: 18px;
  }

  .feature-card h3,
  .feature-card-popular h3,
  body.is-arabic .feature-card h3,
  body.is-arabic .feature-card-popular h3 {
    max-width: 14ch;
    font-size: clamp(1.18rem, 6.2vw, 1.72rem);
    line-height: 1.12;
  }

  .feature-card p,
  .feature-card-popular p,
  body.is-arabic .feature-card p,
  body.is-arabic .feature-card-popular p {
    max-width: 30ch;
    font-size: 0.74rem;
    line-height: 1.38;
  }

  .featured-card-top {
    margin-bottom: 10px;
  }

  .popular-service-list {
    display: none;
  }

  .card-action {
    min-height: 30px;
    margin-top: 10px;
    font-size: 0.64rem;
  }

  html[dir="rtl"] .chapter-cards {
    right: 18px;
    left: 18px;
    width: auto;
    text-align: right;
  }
}

/* Final-frame service choice. */
.chapter-cards,
html[dir="rtl"] .chapter-cards {
  bottom: clamp(390px, 46vh, 520px);
  width: min(520px, 40vw);
  transform: translate3d(0, var(--chapter-offset, 24px), 0);
}

.chapter-cards {
  right: auto;
  left: clamp(24px, 7vw, 112px);
  text-align: left;
}

html[dir="rtl"] .chapter-cards {
  right: clamp(24px, 7vw, 112px);
  left: auto;
  text-align: right;
}

.feature-stage {
  bottom: clamp(24px, 4vh, 42px);
}

@media (max-width: 760px) {
  .policy-layout {
    grid-template-columns: 1fr;
  }

  .policy-index {
    position: static;
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    overflow-x: auto;
    padding: 10px;
    scrollbar-width: none;
  }

  .policy-index::-webkit-scrollbar {
    display: none;
  }

  .policy-toolbar,
  .auth-options {
    align-items: stretch;
  }

  .policy-search,
  .policy-chip-row,
  .policy-chip,
  .billing-toggle button,
  .page-action {
    width: 100%;
  }

  .policy-stepper,
  .phone-field {
    grid-template-columns: 1fr;
  }

  .chapter-cards,
  html[dir="rtl"] .chapter-cards {
    bottom: 430px;
    width: min(300px, 76vw);
    transform: translate3d(0, var(--chapter-offset, 24px), 0);
  }

  .chapter-cards {
    right: auto;
    left: 18px;
    text-align: left;
  }

  html[dir="rtl"] .chapter-cards {
    right: 18px;
    left: auto;
    text-align: right;
  }

  .feature-stage {
    bottom: 70px;
  }

  .site-nav,
  html[dir="rtl"] .site-nav {
    height: 50px;
    min-height: 50px;
    padding: 0 10px;
  }

  .brand-mark,
  html[dir="rtl"] .brand-mark {
    top: calc(100% + 8px);
    width: clamp(78px, 21vw, 102px);
  }

  .brand-mark {
    right: 10px;
    left: auto;
  }

  html[dir="rtl"] .brand-mark {
    right: auto;
    left: 10px;
  }

  .nav-links {
    width: calc(100vw - 116px);
    justify-content: center;
    padding: 0;
  }

  .language-toggle,
  html[dir="rtl"] .language-toggle {
    top: 50%;
    min-width: 44px;
    min-height: 32px;
    padding: 0 10px;
    transform: translateY(-50%);
  }

  html[dir="ltr"] .language-toggle {
    right: 10px;
    left: auto;
  }

  html[dir="rtl"] .language-toggle {
    right: auto;
    left: 10px;
  }
}
