:root {
  --bg-0: #020a14;
  --bg-1: #06182c;
  --panel: rgba(7, 20, 36, 0.9);
  --panel-strong: #071f34;
  --border: rgba(108, 158, 196, 0.24);
  --text: #f1f6fb;
  --muted: #bfd2e3;
  --accent: #41d772;
  --accent-strong: #2db65a;
  --shadow: 0 16px 38px rgba(0, 0, 0, 0.46);
  --radius-xl: 16px;
  --radius-lg: 13px;
  --radius-md: 11px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

html {
  overflow-y: auto;
}

body {
  overflow-y: hidden;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Outfit", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 13%, rgba(44, 120, 82, 0.14), transparent 34%),
    radial-gradient(circle at 83% 7%, rgba(30, 89, 130, 0.2), transparent 32%),
    linear-gradient(145deg, var(--bg-0) 0%, var(--bg-1) 53%, #020912 100%);
  line-height: 1.45;
  min-height: 100vh;
}

[dir="rtl"] body {
  font-family: "Tajawal", "Outfit", "Segoe UI", sans-serif;
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 1em;
  height: 1em;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.site-main {
  overflow: visible;
  width: 100%;
  max-width: 100%;
}

body::before,
body::after {
  content: "";
  position: fixed;
  top: 72px;
  bottom: 0;
  width: 190px;
  pointer-events: none;
  z-index: -1;
  opacity: 0.16;
  background-image: url("assets/monument.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center bottom;
}

body::before {
  left: 0;
}

body::after {
  right: 0;
  transform: scaleX(-1) translateX(-10px);
  transform-origin: center;
}

.page-wrap {
  width: min(1480px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.2rem 0 2rem;
}

.topbar {
  display: grid;
  grid-template-columns: 285px 1fr auto;
  align-items: center;
  gap: 1rem;
}

.site-menu {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
}

.site-menu .main-nav {
  margin-inline: auto;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(125, 171, 204, 0.35);
  border-radius: 14px;
  background: rgba(8, 24, 40, 0.72);
  cursor: pointer;
  transition: 150ms ease;
}

.nav-toggle:hover {
  border-color: rgba(125, 171, 204, 0.6);
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: #d8e7f4;
  transition: transform 200ms ease, opacity 150ms ease;
}

.nav-toggle-bars {
  position: relative;
}

.nav-toggle-bars::before {
  position: absolute;
  inset-block-start: -6px;
  inset-inline-start: 0;
}

.nav-toggle-bars::after {
  position: absolute;
  inset-block-start: 6px;
  inset-inline-start: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after {
  transform: translateY(-6px) rotate(-45deg);
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand img {
  width: min(285px, 100%);
  height: auto;
}

.main-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.45rem;
}

.main-nav a {
  text-decoration: none;
  color: #d8e7f4;
  font-size: 1rem;
  font-weight: 500;
  padding: 0.58rem 0;
  border-bottom: 3px solid transparent;
  transition: 150ms ease;
}

.main-nav a:hover {
  color: #ffffff;
}

.main-nav a.is-current {
  color: #ffffff;
  border-bottom-color: var(--accent);
}

.topbar-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(125, 171, 204, 0.35);
  border-radius: 999px;
  background: rgba(8, 24, 40, 0.72);
  padding: 0.2rem;
}

.lang-btn {
  border: 0;
  background: transparent;
  color: #cce0ee;
  font: inherit;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  border-radius: 999px;
  padding: 0.35rem 0.58rem;
  cursor: pointer;
  transition: 150ms ease;
}

.lang-btn:hover {
  color: #ffffff;
}

.lang-btn.is-active {
  color: #042516;
  background: linear-gradient(135deg, #56e688, #3abb66);
}

.join-btn,
.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.58rem;
  text-decoration: none;
  border-radius: var(--radius-md);
  font-weight: 700;
  transition: 160ms ease;
}

.join-btn {
  color: #e9f7ee;
  font-size: 0.98rem;
  padding: 0.8rem 1.15rem;
  border: 1px solid rgba(126, 233, 166, 0.3);
  background: linear-gradient(135deg, #3ccc6c, #30af5b);
  box-shadow: 0 10px 24px rgba(41, 162, 87, 0.32);
  white-space: nowrap;
}

.btn-primary,
.btn-secondary {
  padding: 0.84rem 1.2rem;
  font-size: 1rem;
}

.btn-primary {
  color: #e9f7ee;
  border: 1px solid rgba(130, 234, 168, 0.28);
  background: linear-gradient(135deg, #40cf70, #31b15c);
}

.btn-secondary {
  color: #e8f0f8;
  border: 1px solid rgba(132, 181, 217, 0.35);
  background: rgba(10, 26, 42, 0.84);
}

.join-btn:hover,
.btn-primary:hover,
.btn-secondary:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.lang-btn:focus-visible,
.join-btn:focus-visible,
.btn-primary:focus-visible,
.btn-secondary:focus-visible,
.phone-open-trigger:focus-visible,
.phone-modal-close:focus-visible,
.phone-preview-expand:focus-visible,
.phone-mockup:focus-visible,
.nav-toggle:focus-visible,
.main-nav a:focus-visible {
  outline: 2px solid rgba(126, 233, 166, 0.9);
  outline-offset: 2px;
}

html.phone-modal-lock,
body.phone-modal-lock {
  overflow: hidden;
}

.plane {
  width: 0.95rem;
  height: 0.95rem;
}

.hero-panel {
  margin-top: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 66% 32%, rgba(26, 82, 55, 0.22), transparent 40%),
    linear-gradient(145deg, rgba(4, 16, 30, 0.95), rgba(4, 22, 37, 0.91));
  box-shadow: var(--shadow);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  min-height: 540px;
  position: relative;
}

.hero-monument {
  position: absolute;
  left: 0;
  top: 0;
  width: 54%;
  height: 100%;
  object-fit: cover;
  object-position: left bottom;
  pointer-events: none;
  opacity: 0.055;
  mix-blend-mode: normal;
  filter: saturate(0.72) contrast(0.98);
  z-index: 0;
}

.hero-copy {
  position: relative;
  z-index: 1;
  padding: 2.65rem 1.25rem 2rem 2rem;
}

.hero-kicker {
  margin: 0;
  color: #83ebb0;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 700;
}

.hero-copy h1 {
  margin: 0.55rem 0 0;
  font-size: clamp(2rem, 4vw, 3.85rem);
  line-height: 1.04;
  letter-spacing: -0.018em;
  max-width: 11.7ch;
  text-wrap: balance;
}

[data-lang="fr"] .hero-copy h1 {
  max-width: 12ch;
}

[data-lang="ar"] .hero-copy h1 {
  max-width: 9.8ch;
  line-height: 1.13;
  letter-spacing: 0;
}

.hero-copy h1 span {
  color: var(--accent);
}

.hero-sub {
  margin: 1rem 0 0;
  color: var(--muted);
  max-width: 55ch;
  font-size: 1.03rem;
}

[data-lang="ar"] .hero-sub {
  max-width: 42ch;
}

.hero-actions {
  margin-top: 1.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.hero-mini-proof {
  margin: 0.8rem 0 0;
  color: #96d9b4;
  font-size: 0.93rem;
  font-weight: 500;
}

.hero-trust {
  margin: 0.92rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.54rem;
}

.hero-trust li {
  border: 1px solid rgba(97, 155, 190, 0.26);
  border-radius: 10px;
  background: rgba(9, 30, 48, 0.74);
  padding: 0.5rem 0.65rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #d5e4f1;
  font-size: 0.9rem;
}

.hero-trust-icon {
  color: #8ef0b8;
  width: 1.03rem;
  height: 1.03rem;
}

.hero-visuals {
  position: relative;
  border-left: 1px solid rgba(86, 134, 169, 0.18);
  min-height: 540px;
  overflow: hidden;
}

.map-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
  opacity: 0.84;
}

.flag-art {
  position: absolute;
  right: 0;
  top: 62px;
  width: 255px;
  opacity: 0.42;
}

.section-intro {
  display: grid;
  gap: 0.32rem;
}

.section-intro h2 {
  margin: 0;
  font-size: clamp(1.34rem, 2vw, 1.84rem);
  line-height: 1.2;
}

.section-intro p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
  max-width: 70ch;
}

.how-panel,
.live-feed-panel,
.features-panel,
.cities-panel,
.faq-panel,
.bottom-banner {
  margin-top: 1rem;
}

.how-panel,
.live-feed-panel,
.features-panel,
.cities-panel,
.faq-panel {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--panel);
  box-shadow: var(--shadow);
  padding: 1rem;
}

.how-grid {
  margin-top: 0.85rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.live-feed-intro {
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 0.8rem;
}

.live-feed-title-wrap {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  column-gap: 0.58rem;
  row-gap: 0.2rem;
}

.live-feed-title-wrap h2 {
  margin: 0;
}

.live-feed-title-wrap p {
  grid-column: 2;
}

.live-feed-title-icon {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  font-size: 1.08rem;
  color: #8ef0b8;
  background: rgba(31, 111, 73, 0.2);
  border: 1px solid rgba(110, 213, 152, 0.42);
}

.live-feed-title-icon .icon {
  width: 1.08rem;
  height: 1.08rem;
}

.live-feed-panel {
  scroll-margin-top: 6rem;
  border-color: rgba(71, 140, 100, 0.5);
  background:
    radial-gradient(circle at 86% 22%, rgba(37, 114, 74, 0.2), transparent 40%),
    linear-gradient(145deg, rgba(3, 16, 30, 0.95), rgba(5, 28, 44, 0.9));
}

.live-feed-status {
  margin: 0;
  display: grid;
  justify-items: end;
  gap: 0.18rem;
  text-align: right;
}

.live-feed-status-main {
  color: #7fe5ab;
  font-size: 1rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
}

.live-feed-status-dot {
  width: 0.52rem;
  height: 0.52rem;
  border-radius: 999px;
  background: #7fe5ab;
  box-shadow: 0 0 0 3px rgba(127, 229, 171, 0.14);
  flex-shrink: 0;
}

.live-feed-status-date {
  color: #d4deea;
  font-size: 0.95rem;
}

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

.live-feed-controls {
  margin-top: 0.95rem;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.7rem;
}

.live-feed-controls[hidden] {
  display: none;
}

.live-feed-controls-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
}

.live-feed-facets {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.live-feed-facet {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.6rem;
}

.live-feed-facet[hidden] {
  display: none;
}

.live-feed-facet-label {
  flex: 0 0 auto;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--muted);
}

.live-feed-dropdown {
  position: relative;
  flex: 0 1 auto;
  min-width: 0;
}

.live-feed-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  max-width: 18rem;
  padding: 0.42rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(7, 24, 40, 0.8);
  color: var(--text);
  font: inherit;
  font-size: 0.85rem;
  cursor: pointer;
}

.live-feed-dropdown-trigger:hover {
  border-color: rgba(126, 233, 166, 0.5);
}

.live-feed-dropdown-trigger:focus-visible {
  outline: 2px solid rgba(126, 233, 166, 0.9);
  outline-offset: 2px;
}

.live-feed-dropdown-value {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.live-feed-dropdown-caret {
  flex: 0 0 auto;
  width: 0.7rem;
  height: 0.7rem;
  transition: transform 0.2s ease;
}

.live-feed-dropdown.is-open .live-feed-dropdown-caret {
  transform: rotate(180deg);
}

.live-feed-dropdown-panel {
  position: absolute;
  top: calc(100% + 0.4rem);
  inset-inline-start: 0;
  z-index: 40;
  min-width: 14rem;
  max-width: min(24rem, 84vw);
  max-height: 17rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.45rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--panel-strong);
  box-shadow: var(--shadow);
}

.live-feed-dropdown-panel[hidden] {
  display: none;
}

.live-feed-dropdown-panel .live-feed-chip {
  width: 100%;
  text-align: start;
  border-radius: 8px;
  white-space: normal;
}

.live-feed-search {
  flex: 1 1 14rem;
  min-width: 0;
  padding: 0.6rem 0.95rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(4, 18, 32, 0.85);
  color: var(--text);
  font: inherit;
  font-size: 0.95rem;
}

.live-feed-search::placeholder {
  color: var(--muted);
}

.live-feed-search:focus-visible {
  outline: 2px solid rgba(126, 233, 166, 0.9);
  outline-offset: 2px;
}

.live-feed-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.live-feed-chip {
  padding: 0.42rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(7, 24, 40, 0.8);
  color: var(--muted);
  font: inherit;
  font-size: 0.85rem;
  cursor: pointer;
  transition:
    color 220ms ease,
    border-color 220ms ease,
    background-color 220ms ease;
}

.live-feed-chip:hover {
  color: var(--text);
  border-color: rgba(126, 233, 166, 0.5);
}

.live-feed-chip.is-active {
  color: #04130a;
  border-color: var(--accent);
  background: var(--accent);
  font-weight: 600;
}

.live-feed-chip:focus-visible {
  outline: 2px solid rgba(126, 233, 166, 0.9);
  outline-offset: 2px;
}

.live-feed-clear {
  margin-inline-start: auto;
  padding: 0.42rem 0.7rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #7fe5ab;
  font: inherit;
  font-size: 0.85rem;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.live-feed-clear:focus-visible {
  outline: 2px solid rgba(126, 233, 166, 0.9);
  outline-offset: 2px;
}

.live-feed-grid {
  margin-top: 0.85rem;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.7rem;
}

.live-job-card {
  border: 1px solid rgba(109, 165, 199, 0.28);
  border-radius: var(--radius-md);
  background: rgba(8, 26, 42, 0.88);
  padding: 0.9rem;
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 0.68rem;
  min-height: 238px;
}

.live-job-card h3 {
  margin: 0;
  font-size: 1.09rem;
  line-height: 1.28;
}

.live-job-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.52rem;
}

.live-job-meta {
  display: grid;
  gap: 0.22rem;
}

.live-job-meta p,
.live-job-footer p,
.live-feed-empty {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.live-job-footer {
  display: grid;
  gap: 0.4rem;
  margin-top: auto;
}

.live-job-source {
  color: #96d9b4;
  margin: 0;
  border-radius: 999px;
  border: 1px solid rgba(83, 180, 130, 0.4);
  background: rgba(24, 88, 60, 0.3);
  padding: 0.25rem 0.52rem;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.live-job-source.source-linkedin {
  border-color: rgba(79, 170, 224, 0.46);
  background: rgba(31, 86, 122, 0.34);
}

.live-job-source.source-emploitic {
  border-color: rgba(157, 124, 249, 0.48);
  background: rgba(90, 59, 154, 0.34);
}

.live-job-source.source-naukrigulf {
  border-color: rgba(132, 104, 240, 0.48);
  background: rgba(66, 46, 138, 0.34);
}

.live-job-source.source-jobdz {
  border-color: rgba(237, 166, 96, 0.5);
  background: rgba(137, 75, 24, 0.35);
}

.live-job-source.source-jobindz {
  border-color: rgba(237, 166, 96, 0.5);
  background: rgba(137, 75, 24, 0.35);
}

.live-job-age {
  margin: 0;
  color: #d3deea;
  font-size: 0.82rem;
}

.live-job-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 10px;
  padding: 0.72rem 0.9rem;
  text-decoration: none;
  color: #e9f7ee;
  font-size: 0.94rem;
  font-weight: 700;
  border: 1px solid rgba(130, 234, 168, 0.28);
  background: linear-gradient(135deg, #40cf70, #31b15c);
}

.live-job-link:hover {
  filter: brightness(1.05);
}

.live-job-link.is-disabled {
  opacity: 0.62;
  pointer-events: none;
}

.live-feed-more {
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #49db7e;
  text-decoration: none;
  font-size: 1.08rem;
  font-weight: 700;
}

.live-feed-more-icon,
.live-feed-more-arrow {
  display: inline-grid;
  place-items: center;
}

.live-feed-more-icon .icon {
  width: 1.02rem;
  height: 1.02rem;
}

.live-feed-more-arrow .icon {
  width: 1.08rem;
  height: 1.08rem;
}

.live-feed-empty {
  grid-column: 1 / -1;
  border: 1px dashed rgba(109, 165, 199, 0.28);
  border-radius: var(--radius-md);
  padding: 1rem;
  text-align: center;
}

.how-step,
.feature-card,
.cities-grid article,
.live-job-card {
  transform: translateZ(0);
  transition:
    transform 700ms cubic-bezier(0.16, 1, 0.3, 1),
    border-color 420ms ease,
    box-shadow 420ms ease,
    background-color 420ms ease;
}

.feature-card .icon-circle,
.city-icon,
.live-feed-more-icon,
.live-feed-more-arrow {
  transition: transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}

@media (hover: hover) {
  .how-step:hover,
  .feature-card:hover,
  .cities-grid article:hover,
  .live-job-card:hover {
    transform: translateY(-6px);
    border-color: rgba(140, 202, 233, 0.42);
    box-shadow: 0 18px 30px rgba(1, 10, 20, 0.38);
  }

  .feature-card:hover .icon-circle,
  .cities-grid article:hover .city-icon,
  .live-feed-more:hover .live-feed-more-icon,
  .live-feed-more:hover .live-feed-more-arrow {
    transform: scale(1.08);
  }
}

.how-step {
  border: 1px solid rgba(111, 168, 203, 0.28);
  border-radius: var(--radius-md);
  background: rgba(8, 26, 42, 0.86);
  padding: 0.88rem;
}

.step-index {
  margin: 0;
  color: #7de6a9;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.how-step h3 {
  margin: 0.44rem 0 0;
  font-size: 1.05rem;
}

.how-step p:last-child {
  margin: 0.38rem 0 0;
  color: var(--muted);
  font-size: 0.93rem;
}

.features-row {
  margin-top: 0.85rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.feature-card {
  border: 1px solid rgba(109, 165, 199, 0.28);
  border-radius: var(--radius-md);
  background: rgba(8, 26, 42, 0.88);
  padding: 0.9rem;
  display: flex;
  gap: 0.75rem;
}

.icon-circle {
  width: 2.95rem;
  height: 2.95rem;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  color: #ecfaf1;
  background: linear-gradient(135deg, #44d673, #2da757);
  flex-shrink: 0;
}

.icon-circle .icon {
  width: 1.2rem;
  height: 1.2rem;
}

.feature-tag {
  margin: 0;
  color: #85eeb4;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.feature-card h3 {
  margin: 0.34rem 0 0;
  font-size: 1.02rem;
  line-height: 1.2;
}

.feature-card p:last-child {
  margin: 0.42rem 0 0;
  color: var(--muted);
  font-size: 0.93rem;
}

.cities-subtitle {
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.cities-grid {
  margin-top: 0.7rem;
  border-top: 1px solid rgba(84, 130, 163, 0.28);
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.cities-grid article {
  display: flex;
  align-items: center;
  gap: 0.62rem;
  padding: 0.88rem 0.8rem;
  border-right: 1px solid rgba(84, 130, 163, 0.28);
}

.cities-grid article:last-child {
  border-right: 0;
}

.city-icon {
  color: #b98f4a;
  width: 1.8rem;
  height: 1.8rem;
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
}

.city-icon .icon {
  width: 1.35rem;
  height: 1.35rem;
}

.cities-grid h3 {
  margin: 0;
  font-size: 1rem;
}

.cities-grid p {
  margin: 0.18rem 0 0;
  color: var(--accent);
  font-size: 1.02rem;
  font-weight: 700;
}

.bottom-banner {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(68, 137, 99, 0.5);
  background:
    radial-gradient(circle at 20% 35%, rgba(42, 110, 79, 0.24), transparent 30%),
    radial-gradient(circle at 80% 56%, rgba(27, 92, 118, 0.2), transparent 35%),
    #061d26;
  overflow: hidden;
  min-height: 116px;
  display: grid;
  place-items: center;
}

.skyline {
  position: absolute;
  bottom: 0;
  opacity: 0.52;
  pointer-events: none;
  transform-origin: center bottom;
}

.skyline-left {
  left: 0;
  width: min(470px, 32%);
}

.skyline-right {
  right: 0;
  width: min(420px, 29%);
}

.banner-content {
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 0.8rem 1rem 0.74rem;
}

.banner-content h2 {
  margin: 0;
  font-size: clamp(1.32rem, 2vw, 1.92rem);
}

.banner-content p {
  margin: 0.28rem 0 0.68rem;
  color: #e8f0f8;
  font-size: 1rem;
}

.banner-btn {
  padding-inline: 1.55rem;
}

.banner-content small {
  display: block;
  margin-top: 0.34rem;
  color: #c8d6e3;
  font-size: 0.88rem;
}

[dir="rtl"] .topbar-actions {
  flex-direction: row-reverse;
}

[dir="rtl"] .main-nav {
  direction: rtl;
}

[dir="rtl"] .hero-copy,
[dir="rtl"] .section-intro,
[dir="rtl"] .live-job-card,
[dir="rtl"] .how-step {
  text-align: right;
}

[dir="rtl"] .live-feed-status {
  text-align: left;
  justify-items: start;
}

[dir="rtl"] .hero-sub {
  margin-right: auto;
  margin-left: 0;
}

[dir="rtl"] .hero-actions {
  justify-content: flex-end;
}

[dir="rtl"] .hero-trust,
[dir="rtl"] .cities-grid article {
  direction: rtl;
}

[dir="rtl"] .cities-grid article {
  border-right: 0;
  border-left: 1px solid rgba(84, 130, 163, 0.28);
}

[dir="rtl"] .cities-grid article:last-child {
  border-left: 0;
}

[dir="rtl"] .feature-card {
  flex-direction: row-reverse;
  text-align: right;
}

@media (max-width: 1380px) {
  .page-wrap {
    width: min(1480px, calc(100% - 1.4rem));
  }

  .topbar {
    grid-template-columns: 250px 1fr auto;
  }

  .main-nav {
    gap: 1.1rem;
  }

  .hero-monument {
    width: 56%;
  }

}

@media (max-width: 1180px) {
  .topbar {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 0.72rem;
  }

  .brand {
    width: 100%;
    justify-content: center;
  }

  .main-nav {
    width: 100%;
    justify-content: center;
    gap: 0.8rem 1.05rem;
  }

  .topbar-actions {
    width: 100%;
    justify-content: center;
  }

  .hero-panel {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hero-copy {
    padding: 2.1rem 1.1rem 1.5rem;
  }

  .hero-copy h1,
  [data-lang="fr"] .hero-copy h1,
  [data-lang="ar"] .hero-copy h1 {
    max-width: none;
  }

  .hero-monument {
    width: 100%;
    height: 56%;
    top: auto;
    bottom: 0;
    opacity: 0.06;
  }

  .hero-visuals {
    border-left: 0;
    border-top: 1px solid rgba(86, 134, 169, 0.18);
    min-height: 410px;
  }

  .map-art {
    inset: auto;
    left: 14px;
    top: 22px;
    height: auto;
    width: min(520px, 74%);
  }

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

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

  .cities-grid article {
    border-bottom: 1px solid rgba(84, 130, 163, 0.28);
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

@media (max-width: 860px) {
  body::before,
  body::after {
    display: none;
  }

  .hero-copy h1 {
    font-size: clamp(1.68rem, 8.2vw, 2.75rem);
  }

  .hero-sub {
    font-size: 0.97rem;
  }

  .hero-trust {
    grid-template-columns: 1fr;
  }

  .hero-visuals {
    min-height: 360px;
  }

  .map-art {
    width: min(420px, 76%);
  }

  .flag-art {
    width: min(214px, 45%);
  }

  .features-row,
  .live-feed-intro,
  .live-feed-grid,
  .how-grid,
  .cities-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .page-wrap {
    width: calc(100% - 1rem);
  }

  .brand img {
    width: min(250px, 100%);
  }

  .main-nav a {
    font-size: 0.94rem;
  }

  .topbar-actions {
    flex-direction: column;
    align-items: center;
  }

  [dir="rtl"] .topbar-actions {
    flex-direction: column;
  }

  .join-btn {
    width: min(100%, 430px);
    justify-content: center;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
  }

  .hero-visuals {
    min-height: 320px;
  }

  .map-art {
    width: 76%;
    top: 22px;
  }

  .features-row,
  .live-feed-intro,
  .live-feed-grid,
  .how-grid,
  .cities-grid {
    grid-template-columns: 1fr;
  }

  .live-feed-grid[data-feed-mode="cards"] {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: min(82vw, 320px);
    gap: 0.7rem;
    overflow-x: auto;
    overflow-y: visible;
    padding: 0.06rem 0.06rem 0.2rem;
    scroll-padding-inline: 0.06rem;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .live-feed-grid[data-feed-mode="cards"]::-webkit-scrollbar {
    display: none;
  }

  .live-feed-grid[data-feed-mode="cards"] .live-job-card {
    scroll-snap-align: start;
  }

  .live-feed-grid[data-feed-mode="cards"] .live-feed-empty {
    grid-column: auto;
  }

  .live-feed-status {
    justify-items: start;
    text-align: left;
  }

  [dir="rtl"] .live-feed-status {
    text-align: right;
  }

  .cities-grid article {
    border-right: 0;
  }

  .banner-btn {
    width: min(100%, 430px);
  }
}

/* Premium AIDA redesign layer */
.site-main {
  overflow-x: clip;
  overflow-y: visible;
  max-width: 100%;
}

.topbar {
  position: relative;
  z-index: 20;
  grid-template-columns: auto 1fr auto;
  padding: 0.5rem;
  border: 1px solid rgba(129, 181, 218, 0.18);
  border-radius: 999px;
  background: rgba(2, 10, 20, 0.72);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(18px);
}

.brand img {
  width: 205px;
  border-radius: 999px;
}

.main-nav {
  gap: clamp(0.65rem, 1.6vw, 1.45rem);
}

.main-nav a {
  font-size: 0.92rem;
  padding: 0.54rem 0;
}

.topbar-actions {
  gap: 0.5rem;
}

.topbar .join-btn {
  min-height: 44px;
  padding: 0.7rem 1rem;
  border-radius: 999px;
}

.hero-panel {
  min-height: 690px;
  margin-top: 3rem;
  grid-template-columns: 1fr;
  border-radius: 28px;
  background:
    radial-gradient(circle at 74% 28%, rgba(65, 215, 114, 0.16), transparent 34%),
    radial-gradient(circle at 30% 18%, rgba(81, 154, 204, 0.18), transparent 36%),
    linear-gradient(145deg, rgba(2, 9, 18, 0.98), rgba(3, 24, 39, 0.94));
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(2, 10, 20, 0.18), transparent 48%),
    radial-gradient(circle at 80% 62%, rgba(0, 0, 0, 0.45), transparent 42%);
}

.hero-copy {
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(980px, 74%);
  padding: clamp(2rem, 5vw, 5rem) clamp(1.35rem, 4vw, 4.2rem);
}

.hero-kicker {
  max-width: 52ch;
  letter-spacing: 0.12em;
  color: #85f0b7;
}

.hero-copy h1,
[data-lang="fr"] .hero-copy h1,
[data-lang="ar"] .hero-copy h1 {
  max-width: min(1120px, 100%);
  margin-top: 0.82rem;
  font-size: clamp(4.1rem, 7vw, 7.2rem);
  line-height: 0.94;
  letter-spacing: 0;
  text-wrap: balance;
}

[data-lang="ar"] .hero-copy h1 {
  line-height: 1.08;
  font-size: clamp(3.35rem, 6.2vw, 6.15rem);
}

.hero-sub {
  max-width: 66ch;
  margin-top: 1.25rem;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
}

.hero-actions {
  margin-top: 1.8rem;
}

.btn-primary,
.btn-secondary {
  min-height: 50px;
  border-radius: 999px;
  padding: 0.9rem 1.35rem;
}

.hero-visuals {
  position: absolute;
  inset-block: 0;
  inset-inline-start: auto;
  inset-inline-end: 0;
  width: min(62%, 900px);
  z-index: 2;
  min-height: 690px;
  border-inline-start: 0;
  overflow: visible;
}

[dir="rtl"] .hero-visuals {
  border-inline-end: 0;
}

.map-art {
  inset-block-start: -5%;
  inset-inline-start: -8%;
  width: 118%;
  height: 112%;
  opacity: 0.56;
  filter: saturate(0.9) contrast(1.22);
}

.flag-art {
  inset-inline-end: -4%;
  inset-block-start: 20%;
  width: min(360px, 44%);
  opacity: 0.34;
  filter: contrast(1.1) saturate(1.2);
}

.phone-mockup {
  --phone-tilt: 2deg;
  position: absolute;
  inset-inline-end: clamp(0.6rem, 3vw, 3rem);
  inset-block-start: 10%;
  z-index: 5;
  width: min(390px, 56%);
  min-width: 280px;
  overflow: visible;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  touch-action: manipulation;
  filter: drop-shadow(0 34px 58px rgba(0, 0, 0, 0.72));
}

.phone-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  opacity: 0;
  background:
    radial-gradient(circle at 52% 28%, rgba(65, 215, 114, 0.13), transparent 34%),
    rgba(0, 8, 14, 0.68);
  backdrop-filter: blur(18px) saturate(1.18);
  -webkit-backdrop-filter: blur(18px) saturate(1.18);
}

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

.phone-open-trigger {
  position: absolute;
  inset: 0;
  z-index: 7;
  border: 0;
  border-radius: 42px;
  background: transparent;
  cursor: pointer;
}

.phone-modal-close {
  position: absolute;
  inset-block-start: -0.35rem;
  inset-inline-end: -0.35rem;
  z-index: 12;
  width: 2.55rem;
  height: 2.55rem;
  border: 1px solid rgba(126, 233, 166, 0.38);
  border-radius: 999px;
  color: #eafff3;
  background: rgba(4, 18, 29, 0.92);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.38);
  cursor: pointer;
  font: inherit;
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
}

.phone-tap-hint {
  position: absolute;
  inset-inline-end: clamp(0.35rem, 2vw, 1rem);
  inset-block-start: -0.55rem;
  z-index: 8;
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  padding: 0.5rem 0.72rem;
  border: 1px solid rgba(126, 233, 166, 0.46);
  border-radius: 999px;
  color: #eafff3;
  background: rgba(8, 38, 29, 0.92);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.34), 0 0 0 0 rgba(126, 233, 166, 0.18);
  pointer-events: none;
  font-size: clamp(0.68rem, 1.1vw, 0.78rem);
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  animation: phone-tap-hint-pulse 2.7s ease-in-out infinite;
}

.phone-tap-hint::before {
  content: "";
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 999px;
  background: #7fe5ab;
  box-shadow: 0 0 0 4px rgba(127, 229, 171, 0.13);
}

.phone-mockup.is-modal-open .phone-tap-hint {
  display: none;
}

.phone-mockup.is-modal-open {
  position: fixed;
  inset: auto;
  inset-inline: auto;
  top: 50%;
  left: 50%;
  width: min(430px, calc(100vw - 1.5rem));
  min-width: 0;
  z-index: 1002;
  overflow: visible;
  cursor: default;
  transform: translate(-50%, -50%);
}

.phone-mockup.is-modal-open .phone-open-trigger {
  pointer-events: none;
  opacity: 0;
}

.phone-mockup.is-modal-open .phone-shell {
  transform: rotate(0deg);
}

.hero-panel,
.hero-visuals,
.phone-mockup,
.phone-shell,
.phone-bezel {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.hero-panel::-webkit-scrollbar,
.hero-visuals::-webkit-scrollbar,
.phone-mockup::-webkit-scrollbar,
.phone-shell::-webkit-scrollbar,
.phone-bezel::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

[dir="rtl"] .phone-mockup {
  --phone-tilt: -2deg;
}

.phone-shell {
  position: relative;
  overflow: hidden;
  padding: 0.62rem;
  border: 1px solid rgba(129, 181, 218, 0.34);
  border-radius: 42px;
  background:
    linear-gradient(145deg, rgba(202, 230, 249, 0.22), rgba(8, 28, 46, 0.08) 32%, rgba(0, 0, 0, 0.74)),
    #050b12;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.06),
    inset 0 -26px 34px rgba(0, 0, 0, 0.46);
  transform: rotate(var(--phone-tilt));
  transform-origin: center;
  transition: transform 420ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 420ms ease;
}

@media (hover: hover) {
  .phone-mockup:not(.is-modal-open):hover .phone-shell,
  .phone-mockup:not(.is-modal-open):focus-within .phone-shell {
    transform: rotate(var(--phone-tilt)) translateY(-6px) scale(1.012);
  }

  .phone-mockup:not(.is-modal-open):hover .phone-tap-hint,
  .phone-mockup:not(.is-modal-open):focus-within .phone-tap-hint {
    animation-play-state: paused;
    transform: translateY(-2px);
  }
}

@keyframes phone-tap-hint-pulse {
  0%,
  100% {
    transform: translateY(0);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.34), 0 0 0 0 rgba(126, 233, 166, 0.2);
  }

  50% {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.38), 0 0 0 9px rgba(126, 233, 166, 0.07);
  }
}

.phone-bezel {
  position: relative;
  overflow: hidden;
  padding: 0.52rem;
  border-radius: 34px;
  background: #020710;
  box-shadow: inset 0 0 0 1px rgba(126, 233, 166, 0.1);
}

.phone-speaker {
  position: absolute;
  inset-block-start: 0.58rem;
  inset-inline: 50% auto;
  z-index: 4;
  width: 4.6rem;
  height: 0.34rem;
  border-radius: 999px;
  background: rgba(158, 190, 214, 0.18);
  transform: translateX(-50%);
}

[dir="rtl"] .phone-speaker {
  transform: translateX(50%);
}

.phone-screen {
  position: relative;
  isolation: isolate;
  height: clamp(420px, 49vw, 540px);
  overflow: hidden;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.72rem;
  padding: 1.45rem 0.9rem 0.9rem;
  border: 1px solid rgba(108, 158, 196, 0.2);
  border-radius: 28px;
  background:
    radial-gradient(circle at 18% 10%, rgba(65, 215, 114, 0.18), transparent 32%),
    radial-gradient(circle at 88% 4%, rgba(73, 141, 190, 0.22), transparent 36%),
    linear-gradient(180deg, #071a2b 0%, #03111f 100%);
}

.phone-screen-glow {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), transparent 20%),
    radial-gradient(circle at 50% 106%, rgba(65, 215, 114, 0.16), transparent 34%);
}

.phone-preview-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.7rem;
}

.phone-preview-kicker,
.phone-preview-status,
.phone-job-meta,
.phone-job-time {
  margin: 0;
  color: var(--muted);
}

.phone-preview-kicker {
  color: #87eeb5;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.phone-preview-title {
  margin: 0.2rem 0 0;
  font-size: 1.14rem;
  line-height: 1;
}

.phone-preview-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.34rem;
  padding: 0.34rem 0.52rem;
  border: 1px solid rgba(126, 233, 166, 0.34);
  border-radius: 999px;
  color: #a0f4c3;
  background: rgba(31, 111, 73, 0.22);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.phone-preview-badge::before {
  content: "";
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 999px;
  background: #7fe5ab;
  box-shadow: 0 0 0 4px rgba(127, 229, 171, 0.13);
}

.phone-mockup[data-phone-mode="fallback"] .phone-preview-badge,
.phone-mockup[data-phone-mode="loading"] .phone-preview-badge {
  border-color: rgba(132, 181, 217, 0.32);
  color: #cfe1ee;
  background: rgba(51, 91, 122, 0.24);
}

.phone-mockup[data-phone-mode="fallback"] .phone-preview-badge::before,
.phone-mockup[data-phone-mode="loading"] .phone-preview-badge::before {
  background: #8fb4cf;
  box-shadow: 0 0 0 4px rgba(143, 180, 207, 0.12);
}

.phone-preview-status {
  min-height: 2.35em;
  font-size: 0.76rem;
  line-height: 1.32;
}

.phone-preview-list {
  display: grid;
  gap: 0.58rem;
  overflow: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.phone-mockup.is-modal-open .phone-screen {
  height: min(74vh, 620px);
}

.phone-mockup.is-modal-open .phone-preview-list {
  flex: 1 1 auto;
  min-height: 0;
  padding-inline-end: 0.15rem;
}

.phone-mockup.is-modal-open.is-expanded .phone-preview-list {
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(126, 233, 166, 0.42) transparent;
}

.phone-mockup.is-modal-open.is-expanded .phone-preview-list::-webkit-scrollbar {
  width: 6px;
  height: 6px;
  display: block;
}

.phone-mockup.is-modal-open.is-expanded .phone-preview-list::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(126, 233, 166, 0.42);
}

.phone-mockup::-webkit-scrollbar,
.phone-shell::-webkit-scrollbar,
.phone-bezel::-webkit-scrollbar,
.phone-screen::-webkit-scrollbar,
.phone-preview-list::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

.phone-job-card {
  position: relative;
  overflow: hidden;
  padding: 0.72rem;
  border: 1px solid rgba(109, 165, 199, 0.22);
  border-radius: 17px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.045), transparent 44%),
    rgba(5, 21, 36, 0.82);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.phone-job-card h3 {
  margin: 0;
  font-size: clamp(0.86rem, 1.05vw, 1rem);
  line-height: 1.18;
}

.phone-job-meta {
  margin-top: 0.38rem;
  font-size: 0.73rem;
  line-height: 1.3;
}

.phone-job-row {
  margin-top: 0.56rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.phone-job-source {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 0.23rem 0.45rem;
  border: 1px solid rgba(83, 180, 130, 0.42);
  border-radius: 999px;
  color: #a0f4c3;
  background: rgba(24, 88, 60, 0.32);
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.phone-job-time {
  flex: 0 0 auto;
  font-size: 0.68rem;
}

.phone-preview-empty,
.phone-job-skeleton {
  border: 1px dashed rgba(109, 165, 199, 0.28);
  border-radius: 17px;
  background: rgba(5, 21, 36, 0.58);
}

.phone-preview-empty {
  margin: 0;
  padding: 1rem 0.8rem;
  color: var(--muted);
  font-size: 0.8rem;
  text-align: center;
}

.phone-job-skeleton {
  height: 5.45rem;
  overflow: hidden;
  position: relative;
}

.phone-job-skeleton::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
  animation: phone-skeleton-sweep 1.4s ease-in-out infinite;
}

.phone-preview-expand {
  min-height: 38px;
  border: 1px solid rgba(126, 233, 166, 0.32);
  border-radius: 999px;
  color: #a7f5c6;
  background: rgba(26, 94, 64, 0.22);
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
}

.phone-preview-expand:hover {
  border-color: rgba(126, 233, 166, 0.56);
  background: rgba(31, 111, 73, 0.34);
}

.phone-preview-expand:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

@keyframes phone-skeleton-sweep {
  from {
    transform: translateX(-100%);
  }

  to {
    transform: translateX(100%);
  }
}

.phone-preview-cta {
  margin-top: auto;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.42rem;
  border: 1px solid rgba(77, 170, 224, 0.36);
  border-radius: 999px;
  color: #eaf7ff;
  background: linear-gradient(135deg, rgba(54, 152, 214, 0.92), rgba(41, 121, 184, 0.92));
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 800;
  cursor: pointer;
}

.phone-preview-cta:hover {
  filter: brightness(1.06);
}

.phone-preview-cta .icon {
  width: 0.92rem;
  height: 0.92rem;
}

[dir="rtl"] .phone-preview-cta .icon {
  transform: scaleX(-1);
}

[dir="rtl"] .phone-screen,
[dir="rtl"] .phone-job-card,
[dir="rtl"] .phone-preview-status {
  text-align: right;
}

@media (prefers-reduced-motion: reduce) {
  .phone-tap-hint {
    animation: none !important;
  }

  .phone-job-skeleton::after {
    animation: none !important;
  }
}

.proof-panel,
.story-panel,
.faq-panel {
  margin-top: clamp(5rem, 11vw, 9rem);
}

.live-feed-panel,
.bottom-banner {
  margin-top: clamp(5rem, 10vw, 8rem);
}

.live-feed-panel {
  border-radius: 26px;
  padding: clamp(1.1rem, 2.8vw, 2rem);
}

.live-feed-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(109, 165, 199, 0.22);
  border-radius: 22px;
  background: rgba(109, 165, 199, 0.22);
}

.live-job-card {
  min-height: 252px;
  border: 0;
  border-radius: 0;
  background: rgba(6, 23, 38, 0.95);
}

.live-feed-more {
  margin-top: 1.25rem;
  font-size: clamp(1rem, 1.5vw, 1.26rem);
}

.story-panel,
.proof-panel,
.faq-panel {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(1.5rem, 5vw, 5rem);
  align-items: start;
  padding: clamp(1.4rem, 3vw, 2.4rem);
  border: 1px solid rgba(108, 158, 196, 0.2);
  border-radius: 30px;
  background:
    radial-gradient(circle at 20% 12%, rgba(65, 215, 114, 0.13), transparent 34%),
    radial-gradient(circle at 90% 40%, rgba(73, 141, 190, 0.16), transparent 38%),
    rgba(3, 14, 25, 0.88);
  box-shadow: var(--shadow);
}

.story-head,
.proof-head,
.faq-head {
  position: sticky;
  top: clamp(5rem, 12vh, 8rem);
  max-width: 560px;
  padding-block: clamp(1rem, 3vw, 2.4rem);
}

.story-eyebrow,
.proof-eyebrow,
.faq-eyebrow {
  margin: 0 0 0.9rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.story-head h2,
.proof-head h2,
.faq-head h2 {
  margin: 0;
  font-size: clamp(2.3rem, 5vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.proof-head h2 span {
  color: var(--accent);
}

.story-reveal,
.proof-reveal,
.faq-reveal {
  max-width: 42ch;
  margin: 1.2rem 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
}

.story-pipeline,
.proof-pipeline,
.faq-pipeline {
  position: relative;
  margin: 0;
  padding: clamp(0.5rem, 2vw, 1.5rem) 0;
  list-style: none;
}

.story-progress,
.proof-progress,
.faq-progress {
  position: absolute;
  inset-block: 1.8rem;
  inset-inline-start: calc(1.4rem - 1px);
  width: 2px;
  border-radius: 2px;
  background: var(--border);
  overflow: hidden;
}

.story-progress-fill,
.proof-progress-fill,
.faq-progress-fill {
  display: block;
  width: 100%;
  height: 100%;
  transform-origin: top;
  background: linear-gradient(180deg, var(--accent), var(--accent-strong));
}

.story-step,
.proof-step,
.faq-step {
  position: relative;
  display: grid;
  grid-template-columns: 2.8rem minmax(0, 1fr);
  gap: clamp(0.9rem, 2vw, 1.6rem);
  align-items: start;
  padding-block: clamp(1.4rem, 3.5vw, 2.6rem);
}

.story-step-index,
.proof-step-index,
.faq-step-index {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.8rem;
  height: 2.8rem;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--panel-strong);
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  transition:
    color 400ms ease,
    border-color 400ms ease,
    box-shadow 400ms ease,
    transform 400ms ease;
}

.story-step.is-active .story-step-index,
.proof-step.is-active .proof-step-index,
.faq-step.is-active .faq-step-index {
  color: #04130a;
  border-color: var(--accent);
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(65, 215, 114, 0.14);
  transform: scale(1.04);
}

.story-step-body,
.proof-step-body,
.faq-step-body {
  padding-top: 0.3rem;
  opacity: 0.62;
  transition: opacity 400ms ease;
}

.story-step.is-active .story-step-body,
.proof-step.is-active .proof-step-body,
.faq-step.is-active .faq-step-body {
  opacity: 1;
}

.story-step-body h3,
.proof-step-body h3,
.faq-step-body h3 {
  margin: 0;
  font-size: clamp(1.3rem, 2.6vw, 1.95rem);
  line-height: 1.1;
  letter-spacing: 0;
}

.story-step-body p,
.proof-step-body p,
.faq-step-body p {
  max-width: 46ch;
  margin: 0.7rem 0 0;
  color: var(--muted);
  font-size: clamp(0.98rem, 1.3vw, 1.08rem);
  line-height: 1.55;
}

[dir="rtl"] .hero-actions {
  justify-content: flex-start;
}

[dir="rtl"] .story-head,
[dir="rtl"] .story-step-body,
[dir="rtl"] .proof-head,
[dir="rtl"] .proof-step-body,
[dir="rtl"] .faq-head,
[dir="rtl"] .faq-step-body {
  text-align: right;
}

@media (max-width: 1180px) {
  .topbar {
    grid-template-columns: 1fr;
    border-radius: 28px;
  }

  .brand img {
    width: 190px;
  }

  .hero-panel {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hero-copy {
    width: 100%;
  }

  .hero-visuals {
    position: relative;
    inset: auto;
    width: 100%;
    min-height: 500px;
    overflow: hidden;
  }

  .phone-mockup {
    inset-inline-end: clamp(1rem, 5vw, 3rem);
    inset-block-start: 2.2rem;
    width: min(360px, 42%);
    min-width: 276px;
  }

  .phone-mockup.is-modal-open {
    width: min(430px, calc(100vw - 1.5rem));
    min-width: 0;
  }

  .phone-screen {
    height: 440px;
  }

  .hero-copy h1,
  [data-lang="fr"] .hero-copy h1,
  [data-lang="ar"] .hero-copy h1 {
    font-size: clamp(3rem, 8vw, 5.6rem);
  }

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

@media (max-width: 860px) {
  .page-wrap {
    width: min(100% - 1rem, 1480px);
    padding-top: 0.7rem;
  }

  .topbar {
    grid-template-columns: 1fr auto;
    border-radius: 999px;
    gap: 0.35rem;
  }

  .brand {
    width: auto;
  }

  .brand img {
    width: 132px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-menu {
    position: absolute;
    inset-inline: 0;
    inset-block-start: calc(100% + 0.5rem);
    flex-direction: column;
    align-items: stretch;
    gap: 0.8rem;
    padding: 1rem;
    border: 1px solid rgba(129, 181, 218, 0.2);
    border-radius: 22px;
    background: rgba(2, 10, 20, 0.97);
    box-shadow: 0 26px 64px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(18px);
    z-index: 60;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  }

  .site-menu.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .site-menu .main-nav {
    margin-inline: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
  }

  .site-menu .main-nav a {
    font-size: 1rem;
    padding: 0.72rem 0.55rem;
    border-bottom: 0;
    border-radius: 12px;
  }

  .site-menu .main-nav a.is-current {
    color: #ffffff;
    background: rgba(86, 230, 136, 0.14);
  }

  .site-menu .lang-switch {
    align-self: stretch;
    justify-content: center;
    padding: 0.25rem;
  }

  .site-menu .lang-btn {
    flex: 1;
    padding: 0.5rem;
    font-size: 0.85rem;
  }

  .topbar-actions {
    width: auto;
    justify-content: end;
    align-items: center;
    flex-direction: row;
    gap: 0.5rem;
  }

  [dir="rtl"] .topbar-actions {
    flex-direction: row;
  }

  .topbar .join-btn {
    min-height: 42px;
    padding: 0.58rem 0.9rem;
    font-size: 0.85rem;
    white-space: nowrap;
  }

  .hero-panel {
    margin-top: 1rem;
    border-radius: 24px;
  }

  .hero-copy {
    padding: 1.8rem 1.1rem 1.2rem;
  }

  .hero-copy h1,
  [data-lang="fr"] .hero-copy h1,
  [data-lang="ar"] .hero-copy h1 {
    font-size: clamp(2.48rem, 12vw, 4rem);
    line-height: 0.98;
  }

  .hero-sub {
    font-size: 1rem;
  }

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

  .hero-visuals {
    min-height: 510px;
  }

  .map-art {
    width: 112%;
    inset-inline-start: -16%;
  }

  .phone-mockup {
    inset-inline-end: 0.7rem;
    inset-block-start: 1.2rem;
    width: min(305px, 58%);
    min-width: 238px;
  }

  .phone-mockup.is-modal-open {
    width: min(390px, calc(100vw - 1rem));
    min-width: 0;
  }

  .phone-screen {
    height: 445px;
    gap: 0.5rem;
    padding: 1.35rem 0.72rem 0.72rem;
  }

  .phone-preview-kicker,
  .phone-preview-badge {
    font-size: 0.58rem;
  }

  .phone-preview-title {
    font-size: 0.98rem;
  }

  .phone-preview-status,
  .phone-job-meta,
  .phone-preview-empty {
    font-size: 0.68rem;
  }

  .phone-job-card {
    padding: 0.58rem;
  }

  .phone-job-card h3 {
    font-size: 0.82rem;
  }

  .phone-job-row {
    margin-top: 0.44rem;
  }

  .phone-preview-cta {
    min-height: 38px;
    font-size: 0.76rem;
  }

  .phone-preview-expand {
    min-height: 36px;
    font-size: 0.72rem;
  }

  .flag-art {
    width: min(220px, 48%);
  }

  .proof-panel,
  .live-feed-panel,
  .story-panel,
  .faq-panel,
  .bottom-banner {
    margin-top: 4rem;
  }

  .live-feed-grid {
    grid-template-columns: 1fr;
  }

  .story-panel,
  .proof-panel,
  .faq-panel {
    grid-template-columns: 1fr;
    padding: 1.1rem;
  }

  .story-head,
  .proof-head,
  .faq-head {
    position: static;
    padding: 0;
  }

  .story-pipeline,
  .proof-pipeline,
  .faq-pipeline {
    padding-block: 1rem 0;
  }
}

@media (max-width: 520px) {
  .topbar {
    grid-template-columns: 1fr auto;
    padding: 0.38rem;
  }

  .brand img {
    width: 108px;
  }

  .topbar .join-btn {
    padding: 0.52rem 0.78rem;
    font-size: 0.8rem;
  }

  .hero-copy h1,
  [data-lang="fr"] .hero-copy h1,
  [data-lang="ar"] .hero-copy h1 {
    font-size: clamp(2.2rem, 10.8vw, 3.15rem);
    line-height: 1.02;
  }

  .hero-visuals {
    min-height: 500px;
  }

  .phone-mockup {
    inset-inline: 0;
    margin-inline: auto;
    width: min(318px, 82vw);
    min-width: 0;
  }

  .phone-mockup.is-modal-open {
    width: min(360px, calc(100vw - 0.8rem));
  }

  .phone-screen {
    height: 430px;
  }

  .phone-mockup.is-modal-open .phone-screen {
    height: min(78vh, 560px);
  }

  .live-feed-title-wrap {
    grid-template-columns: 1fr;
  }

  .live-feed-title-wrap p {
    grid-column: auto;
  }
}

@media (min-width: 861px) and (max-width: 1180px) {
  .topbar {
    grid-template-columns: auto 1fr auto;
    justify-items: stretch;
    border-radius: 999px;
  }

  .brand {
    width: auto;
    justify-content: flex-start;
  }

  .brand img {
    width: 160px;
  }

  .main-nav {
    width: auto;
    gap: 0.75rem;
  }

  .main-nav a {
    font-size: 0.82rem;
  }

  .topbar-actions {
    width: auto;
  }

  .topbar .join-btn {
    padding-inline: 0.82rem;
    font-size: 0.86rem;
  }
}

@media (max-width: 620px) {
  .live-feed-grid[data-feed-mode="cards"] {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: min(84vw, 320px);
    gap: 0.72rem;
    overflow-x: auto;
    overflow-y: visible;
    padding: 0.08rem 0.08rem 0.35rem;
    scroll-padding-inline: 0.08rem;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    touch-action: pan-x pan-y;
  }

  .live-feed-grid[data-feed-mode="cards"]::-webkit-scrollbar {
    display: none;
  }

  .live-feed-grid[data-feed-mode="cards"] .live-job-card {
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }
}
