html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background: #f8fafc;
  transition:
    background-color 520ms cubic-bezier(0.22, 1, 0.36, 1),
    color 520ms cubic-bezier(0.22, 1, 0.36, 1);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -20;
  background:
    radial-gradient(circle at 20% 20%, rgba(0, 107, 255, 0.08), transparent 36%),
    radial-gradient(circle at 80% 78%, rgba(0, 151, 167, 0.08), transparent 42%);
  opacity: 1;
  transition:
    opacity 650ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 650ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 650ms cubic-bezier(0.22, 1, 0.36, 1);
}

.material-symbols-outlined {
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
}

.glow-orb-primary {
  background: radial-gradient(circle, rgba(0, 107, 255, 0.16) 0%, rgba(255, 255, 255, 0) 70%);
  transition:
    background 650ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 650ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 650ms cubic-bezier(0.22, 1, 0.36, 1);
}

.glow-orb-secondary {
  background: radial-gradient(circle, rgba(0, 151, 167, 0.14) 0%, rgba(255, 255, 255, 0) 70%);
  transition:
    background 650ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 650ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 650ms cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-showcase {
  isolation: isolate;
  border-radius: 40px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background:
    radial-gradient(circle at top, rgba(0, 107, 255, 0.12), transparent 34%),
    radial-gradient(circle at 84% 22%, rgba(0, 168, 255, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(247, 251, 255, 0.9) 0%, rgba(238, 246, 255, 0.88) 48%, rgba(255, 255, 255, 0.92) 100%);
  box-shadow: 0 28px 80px rgba(8, 22, 45, 0.08);
}

.hero-background-paths {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.hero-background-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.42) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.08) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: 0.9;
}

.hero-path-glow {
  position: absolute;
  border-radius: 9999px;
  filter: blur(70px);
  opacity: 0.85;
}

.hero-path-glow-primary {
  top: -12%;
  left: -8%;
  width: 320px;
  height: 320px;
  background: rgba(0, 107, 255, 0.2);
}

.hero-path-glow-secondary {
  right: -10%;
  bottom: -20%;
  width: 420px;
  height: 420px;
  background: rgba(0, 168, 255, 0.18);
}

.hero-path-svg {
  position: absolute;
  inset: -8% -10%;
  width: 120%;
  height: 116%;
  opacity: 0.92;
}

.hero-path-svg--cyan {
  transform: scaleX(-1) translateX(2%);
  opacity: 0.72;
}

.hero-path {
  fill: none;
  stroke-linecap: round;
  stroke-dasharray: 14 18 180 24;
  stroke-dashoffset: 0;
  animation: heroPathShift var(--path-duration, 24s) linear infinite;
}

.hero-path-svg--blue .hero-path {
  stroke: rgba(0, 107, 255, 0.32);
}

.hero-path-svg--cyan .hero-path {
  stroke: rgba(0, 168, 255, 0.24);
}

.hero-path-1 {
  stroke-width: 1.15px;
  --path-duration: 26s;
}

.hero-path-2 {
  stroke-width: 1.45px;
  --path-duration: 22s;
}

.hero-path-3 {
  stroke-width: 1.7px;
  --path-duration: 28s;
}

.hero-path-4 {
  stroke-width: 1.4px;
  --path-duration: 24s;
}

.hero-path-5 {
  stroke-width: 1.1px;
  --path-duration: 30s;
}

.hero-path-6 {
  stroke-width: 1.1px;
  --path-duration: 20s;
}

.hero-path-7 {
  stroke-width: 1.35px;
  --path-duration: 27s;
}

.hero-path-8 {
  stroke-width: 1.55px;
  --path-duration: 23s;
}

.hero-path-9 {
  stroke-width: 1.25px;
  --path-duration: 29s;
}

.hero-copy {
  padding-top: 32px;
  padding-bottom: 32px;
}

@keyframes heroPathShift {
  0% {
    stroke-dashoffset: 0;
    opacity: 0.22;
  }

  50% {
    opacity: 0.54;
  }

  100% {
    stroke-dashoffset: -520;
    opacity: 0.22;
  }
}

.glass-card {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(148, 163, 184, 0.2);
  box-shadow: 0 16px 48px rgba(8, 22, 45, 0.06);
  transition:
    background-color 520ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 520ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 520ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
}

.glass-panel {
  background: rgba(248, 250, 252, 0.9);
  backdrop-filter: blur(16px);
  transition:
    background-color 520ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 520ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 520ms cubic-bezier(0.22, 1, 0.36, 1);
}

.site-logo {
  display: block;
  height: 52px;
  width: auto;
  object-fit: contain;
}

.site-logo-link {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.site-logo-footer {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 30px rgba(8, 22, 45, 0.12);
  transition:
    background-color 520ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 520ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
}

.site-logo-footer .site-logo {
  height: 42px;
}

.nav-link-active {
  color: #006bff;
  border-color: #006bff;
}

.mobile-menu {
  transition: opacity 180ms ease, transform 180ms ease;
}

.mobile-menu[hidden] {
  display: none;
}

.what-we-do {
  scroll-margin-top: 96px;
}

.what-we-do-shell {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 32px;
  background:
    radial-gradient(circle at 16% 8%, rgba(0, 107, 255, 0.14), transparent 28%),
    radial-gradient(circle at 86% 80%, rgba(0, 168, 255, 0.12), transparent 30%),
    rgba(255, 255, 255, 0.78);
  padding: clamp(22px, 4vw, 44px);
  box-shadow: 0 24px 76px rgba(8, 22, 45, 0.08);
}

.what-we-do-heading {
  display: grid;
  gap: 12px;
  max-width: 760px;
  margin-bottom: 28px;
}

.what-we-do-kicker,
.what-service-label {
  width: fit-content;
  border: 1px solid rgba(0, 107, 255, 0.24);
  border-radius: 999px;
  background: rgba(0, 107, 255, 0.08);
  padding: 8px 12px;
  color: #006bff;
  font-family: "Sora", "IBM Plex Sans Arabic", sans-serif;
  font-size: 0.76rem;
  font-weight: 800;
}

.what-we-do-heading h2 {
  margin: 0;
  color: #08162d;
  font-family: "Sora", "IBM Plex Sans Arabic", sans-serif;
  font-size: clamp(2rem, 4vw, 3.35rem);
  font-weight: 800;
  line-height: 1.08;
}

.what-we-do-heading p {
  max-width: 700px;
  margin: 0;
  color: #52627c;
  font-size: 1rem;
  line-height: 1.72;
}

.what-we-do-stage {
  display: grid;
  grid-template-columns: minmax(250px, 0.78fr) minmax(0, 1.22fr);
  gap: 18px;
  align-items: stretch;
}

.what-service-list {
  display: grid;
  gap: 10px;
}

.what-service-tab {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  align-items: center;
  min-height: 58px;
  width: 100%;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  padding: 10px 12px;
  color: #08162d;
  text-align: start;
  cursor: pointer;
  transition:
    transform 260ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 260ms cubic-bezier(0.22, 1, 0.36, 1),
    background 260ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

.what-service-tab span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(0, 107, 255, 0.08);
  color: #006bff;
  font-family: "Sora", sans-serif;
  font-size: 0.78rem;
  font-weight: 900;
}

.what-service-tab strong {
  font-family: "Sora", "IBM Plex Sans Arabic", sans-serif;
  font-size: 0.95rem;
  line-height: 1.28;
}

.what-service-tab:hover,
.what-service-tab.is-active {
  transform: translateY(-2px);
  border-color: rgba(0, 107, 255, 0.32);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 16px 38px rgba(8, 22, 45, 0.08), 0 0 24px rgba(0, 107, 255, 0.09);
}

.what-service-tab.is-active span {
  background: linear-gradient(135deg, #006bff, #00a8ff);
  color: #ffffff;
}

.what-service-display {
  position: relative;
  display: grid;
  grid-template-columns: 156px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  min-height: 408px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 26px;
  background:
    radial-gradient(circle at 22% 28%, rgba(0, 107, 255, 0.16), transparent 30%),
    linear-gradient(145deg, rgba(248, 250, 252, 0.92), rgba(238, 246, 255, 0.86));
  padding: clamp(22px, 4vw, 34px);
}

.what-service-display.is-switching .what-service-copy,
.what-service-display.is-switching .what-service-visual {
  opacity: 0;
  transform: translateY(10px) scale(0.985);
}

.what-service-visual,
.what-service-copy {
  transition:
    opacity 260ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

.what-service-visual {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border: 1px solid rgba(0, 107, 255, 0.18);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 0 34px rgba(0, 107, 255, 0.08), 0 18px 44px rgba(8, 22, 45, 0.08);
}

.what-service-visual .material-symbols-outlined {
  color: #006bff;
  font-size: 58px;
  font-variation-settings: "FILL" 1, "wght" 500, "GRAD" 0, "opsz" 48;
}

.what-service-number {
  position: absolute;
  top: 14px;
  left: 14px;
  color: rgba(8, 22, 45, 0.3);
  font-family: "Sora", sans-serif;
  font-size: 0.9rem;
  font-weight: 900;
}

.what-service-copy {
  display: grid;
  gap: 12px;
}

.what-service-copy h3 {
  margin: 0;
  color: #08162d;
  font-family: "Sora", "IBM Plex Sans Arabic", sans-serif;
  font-size: clamp(1.65rem, 3vw, 2.9rem);
  font-weight: 800;
  line-height: 1.1;
}

.what-service-copy p:last-child {
  max-width: 640px;
  margin: 0;
  color: #52627c;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.75;
}

.what-service-meter {
  position: absolute;
  left: 34px;
  right: 34px;
  bottom: 24px;
  height: 3px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.18);
}

.what-service-meter span {
  display: block;
  width: 16.666%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #006bff, #00a8ff);
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.home-work {
  scroll-margin-top: 96px;
}

.home-work-header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 18px;
  align-items: end;
  margin-bottom: 24px;
}

.home-work-kicker,
.home-work-link {
  width: fit-content;
  border: 1px solid rgba(0, 107, 255, 0.24);
  border-radius: 999px;
  background: rgba(0, 107, 255, 0.08);
  padding: 9px 13px;
  color: #006bff;
  font-family: "Sora", "IBM Plex Sans Arabic", sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
}

.home-work-header h2 {
  margin: 0;
  color: #08162d;
  font-family: "Sora", "IBM Plex Sans Arabic", sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
}

.home-work-header p {
  max-width: 640px;
  margin: 8px 0 0;
  color: #52627c;
  line-height: 1.7;
}

.home-work-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
  grid-auto-rows: 220px;
  gap: 14px;
}

.home-work-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 18px 46px rgba(8, 22, 45, 0.08);
}

.home-work-card-large {
  grid-row: span 2;
}

.home-work-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
}

.home-work-card:hover img {
  transform: scale(1.045);
}

.home-work-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(8, 22, 45, 0.76));
}

.home-work-card div {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 1;
  color: #ffffff;
}

.home-work-card span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.8rem;
  font-weight: 800;
}

.home-work-card h3 {
  margin: 4px 0 0;
  font-family: "Sora", "IBM Plex Sans Arabic", sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
}

.pricing-luxury {
  color: #d1c2b8;
}

.pricing-luxury-shell {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid rgba(180, 143, 88, 0.24);
  border-radius: 32px;
  background:
    radial-gradient(circle at 18% 12%, rgba(180, 143, 88, 0.22), transparent 28%),
    radial-gradient(circle at 86% 22%, rgba(209, 194, 184, 0.12), transparent 26%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.96) 0%, rgba(238, 246, 255, 0.94) 52%, rgba(248, 250, 252, 0.98) 100%);
  padding: clamp(28px, 4vw, 56px);
  box-shadow: 0 30px 90px rgba(21, 17, 15, 0.34);
}

.pricing-luxury-shell::before {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: -1;
  border-radius: 31px;
  background:
    linear-gradient(90deg, transparent, rgba(180, 143, 88, 0.12), transparent),
    repeating-linear-gradient(90deg, rgba(209, 194, 184, 0.035) 0 1px, transparent 1px 84px);
  pointer-events: none;
}

.pricing-luxury-header {
  display: grid;
  justify-items: center;
  max-width: 780px;
  margin: 0 auto 36px;
  text-align: center;
}

.pricing-luxury-kicker,
.pricing-tier-label,
.pricing-addon-label {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border: 1px solid rgba(180, 143, 88, 0.42);
  border-radius: 999px;
  background: rgba(180, 143, 88, 0.12);
  color: #006bff;
  font-family: "Sora", "IBM Plex Sans Arabic", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.pricing-luxury-kicker {
  padding: 9px 14px;
  margin-bottom: 18px;
  box-shadow: 0 0 28px rgba(180, 143, 88, 0.16);
}

.pricing-luxury-title {
  margin: 0;
  color: #f6eee8;
  font-family: "Sora", "IBM Plex Sans Arabic", sans-serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: 0;
}

.pricing-luxury-subtitle {
  max-width: 690px;
  margin: 18px 0 0;
  color: rgba(209, 194, 184, 0.82);
  font-size: 1.02rem;
  line-height: 1.75;
}

.pricing-trial-banner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  margin-top: 22px;
  padding: 10px 16px;
  border: 1px solid rgba(180, 143, 88, 0.44);
  border-radius: 999px;
  background: rgba(21, 17, 15, 0.56);
  color: #ffe6c4;
  font-weight: 800;
  box-shadow: 0 0 34px rgba(180, 143, 88, 0.18);
}

.pricing-trial-banner .material-symbols-outlined {
  color: #006bff;
  font-variation-settings: "FILL" 1, "wght" 500, "GRAD" 0, "opsz" 24;
}

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

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 24px;
  border: 1px solid rgba(209, 194, 184, 0.16);
  border-radius: 24px;
  background: rgba(37, 31, 27, 0.78);
  box-shadow: 0 18px 46px rgba(8, 6, 5, 0.22);
  transition:
    transform 360ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 360ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 360ms cubic-bezier(0.22, 1, 0.36, 1),
    background-color 360ms cubic-bezier(0.22, 1, 0.36, 1);
}

.pricing-card:hover {
  transform: translateY(-8px) scale(1.015);
  border-color: rgba(180, 143, 88, 0.46);
  background: rgba(55, 48, 43, 0.9);
  box-shadow: 0 24px 68px rgba(8, 6, 5, 0.32), 0 0 34px rgba(180, 143, 88, 0.16);
}

.pricing-card-featured {
  border-color: rgba(180, 143, 88, 0.78);
  background:
    linear-gradient(180deg, rgba(180, 143, 88, 0.16), transparent 32%),
    rgba(49, 40, 34, 0.94);
  box-shadow: 0 28px 78px rgba(8, 6, 5, 0.34), 0 0 48px rgba(180, 143, 88, 0.22);
}

.pricing-best-badge {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  white-space: nowrap;
  border: 1px solid rgba(255, 230, 196, 0.42);
  border-radius: 999px;
  background: linear-gradient(135deg, #006bff, #00a8ff);
  padding: 8px 14px;
  color: #ffffff;
  font-family: "Sora", "IBM Plex Sans Arabic", sans-serif;
  font-size: 0.78rem;
  font-weight: 900;
  box-shadow: 0 0 28px rgba(180, 143, 88, 0.45);
}

.pricing-card-top {
  min-height: 112px;
}

.pricing-tier-label,
.pricing-addon-label {
  padding: 7px 11px;
  margin-bottom: 16px;
}

.pricing-card-title {
  margin: 0;
  color: #f6eee8;
  font-family: "Sora", "IBM Plex Sans Arabic", sans-serif;
  font-size: clamp(1.28rem, 2vw, 1.65rem);
  font-weight: 800;
  line-height: 1.2;
}

.pricing-card-title-ar {
  margin: 8px 0 0;
  color: rgba(209, 194, 184, 0.7);
  font-family: "IBM Plex Sans Arabic", "Plus Jakarta Sans", sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.5;
}

.pricing-target {
  margin: 12px 0 0;
  color: rgba(209, 194, 184, 0.64);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.55;
}

.pricing-price-row {
  display: grid;
  gap: 5px;
  margin: 18px 0 22px;
  padding: 18px 0;
  border-top: 1px solid rgba(209, 194, 184, 0.12);
  border-bottom: 1px solid rgba(209, 194, 184, 0.12);
}

.pricing-price {
  color: #006bff;
  font-family: "Sora", "IBM Plex Sans Arabic", sans-serif;
  font-size: clamp(2rem, 3vw, 2.65rem);
  font-weight: 900;
  line-height: 1;
}

.pricing-price-note {
  color: rgba(209, 194, 184, 0.72);
  font-size: 0.9rem;
  line-height: 1.45;
}

.pricing-feature-list {
  display: grid;
  gap: 13px;
  flex: 1;
  padding: 0;
  margin: 0 0 24px;
  list-style: none;
}

.pricing-feature-list li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 10px;
  align-items: start;
  color: rgba(246, 238, 232, 0.84);
  font-size: 0.94rem;
  line-height: 1.55;
}

.pricing-feature-list .material-symbols-outlined {
  color: #006bff;
  font-size: 20px;
  line-height: 1.45;
  font-variation-settings: "FILL" 1, "wght" 500, "GRAD" 0, "opsz" 20;
}

.pricing-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: auto;
  border: 1px solid rgba(180, 143, 88, 0.42);
  border-radius: 14px;
  background: rgba(180, 143, 88, 0.12);
  color: #f6eee8;
  font-family: "Sora", "IBM Plex Sans Arabic", sans-serif;
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
  transition:
    transform 280ms cubic-bezier(0.22, 1, 0.36, 1),
    background 280ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 280ms cubic-bezier(0.22, 1, 0.36, 1);
}

.pricing-cta:hover {
  transform: scale(1.035);
  background: rgba(180, 143, 88, 0.22);
  box-shadow: 0 0 30px rgba(180, 143, 88, 0.3);
}

.pricing-cta-featured {
  border-color: transparent;
  background: linear-gradient(135deg, #006bff, #00a8ff);
  color: #ffffff;
  box-shadow: 0 0 34px rgba(180, 143, 88, 0.32);
}

.pricing-cta-featured:hover {
  background: linear-gradient(135deg, #0053d8, #00a8ff);
}

.pricing-addon {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  margin-top: 18px;
  padding: 22px;
  border: 1px solid rgba(180, 143, 88, 0.36);
  border-radius: 24px;
  background:
    radial-gradient(circle at 8% 20%, rgba(180, 143, 88, 0.18), transparent 24%),
    rgba(21, 17, 15, 0.55);
  box-shadow: 0 22px 58px rgba(8, 6, 5, 0.22);
}

.pricing-addon-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border: 1px solid rgba(180, 143, 88, 0.38);
  border-radius: 18px;
  background: rgba(180, 143, 88, 0.14);
  color: #006bff;
  box-shadow: 0 0 28px rgba(180, 143, 88, 0.16);
}

.pricing-addon-icon .material-symbols-outlined {
  font-size: 32px;
}

.pricing-addon-copy h3 {
  margin: 0;
  color: #f6eee8;
  font-family: "Sora", "IBM Plex Sans Arabic", sans-serif;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  font-weight: 800;
  line-height: 1.2;
}

.pricing-addon-copy p {
  max-width: 760px;
  margin: 8px 0 0;
  color: rgba(209, 194, 184, 0.78);
  line-height: 1.7;
}

.pricing-addon-price {
  display: grid;
  justify-items: end;
  gap: 4px;
  color: #006bff;
  font-family: "Sora", "IBM Plex Sans Arabic", sans-serif;
  font-weight: 900;
}

.pricing-addon-price span {
  font-size: clamp(1.5rem, 2.5vw, 2.1rem);
  line-height: 1;
}

.pricing-addon-price small {
  color: rgba(209, 194, 184, 0.68);
  font-size: 0.82rem;
  font-weight: 700;
}

html[dir="rtl"] .pricing-luxury,
html[dir="rtl"] .pricing-card,
html[dir="rtl"] .pricing-addon-copy {
  text-align: right;
}

html[dir="rtl"] .pricing-feature-list li {
  grid-template-columns: 1fr 24px;
}

html[dir="rtl"] .pricing-feature-list .material-symbols-outlined {
  grid-column: 2;
  grid-row: 1;
}

html[dir="rtl"] .pricing-addon-price {
  justify-items: start;
}

@media (max-width: 1023px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .pricing-card-featured {
    order: -1;
  }

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

  .pricing-addon-price {
    justify-items: start;
  }
}

@media (max-width: 767px) {
  .pricing-luxury-shell {
    border-radius: 24px;
    padding: 22px;
  }

  .pricing-luxury-shell::before {
    border-radius: 23px;
  }

  .pricing-card {
    padding: 20px;
    border-radius: 20px;
  }

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

  .pricing-trial-banner {
    width: 100%;
    border-radius: 18px;
  }

  .what-we-do-shell {
    border-radius: 24px;
    padding: 20px;
  }

  .what-we-do-stage {
    grid-template-columns: 1fr;
  }

  .what-service-list {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
    scroll-snap-type: x mandatory;
  }

  .what-service-tab {
    grid-template-columns: 34px minmax(130px, 1fr);
    flex: 0 0 min(84vw, 280px);
    scroll-snap-align: start;
  }

  .what-service-tab span {
    width: 32px;
    height: 32px;
  }

  .what-service-display {
    grid-template-columns: 1fr;
    min-height: 420px;
  }

  .what-service-visual {
    width: 118px;
  }

  .home-work-header {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .home-work-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 240px;
  }

  .home-work-card-large {
    grid-row: span 1;
  }
}

.pricing-luxury {
  color: #08162d;
}

.pricing-luxury-shell {
  border-color: rgba(148, 163, 184, 0.22);
  background:
    radial-gradient(circle at 18% 12%, rgba(0, 107, 255, 0.14), transparent 30%),
    radial-gradient(circle at 86% 22%, rgba(0, 168, 255, 0.13), transparent 28%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.96) 0%, rgba(238, 246, 255, 0.94) 52%, rgba(248, 250, 252, 0.98) 100%);
  box-shadow: 0 28px 80px rgba(8, 22, 45, 0.08);
}

.pricing-luxury-shell::before {
  background:
    linear-gradient(90deg, transparent, rgba(0, 107, 255, 0.08), transparent),
    repeating-linear-gradient(90deg, rgba(148, 163, 184, 0.08) 0 1px, transparent 1px 84px);
}

.pricing-luxury-kicker,
.pricing-tier-label,
.pricing-addon-label {
  border-color: rgba(0, 107, 255, 0.24);
  background: rgba(0, 107, 255, 0.08);
  color: #006bff;
}

.pricing-luxury-kicker {
  box-shadow: 0 0 28px rgba(0, 107, 255, 0.1);
}

.pricing-luxury-title,
.pricing-card-title,
.pricing-addon-copy h3 {
  color: #08162d;
}

.pricing-luxury-subtitle,
.pricing-card-title-ar,
.pricing-target,
.pricing-price-note,
.pricing-addon-copy p,
.pricing-addon-price small {
  color: rgba(82, 98, 124, 0.78);
}

.pricing-trial-banner,
.pricing-card,
.pricing-addon {
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(148, 163, 184, 0.18);
  color: #0e2340;
  box-shadow: 0 18px 46px rgba(8, 22, 45, 0.07);
}

.pricing-trial-banner .material-symbols-outlined,
.pricing-feature-list .material-symbols-outlined,
.pricing-price,
.pricing-addon-price,
.pricing-addon-icon {
  color: #006bff;
}

.pricing-card:hover {
  border-color: rgba(0, 107, 255, 0.34);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 24px 68px rgba(8, 22, 45, 0.12), 0 0 34px rgba(0, 107, 255, 0.12);
}

.pricing-card-featured {
  border-color: rgba(0, 107, 255, 0.48);
  background:
    linear-gradient(180deg, rgba(0, 107, 255, 0.12), transparent 34%),
    rgba(255, 255, 255, 0.96);
  box-shadow: 0 28px 78px rgba(8, 22, 45, 0.12), 0 0 48px rgba(0, 107, 255, 0.16);
}

.pricing-best-badge,
.pricing-cta-featured {
  background: linear-gradient(135deg, #006bff, #00a8ff);
  color: #ffffff;
  box-shadow: 0 0 28px rgba(0, 107, 255, 0.28);
}

.pricing-feature-list li {
  color: rgba(8, 22, 45, 0.84);
}

.pricing-price-row {
  border-top-color: rgba(148, 163, 184, 0.16);
  border-bottom-color: rgba(148, 163, 184, 0.16);
}

.pricing-cta {
  border-color: rgba(0, 107, 255, 0.24);
  background: rgba(0, 107, 255, 0.08);
  color: #006bff;
}

.pricing-cta:hover {
  background: rgba(0, 107, 255, 0.12);
  box-shadow: 0 0 30px rgba(0, 107, 255, 0.18);
}

.pricing-cta-featured:hover {
  background: linear-gradient(135deg, #0053d8, #00a8ff);
}

.pricing-addon {
  background:
    radial-gradient(circle at 8% 20%, rgba(0, 107, 255, 0.12), transparent 26%),
    rgba(255, 255, 255, 0.78);
}

.pricing-addon-icon {
  border-color: rgba(0, 107, 255, 0.22);
  background: rgba(0, 107, 255, 0.08);
  box-shadow: 0 0 28px rgba(0, 107, 255, 0.1);
}

html.dark .pricing-luxury {
  color: #f8fafc;
}

html.dark .pricing-luxury-shell {
  border-color: rgba(148, 163, 184, 0.16);
  background:
    radial-gradient(circle at 18% 12%, rgba(0, 107, 255, 0.2), transparent 30%),
    radial-gradient(circle at 86% 22%, rgba(0, 168, 255, 0.16), transparent 28%),
    linear-gradient(145deg, rgba(8, 22, 45, 0.98) 0%, rgba(11, 29, 54, 0.96) 54%, rgba(4, 12, 24, 0.98) 100%);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.28);
}

html.dark .pricing-luxury-shell::before {
  background:
    linear-gradient(90deg, transparent, rgba(0, 168, 255, 0.08), transparent),
    repeating-linear-gradient(90deg, rgba(148, 163, 184, 0.055) 0 1px, transparent 1px 84px);
}

html.dark .pricing-luxury-title,
html.dark .pricing-card-title,
html.dark .pricing-addon-copy h3 {
  color: #f8fafc;
}

html.dark .pricing-luxury-subtitle,
html.dark .pricing-card-title-ar,
html.dark .pricing-target,
html.dark .pricing-price-note,
html.dark .pricing-addon-copy p,
html.dark .pricing-addon-price small {
  color: rgba(226, 232, 240, 0.74);
}

html.dark .pricing-trial-banner,
html.dark .pricing-card,
html.dark .pricing-addon {
  border-color: rgba(148, 163, 184, 0.14);
  background: rgba(15, 34, 63, 0.76);
  color: #e2e8f0;
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.22);
}

html.dark .pricing-card:hover {
  border-color: rgba(0, 168, 255, 0.34);
  background: rgba(15, 34, 63, 0.92);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.28), 0 0 34px rgba(0, 168, 255, 0.12);
}

html.dark .pricing-card-featured {
  border-color: rgba(0, 168, 255, 0.5);
  background:
    linear-gradient(180deg, rgba(0, 107, 255, 0.18), transparent 34%),
    rgba(15, 34, 63, 0.94);
  box-shadow: 0 28px 78px rgba(0, 0, 0, 0.3), 0 0 48px rgba(0, 168, 255, 0.14);
}

html.dark .pricing-feature-list li {
  color: rgba(248, 250, 252, 0.84);
}

html.dark .pricing-price-row {
  border-top-color: rgba(148, 163, 184, 0.14);
  border-bottom-color: rgba(148, 163, 184, 0.14);
}

html.dark .pricing-cta,
html.dark .pricing-luxury-kicker,
html.dark .pricing-tier-label,
html.dark .pricing-addon-label,
html.dark .pricing-addon-icon {
  border-color: rgba(0, 168, 255, 0.22);
  background: rgba(0, 168, 255, 0.08);
}

html.dark .pricing-addon {
  background:
    radial-gradient(circle at 8% 20%, rgba(0, 168, 255, 0.12), transparent 26%),
    rgba(15, 34, 63, 0.76);
}

html.dark .what-we-do-shell {
  border-color: rgba(148, 163, 184, 0.14);
  background:
    radial-gradient(circle at 16% 8%, rgba(0, 107, 255, 0.2), transparent 28%),
    radial-gradient(circle at 86% 80%, rgba(0, 168, 255, 0.16), transparent 30%),
    rgba(14, 35, 64, 0.72);
  box-shadow: 0 28px 76px rgba(0, 0, 0, 0.24);
}

html.dark .what-we-do-heading h2,
html.dark .what-service-copy h3,
html.dark .what-service-tab {
  color: #f8fafc;
}

html.dark .what-we-do-heading p,
html.dark .what-service-copy p:last-child {
  color: #b8c6d9;
}

html.dark .what-we-do-kicker,
html.dark .what-service-label,
html.dark .what-service-tab span {
  border-color: rgba(0, 168, 255, 0.2);
  background: rgba(0, 168, 255, 0.08);
  color: #66d6e7;
}

html.dark .what-service-tab,
html.dark .what-service-display,
html.dark .what-service-visual {
  border-color: rgba(148, 163, 184, 0.14);
  background: rgba(15, 34, 63, 0.72);
}

html.dark .what-service-tab:hover,
html.dark .what-service-tab.is-active {
  border-color: rgba(0, 168, 255, 0.3);
  background: rgba(15, 34, 63, 0.94);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.2), 0 0 24px rgba(0, 168, 255, 0.1);
}

html.dark .what-service-display {
  background:
    radial-gradient(circle at 22% 28%, rgba(0, 107, 255, 0.18), transparent 30%),
    linear-gradient(145deg, rgba(14, 35, 64, 0.9), rgba(8, 22, 45, 0.82));
}

html.dark .what-service-number {
  color: rgba(226, 232, 240, 0.32);
}

html.dark .home-work-header h2 {
  color: #f8fafc;
}

html.dark .home-work-header p {
  color: #b8c6d9;
}

html.dark .home-work-kicker,
html.dark .home-work-link {
  border-color: rgba(0, 168, 255, 0.22);
  background: rgba(0, 168, 255, 0.08);
  color: #66d6e7;
}

html.dark .home-work-card {
  border-color: rgba(148, 163, 184, 0.14);
  background: rgba(15, 34, 63, 0.76);
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.22);
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 9999px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 10px 28px rgba(8, 22, 45, 0.08);
  direction: ltr;
  transition:
    background-color 420ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 420ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 420ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.language-switcher button {
  min-width: 68px;
  border: 0;
  border-radius: 9999px;
  padding: 8px 12px;
  background: transparent;
  color: #52627c;
  font-family: "Sora", sans-serif;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 180ms ease;
}

.language-switcher button.is-active {
  background: linear-gradient(135deg, #006bff, #00a8ff);
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(0, 107, 255, 0.24);
}

.language-switcher-mobile {
  width: fit-content;
  margin-bottom: 8px;
}

.theme-toggle-wrap {
  display: inline-flex;
  align-items: center;
}

.theme-toggle-input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  border: 0;
  pointer-events: none;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  overflow: hidden;
  appearance: none;
  -webkit-appearance: none;
}

.toggleSwitch {
  width: 48px;
  height: 48px;
  display: grid;
  border-radius: 50%;
  position: relative;
  place-items: center;
  cursor: pointer;
  transition: transform 0.2s ease;
  line-height: 1;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(8, 22, 45, 0.1);
  transition:
    transform 0.28s ease,
    box-shadow 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.toggleSwitch .icon {
  grid-column: 1 / 1;
  grid-row: 1 / 1;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  z-index: 2;
  transform-origin: center center;
  transition:
    transform 500ms ease,
    opacity 300ms ease;
  opacity: 0;
  pointer-events: none;
}

.toggleSwitch .icon--moon {
  color: #212121;
  background-color: #e8e8e8;
  border-radius: 50%;
}

.toggleSwitch .icon--sun {
  color: #e8e8e8;
  background-color: #212121;
  border-radius: 50%;
}

.toggleSwitch .icon--moon,
.toggleSwitch .icon--sun {
  transform: rotate(0deg) scale(0);
  opacity: 0;
}

.theme-toggle-input:not(:checked) + .toggleSwitch .icon--sun {
  transform: rotate(360deg) scale(1);
  opacity: 1;
}

.theme-toggle-input:not(:checked) + .toggleSwitch .icon--moon {
  transform: rotate(0deg) scale(0);
  opacity: 0;
}

.theme-toggle-input:checked + .toggleSwitch .icon--moon {
  transform: rotate(360deg) scale(1);
  opacity: 1;
}

.theme-toggle-input:checked + .toggleSwitch .icon--sun {
  transform: rotate(0deg) scale(0);
  opacity: 0;
}

.theme-toggle-input:active + .toggleSwitch,
.toggleSwitch:active {
  transform: scale(0.94);
}

.toggleSwitch .icon svg {
  fill: currentColor !important;
  width: 24px;
  height: 24px;
}

.theme-toggle-mobile {
  margin-bottom: 8px;
}

.menu-toggle-input {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  border: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  appearance: none !important;
  -webkit-appearance: none !important;
}

.toggle2 {
  position: relative;
  width: 60px;
  height: 60px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition-duration: 0.5s;
}

.toggle2 .bars {
  width: 100%;
  height: 6px;
  background-color: rgb(92, 176, 255);
  border-radius: 6px;
}

.toggle2 .bar-middle {
  transition-duration: 0.8s;
}

.toggle2 .bar-top,
.toggle2 .bar-bottom {
  width: 80%;
}

.menu-toggle-input:checked + .toggle2 .bars {
  position: absolute;
  transition-duration: 0.5s;
}

.menu-toggle-input:checked + .toggle2 .bar-middle {
  transform: scaleX(0);
  transition-duration: 0.5s;
}

.menu-toggle-input:checked + .toggle2 .bar-top {
  width: 100%;
  transform: rotate(45deg);
  transition-duration: 0.5s;
}

.menu-toggle-input:checked + .toggle2 .bar-bottom {
  width: 100%;
  transform: rotate(-45deg);
  transition-duration: 0.5s;
}

.menu-toggle-input:checked + .toggle2 {
  transition-duration: 0.5s;
  transform: rotate(180deg);
}

.page-accent-grid {
  background-image: linear-gradient(rgba(148, 163, 184, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.08) 1px, transparent 1px);
  background-size: 48px 48px;
}

html[dir="rtl"] .copy-block,
html[dir="rtl"] .copy-block p,
html[dir="rtl"] .copy-block h2,
html[dir="rtl"] .copy-block h3 {
  text-align: right;
}

body,
header.fixed,
nav.fixed,
footer,
section,
.site-logo-link,
.font-headline-sm,
.font-headline-md,
.font-body-md,
.font-body-lg,
.font-button,
[class*="text-"],
[class*="bg-"],
[class*="border-"] {
  transition:
    color 520ms cubic-bezier(0.22, 1, 0.36, 1),
    background-color 520ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 520ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 520ms cubic-bezier(0.22, 1, 0.36, 1);
}

html.theme-animating body::before {
  transform: scale(1.04);
  filter: blur(10px);
}

html.theme-animating .glow-orb-primary {
  transform: translate3d(18px, -12px, 0) scale(1.06);
  opacity: 0.95;
}

html.theme-animating .glow-orb-secondary {
  transform: translate3d(-18px, 12px, 0) scale(1.08);
  opacity: 0.95;
}

html.theme-animating .glass-card,
html.theme-animating .glass-panel,
html.theme-animating .site-logo-footer,
html.theme-animating .language-switcher {
  transform: translateY(-2px);
}

html.dark body {
  background: #08162d;
  color: #f8fafc;
}

html.dark body::before {
  background:
    radial-gradient(circle at 18% 20%, rgba(0, 107, 255, 0.14), transparent 34%),
    radial-gradient(circle at 80% 76%, rgba(0, 168, 255, 0.12), transparent 38%),
    linear-gradient(180deg, rgba(8, 22, 45, 0.2), rgba(8, 22, 45, 0.65));
  opacity: 1;
}

html.dark .glow-orb-primary {
  background: radial-gradient(circle, rgba(0, 107, 255, 0.22) 0%, rgba(8, 22, 45, 0) 72%);
}

html.dark .glow-orb-secondary {
  background: radial-gradient(circle, rgba(0, 151, 167, 0.2) 0%, rgba(8, 22, 45, 0) 72%);
}

html.dark .hero-showcase {
  border-color: rgba(148, 163, 184, 0.12);
  background:
    radial-gradient(circle at top, rgba(0, 107, 255, 0.18), transparent 32%),
    radial-gradient(circle at 84% 22%, rgba(0, 168, 255, 0.16), transparent 24%),
    linear-gradient(180deg, rgba(11, 29, 54, 0.92) 0%, rgba(8, 22, 45, 0.9) 54%, rgba(8, 22, 45, 0.96) 100%);
  box-shadow: 0 32px 84px rgba(0, 0, 0, 0.22);
}

html.dark .hero-background-grid {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.08) 1px, transparent 1px);
  opacity: 0.68;
}

html.dark .hero-path-glow-primary {
  background: rgba(0, 107, 255, 0.22);
}

html.dark .hero-path-glow-secondary {
  background: rgba(0, 168, 255, 0.18);
}

html.dark .hero-path-svg--blue .hero-path {
  stroke: rgba(102, 182, 255, 0.3);
}

html.dark .hero-path-svg--cyan .hero-path {
  stroke: rgba(102, 214, 231, 0.24);
}

html.dark header.fixed,
html.dark nav.fixed {
  background: rgba(8, 22, 45, 0.82) !important;
  border-color: rgba(148, 163, 184, 0.16) !important;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

html.dark .glass-card {
  background: rgba(14, 35, 64, 0.66);
  border-color: rgba(148, 163, 184, 0.16);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
}

html.dark .glass-panel {
  background: rgba(14, 35, 64, 0.88);
  border-color: rgba(148, 163, 184, 0.16) !important;
}

html.dark .site-logo-footer {
  background: rgba(248, 250, 252, 0.98);
}

html.dark .language-switcher {
  background: rgba(14, 35, 64, 0.92);
  border-color: rgba(148, 163, 184, 0.18);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.24);
}

html.dark .language-switcher button {
  color: #d9e4f5;
}

html.dark .toggleSwitch {
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.26);
}

html.dark .toggle2 .bars {
  background-color: #8cc6ff;
}

html.dark .text-primary {
  color: #f8fafc !important;
}

html.dark .text-on-surface-variant {
  color: #b8c6d9 !important;
}

html.dark .text-on-background {
  color: #f8fafc !important;
}

html.dark .bg-surface,
html.dark .bg-background {
  background-color: #08162d !important;
}

html.dark .bg-surface-container-highest,
html.dark .bg-surface-container-lowest,
html.dark .bg-surface-container-low,
html.dark .bg-surface-variant {
  background-color: rgba(255, 255, 255, 0.05) !important;
}

html.dark .bg-white\/80 {
  background-color: rgba(8, 22, 45, 0.82) !important;
}

html.dark .bg-white {
  background-color: #f8fafc !important;
}

html.dark .border-outline-variant\/30,
html.dark .border-outline-variant\/20,
html.dark .border-white\/10,
html.dark .border-white\/20 {
  border-color: rgba(148, 163, 184, 0.18) !important;
}

html.dark .text-on-primary-container\/80 {
  color: rgba(217, 228, 245, 0.82) !important;
}

html.dark .text-on-primary-container\/90 {
  color: rgba(235, 242, 252, 0.92) !important;
}

html.dark .text-on-tertiary\/80 {
  color: rgba(235, 242, 252, 0.86) !important;
}

html.dark .bg-primary-container,
html.dark .bg-tertiary-container {
  background-color: #0b1d36 !important;
}

html.dark .shadow-sm,
html.dark .shadow-lg,
html.dark .shadow-2xl {
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22) !important;
}

@media (max-width: 767px) {
  body.menu-open {
    overflow: hidden;
  }

  header.fixed,
  nav.fixed {
    background: rgba(255, 255, 255, 0.92) !important;
    backdrop-filter: blur(18px);
  }

  .site-logo {
    height: 40px;
  }

  .toggle2 {
    width: 52px;
    height: 52px;
    gap: 9px;
  }

  .toggle2 .bars {
    height: 5px;
    border-radius: 9999px;
  }

  .mobile-menu {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    z-index: 45;
    padding-left: 16px;
    padding-right: 16px;
    padding-bottom: 0;
  }

  .mobile-menu .glass-panel {
    border-radius: 24px;
    padding: 14px;
    gap: 10px;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(18px);
    box-shadow: 0 22px 48px rgba(8, 22, 45, 0.16);
  }

  .theme-toggle-mobile {
    margin-bottom: 2px;
    justify-content: flex-end;
  }

  .language-switcher-mobile {
    width: 100%;
    justify-content: center;
    margin-bottom: 2px;
  }

  .language-switcher-mobile button {
    flex: 1 1 0;
  }

  .mobile-menu a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    border-radius: 16px;
    background: rgba(239, 246, 255, 0.82);
    border: 1px solid rgba(148, 163, 184, 0.12);
  }

  .hero-showcase {
    margin-top: 4px;
    border-radius: 28px;
    padding-top: 28px;
    padding-bottom: 28px;
    box-shadow: 0 18px 48px rgba(8, 22, 45, 0.08);
  }

  .hero-copy {
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .hero-background-grid {
    background-size: 44px 44px;
    opacity: 0.64;
  }

  .hero-path-svg {
    inset: -6% -28%;
    width: 156%;
    height: 122%;
    opacity: 0.78;
  }

  .hero-path-svg--cyan {
    opacity: 0.54;
  }

  .hero-path-glow-primary {
    top: -16%;
    left: -24%;
    width: 220px;
    height: 220px;
  }

  .hero-path-glow-secondary {
    right: -24%;
    bottom: -22%;
    width: 260px;
    height: 260px;
  }

  main.pt-32 {
    padding-top: 104px;
  }

  main section:first-child .text-center.max-w-3xl {
    max-width: 100%;
  }

  main section:first-child [data-i18n="hero.badge"] {
    margin-bottom: 18px;
    padding: 10px 16px;
    font-size: 12px;
  }

  main section:first-child h1 {
    font-size: 2.35rem !important;
    line-height: 1.05;
    letter-spacing: -0.04em;
    margin-bottom: 18px !important;
  }

  main section:first-child p[data-i18n="hero.description"] {
    font-size: 15px !important;
    line-height: 1.8;
    margin-bottom: 22px !important;
    max-width: 100%;
    padding-inline: 4px;
  }

  main section:first-child .flex.flex-col.sm\:flex-row {
    gap: 12px;
  }

  main section:first-child .flex.flex-col.sm\:flex-row a {
    width: 100%;
    min-height: 54px;
    border-radius: 18px;
    align-items: center;
  }

  #services {
    padding-top: 24px;
  }

  .glass-card {
    min-height: 0 !important;
    border-radius: 24px !important;
    padding: 24px !important;
  }

  .glass-card .material-symbols-outlined {
    font-size: 34px !important;
    margin-bottom: 16px !important;
  }

  .glass-card h3 {
    margin-bottom: 10px !important;
  }

  #process .grid.grid-cols-1.md\:grid-cols-4 {
    gap: 18px;
  }

  #process .w-24.h-24 {
    width: 76px !important;
    height: 76px !important;
    margin-bottom: 18px !important;
  }

  #process .w-8.h-8 {
    width: 28px !important;
    height: 28px !important;
    font-size: 12px !important;
  }

  #cta {
    margin-bottom: 8px;
  }

  #cta > div {
    border-radius: 28px !important;
    padding: 32px 20px !important;
  }

  #cta h2 {
    margin-bottom: 16px !important;
  }

  #cta p {
    margin-bottom: 24px !important;
    font-size: 15px !important;
    line-height: 1.75;
  }

  #cta a {
    width: 100%;
    justify-content: center;
    min-height: 54px;
    border-radius: 18px;
  }

  main.flex-grow > section:first-child {
    padding-top: 32px !important;
    padding-bottom: 36px !important;
  }

  main.flex-grow > section:first-child h1 {
    font-size: 2.15rem !important;
    line-height: 1.08;
    margin-bottom: 16px !important;
  }

  main.flex-grow > section:first-child p {
    font-size: 15px !important;
    line-height: 1.8;
    margin-bottom: 0 !important;
    max-width: 100% !important;
  }

  #philosophy .grid,
  #instagram .grid {
    gap: 18px !important;
  }

  #philosophy .rounded-2xl,
  #instagram .rounded-\[32px\],
  #instagram .rounded-\[28px\] {
    border-radius: 24px !important;
  }

  #philosophy .p-stack-md,
  #instagram .p-8,
  #instagram .p-6 {
    padding: 20px !important;
  }

  #instagram .grid.grid-cols-3 {
    gap: 10px !important;
  }

  #instagram .flex.flex-col.sm\:flex-row {
    gap: 12px !important;
  }

  #instagram .flex.flex-col.sm\:flex-row a {
    width: 100%;
    min-height: 52px;
  }

  header.pt-32 {
    padding-top: 104px !important;
    padding-bottom: 28px !important;
  }

  header.pt-32 h1 {
    font-size: 2.15rem !important;
    line-height: 1.08;
    margin-bottom: 16px !important;
  }

  header.pt-32 p {
    font-size: 15px !important;
    line-height: 1.8;
  }

  main.pb-32 .grid.grid-cols-1.md\:grid-cols-12 {
    gap: 18px !important;
  }

  main.pb-32 .group.cursor-pointer {
    margin-top: 0 !important;
  }

  main.pb-32 .h-\[400px\],
  main.pb-32 .h-\[300px\] {
    height: 250px !important;
  }

  main.pb-32 .rounded-xl {
    border-radius: 22px !important;
  }

  main.pb-32 h3 {
    margin-bottom: 6px;
  }

  footer nav {
    gap: 10px 16px !important;
  }

  footer .site-logo-footer {
    padding: 8px 12px;
  }

  html[dir="rtl"] .mobile-menu a,
  html[dir="rtl"] main section:first-child p[data-i18n="hero.description"],
  html[dir="rtl"] #cta p {
    text-align: right;
  }

  html.dark .mobile-menu .glass-panel {
    background: rgba(11, 29, 54, 0.94);
    box-shadow: 0 22px 48px rgba(0, 0, 0, 0.28);
  }

  html.dark .mobile-menu a {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(148, 163, 184, 0.14);
  }

  html.dark .hero-showcase {
    box-shadow: 0 18px 54px rgba(0, 0, 0, 0.22);
  }
}

.portfolio-page {
  display: grid;
  gap: 32px;
}

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

.portfolio-overview-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  border-radius: 28px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(241, 248, 255, 0.82)),
    radial-gradient(circle at top right, rgba(0, 168, 255, 0.14), transparent 38%);
  box-shadow: 0 24px 60px rgba(8, 22, 45, 0.08);
}

.portfolio-overview-card::after {
  content: "";
  position: absolute;
  inset: auto -16% -42% auto;
  width: 140px;
  height: 140px;
  border-radius: 9999px;
  background: radial-gradient(circle, rgba(0, 107, 255, 0.14), transparent 72%);
  pointer-events: none;
}

.portfolio-overview-value {
  font-family: "Sora", "Plus Jakarta Sans", sans-serif;
  font-size: clamp(1.85rem, 3vw, 2.7rem);
  font-weight: 700;
  line-height: 1;
  color: #061a32;
}

.portfolio-overview-label {
  max-width: 14ch;
  font-size: 0.98rem;
  line-height: 1.65;
  color: rgba(15, 23, 42, 0.72);
}

.portfolio-projects {
  display: grid;
  gap: 28px;
}

.portfolio-project {
  position: relative;
}

.portfolio-project-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(320px, 0.88fr);
  gap: 28px;
  align-items: stretch;
  padding: 28px;
  border-radius: 36px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(240, 247, 255, 0.82)),
    radial-gradient(circle at top left, rgba(0, 107, 255, 0.12), transparent 32%),
    radial-gradient(circle at bottom right, rgba(0, 168, 255, 0.1), transparent 30%);
  box-shadow: 0 30px 80px rgba(8, 22, 45, 0.09);
}

.portfolio-project--reverse .portfolio-viewer {
  order: 2;
}

.portfolio-project--reverse .portfolio-details {
  order: 1;
}

.portfolio-viewer {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.portfolio-preview-frame {
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: 520px;
  padding: 0;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 30px;
  background:
    linear-gradient(145deg, rgba(3, 18, 42, 0.98), rgba(10, 39, 77, 0.92)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 22px 60px rgba(8, 22, 45, 0.16);
  cursor: pointer;
  isolation: isolate;
}

.portfolio-preview-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: 0.45;
  pointer-events: none;
}

.portfolio-preview-image {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: contain;
  object-position: center top;
  padding: 28px;
}

.portfolio-preview-overlay {
  position: absolute;
  inset: auto 18px 18px 18px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(2, 8, 23, 0.4), rgba(2, 8, 23, 0.68));
  color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
}

.portfolio-preview-label {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.portfolio-preview-count {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.72);
}

.portfolio-thumb-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(92px, 92px);
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding: 4px 4px 10px;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 107, 255, 0.45) transparent;
}

.portfolio-thumb {
  position: relative;
  overflow: hidden;
  width: 92px;
  height: 92px;
  scroll-snap-align: start;
  padding: 0;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 12px 28px rgba(8, 22, 45, 0.08);
  cursor: pointer;
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    opacity 220ms ease;
}

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

.portfolio-thumb.is-active {
  border-color: rgba(0, 107, 255, 0.5);
  box-shadow:
    0 12px 28px rgba(8, 22, 45, 0.1),
    0 0 0 3px rgba(0, 107, 255, 0.14);
}

.portfolio-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.portfolio-details {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
  min-width: 0;
  padding: 6px 2px;
}

.portfolio-copy {
  display: grid;
  gap: 16px;
}

.portfolio-chip {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 10px 14px;
  border-radius: 9999px;
  border: 1px solid rgba(0, 107, 255, 0.12);
  background: rgba(0, 107, 255, 0.08);
  color: #0f4bbf;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.portfolio-title {
  font-family: "Sora", "Plus Jakarta Sans", sans-serif;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.06;
  letter-spacing: -0.04em;
  color: #061a32;
}

.portfolio-description {
  max-width: 34ch;
  font-size: 1.02rem;
  line-height: 1.9;
  color: rgba(15, 23, 42, 0.72);
}

.portfolio-metadata {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.portfolio-stat {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(255, 255, 255, 0.6);
}

.portfolio-stat-value {
  font-family: "Sora", "Plus Jakarta Sans", sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1;
  color: #061a32;
}

.portfolio-stat-label {
  font-size: 0.88rem;
  line-height: 1.65;
  color: rgba(15, 23, 42, 0.62);
}

.portfolio-deliverables {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.portfolio-deliverable {
  display: inline-flex;
  align-items: center;
  padding: 11px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(148, 163, 184, 0.16);
  color: rgba(15, 23, 42, 0.8);
  font-size: 0.88rem;
  font-weight: 600;
}

.portfolio-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.portfolio-open-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 22px;
  border: 0;
  border-radius: 18px;
  background: linear-gradient(135deg, #006bff, #0097a7);
  color: #fff;
  font-size: 0.96rem;
  font-weight: 700;
  box-shadow: 0 18px 34px rgba(0, 107, 255, 0.24);
  cursor: pointer;
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    opacity 220ms ease;
}

.portfolio-open-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 40px rgba(0, 107, 255, 0.28);
}

.portfolio-rail-hint {
  font-size: 0.9rem;
  color: rgba(15, 23, 42, 0.56);
}

body.lightbox-open {
  overflow: hidden;
}

.portfolio-lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 20px;
}

.portfolio-lightbox-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background:
    radial-gradient(circle at top, rgba(0, 168, 255, 0.12), transparent 28%),
    rgba(2, 6, 23, 0.86);
  backdrop-filter: blur(14px);
}

.portfolio-lightbox-panel {
  position: relative;
  z-index: 1;
  width: min(1220px, 100%);
  max-height: calc(100vh - 40px);
  overflow: hidden;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(4, 18, 40, 0.96), rgba(2, 11, 25, 0.96)),
    radial-gradient(circle at top right, rgba(0, 107, 255, 0.18), transparent 30%);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.34);
}

.portfolio-lightbox-topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 24px 12px;
}

.portfolio-lightbox-kicker {
  margin: 0 0 6px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(125, 211, 252, 0.78);
}

.portfolio-lightbox-title {
  margin: 0;
  font-family: "Sora", "Plus Jakarta Sans", sans-serif;
  font-size: clamp(1.6rem, 2.5vw, 2.35rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #f8fbff;
}

.portfolio-lightbox-close,
.portfolio-lightbox-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  color: #f8fbff;
  cursor: pointer;
  transition:
    background-color 220ms ease,
    transform 220ms ease,
    border-color 220ms ease;
}

.portfolio-lightbox-close:hover,
.portfolio-lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

.portfolio-lightbox-stage {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  min-height: 0;
  padding: 12px 24px 18px;
}

.portfolio-lightbox-image {
  width: 100%;
  max-height: min(68vh, 780px);
  object-fit: contain;
  object-position: center;
  border-radius: 26px;
  background:
    linear-gradient(145deg, rgba(8, 19, 39, 0.96), rgba(10, 39, 77, 0.82)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.portfolio-lightbox-footer {
  display: grid;
  gap: 14px;
  padding: 0 24px 24px;
}

.portfolio-lightbox-counter {
  margin: 0;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.7);
}

.portfolio-lightbox-thumbs {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(88px, 88px);
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding-bottom: 4px;
  scrollbar-width: thin;
  scrollbar-color: rgba(125, 211, 252, 0.42) transparent;
}

.portfolio-lightbox-thumb {
  overflow: hidden;
  width: 88px;
  height: 88px;
  scroll-snap-align: start;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  opacity: 0.65;
  cursor: pointer;
  transition:
    opacity 220ms ease,
    transform 220ms ease,
    border-color 220ms ease;
}

.portfolio-lightbox-thumb.is-active {
  opacity: 1;
  transform: translateY(-2px);
  border-color: rgba(125, 211, 252, 0.55);
}

.portfolio-lightbox-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

html[dir="rtl"] .portfolio-overview-card,
html[dir="rtl"] .portfolio-details,
html[dir="rtl"] .portfolio-copy,
html[dir="rtl"] .portfolio-lightbox-topbar,
html[dir="rtl"] .portfolio-lightbox-footer {
  text-align: right;
}

html[dir="rtl"] .portfolio-preview-overlay,
html[dir="rtl"] .portfolio-actions {
  flex-direction: row-reverse;
}

html[dir="rtl"] .portfolio-open-button span[aria-hidden="true"] {
  transform: scaleX(-1);
}

html.dark .portfolio-overview-card {
  border-color: rgba(125, 211, 252, 0.12);
  background:
    linear-gradient(180deg, rgba(7, 22, 43, 0.92), rgba(8, 28, 53, 0.9)),
    radial-gradient(circle at top right, rgba(0, 168, 255, 0.16), transparent 38%);
  box-shadow: 0 30px 84px rgba(0, 0, 0, 0.26);
}

html.dark .portfolio-overview-value,
html.dark .portfolio-title,
html.dark .portfolio-stat-value {
  color: #f8fbff;
}

html.dark .portfolio-overview-label,
html.dark .portfolio-description,
html.dark .portfolio-stat-label,
html.dark .portfolio-rail-hint {
  color: rgba(226, 232, 240, 0.74);
}

html.dark .portfolio-project-shell {
  border-color: rgba(125, 211, 252, 0.1);
  background:
    linear-gradient(180deg, rgba(7, 22, 43, 0.96), rgba(5, 18, 36, 0.94)),
    radial-gradient(circle at top left, rgba(0, 107, 255, 0.18), transparent 34%),
    radial-gradient(circle at bottom right, rgba(0, 168, 255, 0.12), transparent 30%);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.3);
}

html.dark .portfolio-thumb,
html.dark .portfolio-stat,
html.dark .portfolio-deliverable {
  border-color: rgba(148, 163, 184, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(241, 245, 249, 0.82);
}

html.dark .portfolio-chip {
  border-color: rgba(125, 211, 252, 0.18);
  background: rgba(56, 189, 248, 0.12);
  color: #93ddff;
}

/* Basic portfolio override */
.portfolio-page {
  gap: 24px;
}

.portfolio-overview {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.portfolio-overview-card {
  padding: 18px 20px;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

.portfolio-overview-card::after {
  display: none;
}

.portfolio-overview-value {
  font-size: 1.8rem;
}

.portfolio-overview-label {
  max-width: none;
  font-size: 0.92rem;
}

.portfolio-projects {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.portfolio-project-shell {
  grid-template-columns: 1fr;
  gap: 16px;
  padding: 16px;
  border-radius: 20px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.07);
}

.portfolio-project--reverse .portfolio-viewer,
.portfolio-project--reverse .portfolio-details {
  order: initial;
}

.portfolio-viewer {
  gap: 12px;
}

.portfolio-preview-frame {
  min-height: auto;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: #f8fafc;
  box-shadow: none;
}

.portfolio-preview-frame::before {
  display: none;
}

.portfolio-preview-image {
  min-height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center top;
  padding: 0;
}

.portfolio-preview-overlay {
  display: none;
}

.portfolio-thumb-rail {
  grid-auto-columns: minmax(64px, 64px);
  gap: 8px;
  padding: 0 0 2px;
}

.portfolio-thumb {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: none;
}

.portfolio-thumb:hover,
.portfolio-thumb.is-active {
  transform: none;
}

.portfolio-thumb.is-active {
  border-color: rgba(0, 107, 255, 0.45);
  box-shadow: 0 0 0 2px rgba(0, 107, 255, 0.12);
}

.portfolio-details {
  gap: 14px;
  padding: 0;
}

.portfolio-copy {
  gap: 12px;
}

.portfolio-chip {
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}

.portfolio-title {
  font-size: 1.45rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.portfolio-description {
  max-width: none;
  font-size: 0.94rem;
  line-height: 1.8;
}

.portfolio-metadata {
  gap: 10px;
}

.portfolio-stat {
  gap: 6px;
  padding: 12px;
  border-radius: 14px;
  background: #f8fafc;
}

.portfolio-stat-value {
  font-size: 1rem;
}

.portfolio-stat-label {
  font-size: 0.8rem;
  line-height: 1.5;
}

.portfolio-deliverables {
  display: none;
}

.portfolio-actions {
  justify-content: space-between;
  align-items: center;
}

.portfolio-open-button {
  min-height: 46px;
  padding: 0 16px;
  border-radius: 12px;
  box-shadow: none;
}

.portfolio-open-button:hover {
  box-shadow: none;
}

.portfolio-rail-hint {
  display: none;
}

.portfolio-lightbox-panel {
  border-radius: 22px;
  background: rgba(7, 18, 34, 0.98);
}

.portfolio-lightbox-topbar {
  padding: 18px 18px 10px;
}

.portfolio-lightbox-stage {
  padding: 8px 18px 14px;
}

.portfolio-lightbox-image {
  border-radius: 18px;
}

.portfolio-lightbox-footer {
  padding: 0 18px 18px;
}

html.dark .portfolio-overview-card,
html.dark .portfolio-project-shell {
  background: rgba(11, 29, 54, 0.94);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.2);
}

html.dark .portfolio-thumb,
html.dark .portfolio-stat {
  background: rgba(255, 255, 255, 0.04);
}

html.dark .portfolio-overview-label,
html.dark .portfolio-description,
html.dark .portfolio-stat-label {
  color: rgba(226, 232, 240, 0.72);
}

@media (max-width: 1023px) {
  .portfolio-projects {
    grid-template-columns: 1fr;
  }

  .portfolio-project-shell {
    grid-template-columns: 1fr;
  }

  .portfolio-project--reverse .portfolio-viewer,
  .portfolio-project--reverse .portfolio-details {
    order: initial;
  }

  .portfolio-preview-frame,
  .portfolio-preview-image {
    min-height: 420px;
  }
}

@media (max-width: 767px) {
  .portfolio-overview {
    grid-template-columns: 1fr;
  }

  .portfolio-projects {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .portfolio-page {
    gap: 18px;
  }

  .portfolio-overview-card,
  .portfolio-project-shell {
    border-radius: 18px;
  }

  .portfolio-overview-card {
    padding: 16px;
  }

  .portfolio-project-shell {
    gap: 14px;
    padding: 14px;
  }

  .portfolio-preview-frame,
  .portfolio-preview-image {
    min-height: auto;
  }

  .portfolio-preview-image {
    aspect-ratio: 4 / 3;
  }

  .portfolio-thumb-rail {
    grid-auto-columns: minmax(58px, 58px);
    gap: 8px;
  }

  .portfolio-thumb {
    width: 58px;
    height: 58px;
    border-radius: 10px;
  }

  .portfolio-title {
    font-size: 1.2rem;
  }

  .portfolio-description {
    font-size: 0.9rem;
    line-height: 1.7;
  }

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

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

  .portfolio-open-button {
    width: 100%;
    min-height: 44px;
  }

  .portfolio-lightbox {
    padding: 12px;
  }

  .portfolio-lightbox-panel {
    max-height: calc(100vh - 24px);
    border-radius: 26px;
  }

  .portfolio-lightbox-topbar {
    padding: 16px 16px 10px;
  }

  .portfolio-lightbox-stage {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 8px 16px 14px;
  }

  .portfolio-lightbox-nav {
    position: absolute;
    bottom: 18px;
    z-index: 2;
    width: 46px;
    height: 46px;
    border-radius: 16px;
    background: rgba(2, 6, 23, 0.52);
  }

  .portfolio-lightbox-nav--prev {
    left: 28px;
  }

  .portfolio-lightbox-nav--next {
    right: 28px;
  }

  .portfolio-lightbox-image {
    max-height: 58vh;
    border-radius: 22px;
  }

  .portfolio-lightbox-footer {
    padding: 0 16px 16px;
  }

  .portfolio-lightbox-thumbs {
    grid-auto-columns: minmax(72px, 72px);
    gap: 10px;
  }

  .portfolio-lightbox-thumb {
    width: 72px;
    height: 72px;
    border-radius: 16px;
  }
}

/* Minimal portfolio layout */
.portfolio-overview {
  display: none;
}

.portfolio-page {
  gap: 0;
}

.portfolio-projects {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.portfolio-minimal-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.portfolio-minimal-cover {
  display: block;
  padding: 0;
  border: 0;
  background: #f8fafc;
  cursor: pointer;
}

.portfolio-minimal-image {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center top;
}

.portfolio-minimal-body {
  display: grid;
  gap: 14px;
  padding: 16px;
}

.portfolio-minimal-copy {
  display: grid;
  gap: 8px;
}

.portfolio-minimal-title {
  margin: 0;
  font-family: "Plus Jakarta Sans", "IBM Plex Sans Arabic", sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.4;
  color: #0f172a;
}

.portfolio-minimal-description {
  margin: 0;
  font-size: 0.93rem;
  line-height: 1.75;
  color: rgba(15, 23, 42, 0.7);
}

.portfolio-minimal-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.84rem;
  color: rgba(15, 23, 42, 0.58);
}

.portfolio-minimal-thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.portfolio-minimal-thumb {
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 10px;
  background: #ffffff;
  cursor: pointer;
}

.portfolio-minimal-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.portfolio-minimal-thumb--more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
  font-weight: 700;
  color: #0f172a;
  background: #f8fafc;
}

.portfolio-minimal-button {
  min-height: 42px;
  width: fit-content;
  padding: 0 14px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 10px;
  background: #ffffff;
  color: #0f172a;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
}

.portfolio-lightbox-backdrop {
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(8px);
}

.portfolio-lightbox-panel {
  border: 0;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.2);
}

.portfolio-lightbox-kicker {
  display: none;
}

.portfolio-lightbox-title {
  color: #0f172a;
  font-family: "Plus Jakarta Sans", "IBM Plex Sans Arabic", sans-serif;
  font-size: 1.2rem;
  letter-spacing: 0;
}

.portfolio-lightbox-close,
.portfolio-lightbox-nav {
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: #ffffff;
  color: #0f172a;
}

.portfolio-lightbox-close:hover,
.portfolio-lightbox-nav:hover {
  background: #f8fafc;
  transform: none;
}

.portfolio-lightbox-image {
  background: #f8fafc;
}

.portfolio-lightbox-counter {
  color: rgba(15, 23, 42, 0.62);
}

.portfolio-lightbox-thumb {
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: #ffffff;
  opacity: 1;
}

.portfolio-lightbox-thumb.is-active {
  transform: none;
  border-color: rgba(15, 23, 42, 0.45);
}

html[dir="rtl"] .portfolio-minimal-meta {
  flex-direction: row-reverse;
}

html.dark .portfolio-minimal-card {
  border-color: rgba(148, 163, 184, 0.14);
  background: rgba(11, 29, 54, 0.96);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22);
}

html.dark .portfolio-minimal-cover,
html.dark .portfolio-minimal-thumb--more,
html.dark .portfolio-lightbox-panel,
html.dark .portfolio-lightbox-close,
html.dark .portfolio-lightbox-nav {
  background: #0f223f;
}

html.dark .portfolio-minimal-title,
html.dark .portfolio-lightbox-title,
html.dark .portfolio-minimal-button {
  color: #f8fafc;
}

html.dark .portfolio-minimal-description,
html.dark .portfolio-minimal-meta,
html.dark .portfolio-lightbox-counter {
  color: rgba(226, 232, 240, 0.72);
}

html.dark .portfolio-minimal-thumb,
html.dark .portfolio-minimal-button,
html.dark .portfolio-lightbox-thumb,
html.dark .portfolio-lightbox-close,
html.dark .portfolio-lightbox-nav,
html.dark .portfolio-lightbox-image {
  border-color: rgba(148, 163, 184, 0.14);
  background: #0f223f;
}

.kliqo-chatbot {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 70;
  font-family: "Plus Jakarta Sans", "IBM Plex Sans Arabic", sans-serif;
}

html[dir="rtl"] .kliqo-chatbot {
  right: 24px;
  left: auto;
}

.kliqo-chatbot-toggle {
  width: 68px;
  height: 68px;
  border: 1px solid rgba(0, 107, 255, 0.28);
  border-radius: 9999px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 38% 28%, rgba(255, 255, 255, 0.22), rgba(0, 37, 96, 0.84));
  color: #ffffff;
  box-shadow: 0 18px 38px rgba(0, 107, 255, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.22);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.kliqo-chatbot-toggle:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 22px 44px rgba(0, 107, 255, 0.32);
}

.kliqo-chatbot-toggle img {
  width: 68px;
  height: 68px;
  border-radius: 9999px;
  object-fit: cover;
}

.kliqo-chatbot-panel {
  position: absolute;
  right: 0;
  bottom: 76px;
  width: min(380px, calc(100vw - 32px));
  height: min(560px, calc(100vh - 120px));
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 80px rgba(8, 22, 45, 0.2);
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px) scale(0.98);
  transform-origin: bottom right;
  transition: opacity 180ms ease, transform 180ms ease;
}

html[dir="rtl"] .kliqo-chatbot-panel {
  right: 0;
  left: auto;
  transform-origin: bottom right;
}

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

.kliqo-chatbot-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 20px;
  background: linear-gradient(135deg, #102444, #006bff);
  color: #ffffff;
}

.kliqo-chatbot-identity {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.kliqo-chatbot-avatar {
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
}

.kliqo-chatbot-header span[data-chatbot-i18n] {
  display: inline-flex;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

html[dir="rtl"] .kliqo-chatbot-header span[data-chatbot-i18n] {
  letter-spacing: 0;
}

.kliqo-chatbot-header h2 {
  margin: 0;
  color: #ffffff;
  font-family: "Sora", "IBM Plex Sans Arabic", sans-serif;
  font-size: 1.18rem;
  font-weight: 800;
}

.kliqo-chatbot-header p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.88rem;
  line-height: 1.5;
}

.kliqo-chatbot-close {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.kliqo-chatbot-messages {
  min-height: 0;
  overflow-y: auto;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.84), rgba(255, 255, 255, 0.96));
}

.kliqo-chat-message {
  max-width: 86%;
  padding: 12px 14px;
  border-radius: 18px;
  font-size: 0.92rem;
  line-height: 1.6;
  white-space: pre-wrap;
}

.kliqo-chat-message--assistant {
  align-self: flex-start;
  border-bottom-left-radius: 6px;
  background: #eef4ff;
  color: #102444;
}

.kliqo-chat-message--user {
  align-self: flex-end;
  border-bottom-right-radius: 6px;
  background: #006bff;
  color: #ffffff;
}

html[dir="rtl"] .kliqo-chat-message--assistant {
  align-self: flex-end;
  border-bottom-left-radius: 18px;
  border-bottom-right-radius: 6px;
}

html[dir="rtl"] .kliqo-chat-message--user {
  align-self: flex-start;
  border-bottom-right-radius: 18px;
  border-bottom-left-radius: 6px;
}

.kliqo-chatbot-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  padding: 14px;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  background: #ffffff;
}

.kliqo-chatbot-form input {
  min-width: 0;
  min-height: 46px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 14px;
  padding: 0 14px;
  background: #f8fafc;
  color: #0f172a;
  outline: none;
}

.kliqo-chatbot-form input:focus {
  border-color: rgba(0, 107, 255, 0.52);
  box-shadow: 0 0 0 4px rgba(0, 107, 255, 0.1);
}

.kliqo-chatbot-form button {
  min-height: 46px;
  border: 0;
  border-radius: 14px;
  padding: 0 18px;
  background: #006bff;
  color: #ffffff;
  font-weight: 800;
  transition: transform 180ms ease, opacity 180ms ease;
}

.kliqo-chatbot-form button:hover {
  transform: translateY(-1px);
}

.kliqo-chatbot-form button:disabled {
  cursor: wait;
  opacity: 0.68;
  transform: none;
}

html.dark .kliqo-chatbot-panel {
  border-color: rgba(148, 163, 184, 0.14);
  background: rgba(11, 29, 54, 0.98);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.36);
}

html.dark .kliqo-chatbot-toggle {
  border-color: rgba(148, 163, 184, 0.2);
  background: rgba(15, 34, 63, 0.94);
}

html.dark .kliqo-chatbot-messages {
  background: linear-gradient(180deg, rgba(8, 22, 45, 0.95), rgba(11, 29, 54, 0.98));
}

html.dark .kliqo-chat-message--assistant {
  background: #132b4d;
  color: #e2e8f0;
}

html.dark .kliqo-chatbot-form {
  border-color: rgba(148, 163, 184, 0.14);
  background: #0b1d36;
}

html.dark .kliqo-chatbot-form input {
  border-color: rgba(148, 163, 184, 0.18);
  background: #0f223f;
  color: #f8fafc;
}

@media (max-width: 767px) {
  .kliqo-chatbot {
    right: 16px;
    bottom: 16px;
  }

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

  .kliqo-chatbot-panel {
    width: calc(100vw - 32px);
    height: min(540px, calc(100vh - 104px));
    bottom: 72px;
  }

  .kliqo-chatbot-form {
    grid-template-columns: 1fr;
  }

  .kliqo-chatbot-header {
    padding: 16px;
  }

  .kliqo-chatbot-avatar {
    width: 48px;
    height: 48px;
    border-radius: 16px;
  }

  .portfolio-projects {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .portfolio-minimal-body {
    padding: 14px;
  }

  .portfolio-minimal-title {
    font-size: 1.05rem;
  }

  .portfolio-minimal-description {
    font-size: 0.88rem;
  }

  .portfolio-minimal-thumb {
    width: 52px;
    height: 52px;
  }

  .portfolio-minimal-button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-path {
    animation: none !important;
    opacity: 0.34;
  }

  .mobile-menu,
  .toggleSwitch,
  .toggleSwitch .icon,
  .toggle2,
  .toggle2 .bars,
  .group img,
  .group div,
  .group span,
  .group a,
  .group button {
    transition: none !important;
  }
}
