* , *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

:root {
  --color-bg: #FAFAF8;
  --color-surface: #FFFFFF;
  --color-dark: #0B0E18;
  --color-dark-alt: #111524;

  --color-text: #0B0E18;
  --color-text-muted: #3C3F4A;
  --color-text-faint: #8A8D99;

  --color-border: rgba(11, 14, 24, 0.09);
  --color-border-strong: rgba(11, 14, 24, 0.15);

  --color-accent: #4FC3D8;
  --color-accent-hover: #34ABC3;
  --color-accent-tint: rgba(79, 195, 216, 0.07);
  --color-accent-border: rgba(79, 195, 216, 0.18);

  --color-success: #0E7A4C;
  --color-success-tint: rgba(14, 122, 76, 0.08);
  --color-success-border: rgba(14, 122, 76, 0.2);

  --color-error: #C0392B;

  --radius-default: 10px;
  --max-width: 1040px;
  --section-padding: clamp(20px, 5vw, 52px);

  --font-family: 'Space Grotesk', system-ui, sans-serif;
}

body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-family);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img, svg { display: block; }
button { font-family: var(--font-family); }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--section-padding);
  min-width: 0;
}

.section {
  padding: clamp(60px, 9vw, 104px) var(--section-padding);
}
.section--light { background: #FAFAF8; }
.section--surface { background: #FFFFFF; }
.section--dark { background: #0A0E18; color: #fff; }
.section--dark .eyebrow { color: #4FC3D8; }

.section-divider {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: 0;
}

.eyebrow {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 10px;
}

.eyebrow--on-dark { color: #4FC3D8; }

h1 {
  font-size: clamp(34px, 5.8vw, 68px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.025em;
}

h2 {
  font-size: clamp(24px, 3.5vw, 40px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.015em;
}

h3 { font-size: 15px; font-weight: 600; }

.button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-family);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 11px 22px;
  border-radius: 7px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.16s ease;
}

.button--large { padding: 13px 28px; font-size: 14px; border-radius: 8px; }

.button--primary {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 1px 4px rgba(22, 96, 199, 0.28);
}
.button--primary:hover {
  background: var(--color-accent-hover);
  box-shadow: 0 4px 16px rgba(22, 96, 199, 0.36);
  transform: translateY(-1px);
}

.button--outline {
  background: transparent;
  color: var(--color-text);
  border: 1.5px solid var(--color-border-strong);
}
.button--outline:hover { border-color: var(--color-accent); color: var(--color-accent); }

.button--white { background: #fff; color: var(--color-text); }
.button--white:hover { background: #f2f2f0; }

.button--ghost-on-dark {
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  border: 1.5px solid rgba(255, 255, 255, 0.18);
}
.button--ghost-on-dark:hover { border-color: rgba(255, 255, 255, 0.45); color: #fff; }

.announcement-bar {
  background: var(--color-dark);
  color: rgba(255, 255, 255, 0.65);
  font-size: 12px;
  font-weight: 500;
  text-align: center;
  padding: 9px var(--section-padding);
}
.announcement-bar a { color: #fff; font-weight: 700; text-decoration: underline; }

.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 250, 248, 0.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--color-border);
}

.navbar-inner {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 18px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-width: 0;
  max-width: 100%;
}

.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo {
  width: 190px;
  height: auto;
  max-height: 50px;
  object-fit: contain;
  display: block;
}
.footer-logo {
  width: 125px;
  height: auto;
  max-height: 34px;
  object-fit: contain;
  margin-bottom: 10px;
}
@media (max-width: 700px) {
  .brand-logo {
    width: 165px;
    height: auto;
    max-height: 44px;
  }

  .navbar-inner {
    height: 72px;
  }

  .mobile-menu {
    top: 72px;
  }
}

body.lang-ar .navbar,
body.lang-ar .navbar-inner {
  direction: ltr;
}

.nav-links {
  display: flex;
  gap: 24px;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-muted);
}
.nav-links a { transition: color 0.14s; }
.nav-links a:hover { color: var(--color-accent); }

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

.nav-actions { display: flex; align-items: center; gap: 8px; }

.language-switch { display: flex; gap: 2px; }
.language-switch button {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-family);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--color-text-faint);
  padding: 4px 7px;
  border-radius: 5px;
  transition: all 0.14s;
}
.language-switch button:hover,
.language-switch button.is-active {
  background: var(--color-accent-tint);
  color: var(--color-accent);
}
@media (max-width: 500px) { .navbar .language-switch { display: none; } }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  border: none;
  background: none;
}
.menu-toggle span { width: 20px; height: 2px; background: var(--color-text); border-radius: 2px; }
@media (max-width: 700px) { .menu-toggle { display: flex; } }

.mobile-menu {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(250, 250, 248, 0.98);
  backdrop-filter: blur(12px);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  overflow-y: auto;
  padding: 32px 24px;
  min-width: 0;
  max-width: 100%;
}
.mobile-menu.is-open { display: flex; }
.mobile-menu a { font-size: 20px; font-weight: 600; color: var(--color-text); transition: color 0.14s; }
.mobile-menu a:hover { color: var(--color-accent); }
.mobile-menu-close {
  position: absolute;
  top: 18px;
  right: 22px;
  width: 38px;
  height: 38px;
  border: none;
  background: transparent;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  color: var(--color-text);
}
body.lang-ar .mobile-menu-close {
  right: auto;
  left: 22px;
}
.mobile-menu .language-switch {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}
.mobile-menu .language-switch button {
  display: block;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 7px;
  border: 1.5px solid var(--color-border-strong);
  color: var(--color-text-muted);
  background: none;
  cursor: pointer;
  font-family: var(--font-family);
  transition: all 0.14s;
}
.mobile-menu .language-switch button:hover,
.mobile-menu .language-switch button.is-active {
  background: var(--color-accent-tint);
  border-color: var(--color-accent-border);
  color: var(--color-accent);
}

.hero {
  background: var(--color-dark);
  position: relative;
  overflow: hidden;
  padding: clamp(68px, 9vw, 112px) var(--section-padding) clamp(56px, 7vw, 88px);
}
.hero::before {
  content: '';
  position: absolute;
  top: -140px; right: -140px;
  width: 560px; height: 560px;
  max-width: 100vw;
  background: radial-gradient(circle, rgba(22, 96, 199, 0.12) 0%, transparent 65%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 380px; height: 380px;
  max-width: 100vw;
  background: radial-gradient(circle, rgba(22, 96, 199, 0.06) 0%, transparent 65%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: clamp(48px, 7vw, 96px);
  align-items: center;
  min-width: 0;
}
@media (max-width: 740px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-stats { display: none !important; }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(79, 195, 216, 0.12);
  border: 1px solid rgba(79, 195, 216, 0.25);
  border-radius: 100px;
  padding: 5px 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #4FC3D8;
  margin-bottom: 20px;
}
.hero-badge-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #4FC3D8;
  animation: pulse 2.2s infinite;
  flex-shrink: 0;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.2; } }

.hero-question { max-width: 660px; }
.hero h1 { color: #fff; margin-bottom: 16px; }
.hero h1 em { font-style: normal; color: #4FC3D8; }

.hero-subtitle {
  font-size: clamp(14px, 1.7vw, 16px);
  color: rgba(255, 255, 255, 0.58);
  max-width: 560px;
  margin-bottom: 28px;
  line-height: 1.72;
}

.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; }

.hero-stats { display: flex; justify-content: center; }
.hero-stats-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 20px 20px 18px;
  width: 100%;
  max-width: 380px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.16);
}
.hero-stats-card__eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #4FC3D8;
  margin-bottom: 8px;
}
.hero-stats-card h2 {
  color: #fff;
  font-size: clamp(18px, 2.1vw, 24px);
  margin-bottom: 8px;
  line-height: 1.25;
}
.hero-stats-card p {
  color: rgba(255,255,255,0.62);
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 14px;
}
.hero-stats-list {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}
.hero-stats-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}
.hero-stats-item strong {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
}
.hero-stats-item span {
  color: rgba(255,255,255,0.58);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.button--full { width: 100%; justify-content: center; }

.problem-grid {
  display: block;
  max-width: 760px;
  margin: clamp(28px, 4vw, 42px) auto 0;
}
@media (max-width: 640px) { .problem-grid { grid-template-columns: 1fr; } }

.problem-lead { margin-top: 13px; color: var(--color-text-muted); line-height: 1.75; }

.bottleneck-list {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-default);
  overflow: hidden;
  background: var(--color-surface);
  width: 100%;
}
.bottleneck-item {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--color-border);
  transition: background 0.13s;
}
.bottleneck-item:last-child { border-bottom: none; }
.bottleneck-item:hover { background: var(--color-bg); }
.bottleneck-item--resolved { background: var(--color-success-tint); }

.bottleneck-index { font-size: 10px; font-weight: 700; letter-spacing: 0.1em; color: var(--color-text-faint); min-width: 20px; flex-shrink: 0; padding-top: 2px; }
.bottleneck-item--resolved .bottleneck-index { color: var(--color-success); }

.bottleneck-content strong { font-size: 14px; font-weight: 600; display: block; margin-bottom: 2px; color: var(--color-text); }
.bottleneck-item--resolved .bottleneck-content strong { color: var(--color-success); }
.bottleneck-content p { font-size: 13px; color: var(--color-text-faint); line-height: 1.5; }

.machine-section {
  background: #0B0E18;
  position: relative;
  overflow: hidden;
}

.machine-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(64px, 9vw, 104px) var(--section-padding);
  position: relative;
}

.machine-inner::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 48%;
  transform: translate(-50%, -50%);
  width: min(980px, 90vw);
  height: 320px;
  background: radial-gradient(ellipse at center, rgba(79, 195, 216, 0.16) 0%, rgba(79, 195, 216, 0.05) 44%, transparent 75%);
  pointer-events: none;
  z-index: 0;
}

.machine-header {
  text-align: center;
  margin-bottom: clamp(30px, 4vw, 46px);
  position: relative;
  z-index: 1;
}

.machine-header .eyebrow {
  color: #4FC3D8;
}

.machine-header h2 {
  color: #FFFFFF;
}

.machine-flow {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 34px minmax(0, 1fr) 34px minmax(0, 1fr) 34px minmax(0, 1fr);
  align-items: center;
  gap: 0;
}

.machine-card {
  background: linear-gradient(180deg, rgba(79, 195, 216, 0.06) 0%, rgba(17, 21, 36, 0.98) 36%, #111524 100%);
  border: 1px solid rgba(79, 195, 216, 0.14);
  border-radius: 13px;
  padding: 18px 16px;
  min-height: 158px;
  box-shadow: inset 0 1px 0 rgba(79, 195, 216, 0.09), 0 16px 36px rgba(0, 0, 0, 0.28);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.js-enabled .machine-card,
.js-enabled .machine-connector {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.js-enabled .machine-flow.is-visible .machine-card,
.js-enabled .machine-flow.is-visible .machine-connector {
  opacity: 1;
  transform: translateY(0);
}

.js-enabled .machine-flow > *:nth-child(1) { transition-delay: 0.02s; }
.js-enabled .machine-flow > *:nth-child(2) { transition-delay: 0.08s; }
.js-enabled .machine-flow > *:nth-child(3) { transition-delay: 0.14s; }
.js-enabled .machine-flow > *:nth-child(4) { transition-delay: 0.20s; }
.js-enabled .machine-flow > *:nth-child(5) { transition-delay: 0.26s; }
.js-enabled .machine-flow > *:nth-child(6) { transition-delay: 0.32s; }
.js-enabled .machine-flow > *:nth-child(7) { transition-delay: 0.38s; }

.machine-card:hover {
  transform: translateY(-2px);
  border-color: rgba(79, 195, 216, 0.32);
  box-shadow: inset 0 1px 0 rgba(79, 195, 216, 0.16), 0 18px 36px rgba(0, 0, 0, 0.32);
}

.machine-step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  background: rgba(79, 195, 216, 0.14);
  border: 1px solid rgba(79, 195, 216, 0.3);
  color: #4FC3D8;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.machine-card h3 {
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 8px;
}

.machine-card p {
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  line-height: 1.55;
}

.machine-connector {
  height: 2px;
  background: linear-gradient(90deg, rgba(79, 195, 216, 0.16), rgba(79, 195, 216, 0.54), rgba(79, 195, 216, 0.16));
  position: relative;
  margin: 0 3px;
}

.machine-connector::after {
  content: '';
  position: absolute;
  right: -1px;
  top: 50%;
  transform: translateY(-50%);
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 7px solid rgba(79, 195, 216, 0.72);
}

@media (max-width: 920px) {
  .machine-flow {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    max-width: 520px;
    margin: 0 auto;
  }

  .machine-card {
    min-height: 0;
    padding: 16px 15px;
  }

  .machine-connector {
    width: 2px;
    height: 30px;
    margin: 0 auto;
    background: linear-gradient(180deg, rgba(79, 195, 216, 0.16), rgba(79, 195, 216, 0.54), rgba(79, 195, 216, 0.16));
  }

  .machine-connector::after {
    left: 50%;
    right: auto;
    top: auto;
    bottom: -1px;
    transform: translateX(-50%);
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 7px solid rgba(79, 195, 216, 0.72);
    border-bottom: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .js-enabled .machine-card,
  .js-enabled .machine-connector {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.services-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 4vw, 48px);
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 34px;
  align-items: end;
}
@media (max-width: 640px) { .services-header { grid-template-columns: 1fr; } }
.services-header h2 { max-width: 460px; }
.services-header p {
  max-width: 560px;
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--color-border);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-default);
  overflow: hidden;
  min-width: 0;
  max-width: 100%;
}
@media (max-width: 1100px) {
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 620px) {
  .service-grid {
    grid-template-columns: 1fr;
  }
}
.service-card { background: var(--color-surface); padding: clamp(20px, 3.2vw, 28px); transition: background 0.13s; }
.service-card:hover { background: var(--color-bg); }
.service-icon {
  width: 34px; height: 34px;
  border-radius: 7px;
  background: var(--color-accent-tint);
  border: 1px solid var(--color-accent-border);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 13px;
  color: var(--color-accent);
}
.service-card h3 { margin-bottom: 6px; }
.service-card p { font-size: 13px; color: var(--color-text-muted); line-height: 1.65; }

.proof-section { background: #0A0E18; }
.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-default);
  overflow: hidden;
  margin-top: clamp(28px, 4vw, 44px);
}
@media (max-width: 860px) { .proof-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .proof-grid { grid-template-columns: 1fr; } }
.proof-grid .proof-item:last-child:nth-child(4n+1) { grid-column: 1 / -1; }
.proof-item { background: var(--color-dark); padding: 22px 20px; display: flex; gap: 12px; align-items: flex-start; }
.proof-icon {
  width: 30px; height: 30px;
  border-radius: 7px;
  background: rgba(79, 195, 216, 0.14);
  border: 1px solid rgba(79, 195, 216, 0.22);
  display: flex; align-items: center; justify-content: center;
  color: #4FC3D8;
  flex-shrink: 0;
}
.proof-item p { font-size: 13px; color: rgba(255, 255, 255, 0.62); line-height: 1.55; padding-top: 4px; }

.markets-section { background: #FAFAF8; }
.markets-header { text-align: center; max-width: 500px; margin: 0 auto clamp(32px, 5vw, 48px); }
.markets-header h2 { color: #0A0E18; margin-bottom: 11px; }
.markets-header p { color: rgba(10, 14, 24, 0.64); font-size: 15px; }

.flag-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(86px, 1fr));
  gap: 7px;
  min-width: 0;
  max-width: 100%;
}
.flag-card {
  background: rgba(10, 14, 24, 0.03);
  border: 1px solid rgba(10, 14, 24, 0.08);
  border-radius: 8px;
  padding: 13px 7px 9px;
  text-align: center;
  transition: all 0.15s;
}
.flag-card:hover { background: rgba(10, 14, 24, 0.06); border-color: rgba(79, 195, 216, 0.28); transform: translateY(-2px); }
.flag-card .flag-emoji { font-size: 25px; display: block; margin-bottom: 5px; line-height: 1; }
.flag-card .flag-name { font-size: 10px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: rgba(10, 14, 24, 0.55); }

.market-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: clamp(32px, 5vw, 48px);
  border-top: 1px solid rgba(10, 14, 24, 0.08);
  padding-top: clamp(28px, 4vw, 40px);
}
.market-stat { text-align: center; padding: 0 clamp(20px, 4vw, 48px); border-right: 1px solid rgba(10, 14, 24, 0.08); }
.market-stat:last-child { border-right: none; }
.market-stat-value { font-size: clamp(36px, 5.5vw, 58px); font-weight: 700; line-height: 1; color: #0A0E18; }
.market-stat-value em { font-style: normal; color: #4FC3D8; }
.market-stat-label { font-size: 11px; color: rgba(10, 14, 24, 0.5); letter-spacing: 0.08em; text-transform: uppercase; margin-top: 5px; }
@media (max-width: 480px) {
  .market-stats { flex-direction: column; gap: 20px; }
  .market-stat { border-right: none; border-bottom: 1px solid rgba(10, 14, 24, 0.08); padding: 0 0 20px; width: 100%; }
  .market-stat:last-child { border-bottom: none; padding-bottom: 0; }
}

.audience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 5vw, 56px);
  align-items: center;
  margin-top: clamp(32px, 5vw, 48px);
}
@media (max-width: 640px) { .audience-grid { grid-template-columns: 1fr; } }

.audience-quote {
  background: var(--color-dark);
  border-radius: var(--radius-default);
  padding: clamp(24px, 4vw, 38px);
  position: relative;
  overflow: hidden;
}
.audience-quote::after {
  content: '';
  position: absolute;
  bottom: 0; right: 0;
  width: 140px; height: 140px;
  background: radial-gradient(circle, rgba(79, 195, 216, 0.18), transparent 70%);
  pointer-events: none;
}
.audience-quote blockquote { font-size: clamp(17px, 2.5vw, 25px); font-weight: 700; line-height: 1.25; margin-bottom: 14px; color: #fff; }
.audience-quote blockquote em { font-style: normal; color: #4FC3D8; }
.audience-quote p { font-size: 13px; color: rgba(255, 255, 255, 0.48); line-height: 1.75; }

.checklist-item { display: flex; gap: 11px; align-items: flex-start; padding: 13px 0; border-bottom: 1px solid var(--color-border); }
.checklist-item:first-child { padding-top: 0; }
.checklist-item:last-child { border-bottom: none; padding-bottom: 0; }
.checklist-mark {
  width: 18px; height: 18px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 1px;
  background: var(--color-accent-tint);
  border: 1.5px solid var(--color-accent-border);
  display: flex; align-items: center; justify-content: center;
  color: var(--color-accent);
}
.checklist-mark svg { width: 9px; height: 9px; }
.checklist-item p { font-size: 14px; color: var(--color-text-muted); line-height: 1.55; }
.checklist-item p strong { color: var(--color-text); font-weight: 600; }

.process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--color-border);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-default);
  overflow: hidden;
  margin-top: clamp(28px, 4vw, 44px);
  min-width: 0;
  max-width: 100%;
}
@media (max-width: 900px) { .process-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px) { .process-grid .process-step:last-child:nth-child(3n+1) { grid-column: 1 / -1; } }
@media (max-width: 560px) { .process-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .process-grid .process-step:last-child:nth-child(2n+1) { grid-column: 1 / -1; } }
.process-step { background: var(--color-surface); padding: 22px 18px; transition: background 0.13s; }
.process-step:hover { background: var(--color-bg); }
.process-step-index { font-size: 10px; font-weight: 700; letter-spacing: 0.14em; color: var(--color-accent); margin-bottom: 9px; }
.process-step h3 { font-size: 14px; margin-bottom: 6px; }
.process-step p { font-size: 12px; color: var(--color-text-faint); line-height: 1.6; }

.timeline-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
  gap: 1px;
  background: var(--color-border);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-default);
  overflow: hidden;
  margin-top: clamp(28px, 4vw, 44px);
}
.timeline-step { background: var(--color-bg); padding: 24px 20px; display: flex; gap: 14px; align-items: flex-start; }
.timeline-index { font-size: 22px; font-weight: 700; color: var(--color-accent); opacity: 0.35; flex-shrink: 0; line-height: 1; margin-top: 2px; }
.timeline-step h3 { font-size: 14px; margin-bottom: 5px; }
.timeline-step p { font-size: 13px; color: var(--color-text-muted); line-height: 1.6; }

.application-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(28px, 6vw, 76px);
  align-items: start;
  min-width: 0;
  max-width: 100%;
}
@media (max-width: 740px) { .application-grid { grid-template-columns: 1fr; } }

.application-intro h2 { margin-bottom: 12px; }
.application-intro h2 em { font-style: normal; color: var(--color-accent); }
.application-intro p { font-size: 14px; color: var(--color-text-muted); line-height: 1.75; margin-bottom: 10px; }
.application-note { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--color-border); font-size: 12px; color: var(--color-text-faint); line-height: 1.65; }

.form-card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-default); padding: clamp(20px, 3.5vw, 30px); box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04); }
.form-card { min-width: 0; max-width: 100%; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
@media (max-width: 440px) { .field-row { grid-template-columns: 1fr; } }

.field { margin-bottom: 11px; }
.field label { display: block; font-size: 11px; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; color: var(--color-text-faint); margin-bottom: 5px; }
.field input, .field select, .field textarea {
  width: 100%;
  background: var(--color-bg);
  border: 1px solid var(--color-border-strong);
  border-radius: 7px;
  color: var(--color-text);
  font-family: var(--font-family);
  font-size: 14px;
  padding: 9px 12px;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  appearance: none;
  -webkit-appearance: none;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px var(--color-accent-tint);
}
.field input::placeholder, .field textarea::placeholder { color: var(--color-text-faint); }
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='7' viewBox='0 0 11 7'%3E%3Cpath d='M1 1l4.5 4.5L10 1' stroke='%238A8D99' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 34px;
}
.field textarea { resize: vertical; min-height: 66px; }

.checkbox-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  max-height: 280px;
  overflow-y: auto;
  padding-right: 4px;
}

.check-option {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--color-bg);
  border: 1.5px solid var(--color-border-strong);
  border-radius: 10px;
  padding: 10px 12px;
  min-height: 48px;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.check-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.checkbox-ui {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 1.7px solid var(--color-border-strong);
  background: #fff;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.checkbox-ui::after {
  content: '';
  width: 8px;
  height: 5px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg) scale(0);
  transition: transform 0.15s ease;
  margin-top: -2px;
}

.check-option input:checked + .checkbox-ui {
  background: var(--color-accent);
  border-color: var(--color-accent);
}

.check-option.is-selected .checkbox-ui {
  background: var(--color-accent);
  border-color: var(--color-accent);
}

.check-option input:checked + .checkbox-ui::after {
  transform: rotate(-45deg) scale(1);
}

.check-option.is-selected .checkbox-ui::after {
  transform: rotate(-45deg) scale(1);
}

.check-option.is-selected {
  background: rgba(79, 195, 216, 0.12);
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(79, 195, 216, 0.12);
}

.check-option.is-selected .country-label {
  color: var(--color-text);
  font-weight: 700;
}

.check-option input:checked ~ .country-label {
  color: var(--color-text);
  font-weight: 700;
}

.country-flag {
  font-size: 18px;
  line-height: 1;
  flex: 0 0 auto;
}

.country-label {
  font-size: 14px;
  line-height: 1.25;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 600;
  color: var(--color-text-muted);
}

#target-countries-other {
  margin-top: 8px;
}

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

@media (max-width: 700px) {
  .country-label {
    font-size: 13.5px;
  }

  .check-option {
    min-height: 46px;
    padding: 9px 11px;
  }
}

body.lang-ar .checkbox-grid {
  padding-left: 4px;
  padding-right: 0;
}

body.lang-ar .field select {
  background-position: left 12px center;
  padding-left: 34px;
  padding-right: 12px;
}

.step-indicator-wrap { margin-bottom: 20px; }
.step-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 8px;
}
.step-indicator { display: flex; gap: 8px; }
.step-dot { flex: 1; height: 3px; border-radius: 2px; background: var(--color-border-strong); transition: background 0.2s; }
.step-dot.is-complete { background: var(--color-accent); }

.hero-mobile-stats {
  display: none;
  justify-content: center;
  margin-top: 20px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.42);
}
@media (max-width: 740px) { .hero-mobile-stats { display: flex; } }

.form-page { display: none; }
.form-page.is-active { display: block; }

.form-back-button {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-family);
  font-size: 13px;
  color: var(--color-text-faint);
  padding: 0;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: color 0.14s;
}
.form-back-button:hover { color: var(--color-accent); }

.form-submit, .form-continue { width: 100%; margin-top: 6px; font-size: 14px; font-weight: 700; padding: 12px; letter-spacing: 0.02em; }

.form-consent { font-size: 11px; color: var(--color-text-faint); margin-top: 8px; text-align: center; line-height: 1.5; }
.form-consent a { color: var(--color-accent); text-decoration: underline; }

.form-success { display: none; text-align: center; padding: 40px 20px; }
.form-success.is-visible { display: block; }
.form-success-icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--color-success-tint);
  border: 2px solid var(--color-success-border);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  color: var(--color-success);
}
.form-success-icon svg { width: 22px; height: 22px; }
.form-success h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.form-success p { font-size: 14px; color: var(--color-text-muted); line-height: 1.7; }

.form-failure { display: none; text-align: center; padding: 32px 20px; }
.form-failure.is-visible { display: block; }
.form-failure-icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(192, 57, 43, 0.08);
  border: 2px solid rgba(192, 57, 43, 0.2);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  color: var(--color-error);
}
.form-failure-icon svg { width: 22px; height: 22px; }
.form-failure h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.form-failure p { font-size: 14px; color: var(--color-text-muted); line-height: 1.7; margin-bottom: 18px; }

.field-error { font-size: 12px; color: var(--color-error); margin-top: 4px; display: none; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--color-error); }
.field.has-error .field-error { display: block; }

.faq-container { max-width: 640px; margin: 0 auto; }
.faq-title { font-size: clamp(20px, 3vw, 32px); font-weight: 700; text-align: center; margin-bottom: clamp(24px, 4vw, 38px); }
.faq-item { border-bottom: 1px solid var(--color-border); }
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  cursor: pointer;
  gap: 16px;
  font-size: 14px;
  font-weight: 600;
  user-select: none;
  transition: color 0.14s;
}
.faq-question:hover { color: var(--color-accent); }
.faq-icon {
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 1.5px solid var(--color-border-strong);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 15px;
  color: var(--color-text-faint);
  transition: transform 0.2s, border-color 0.14s, color 0.14s;
}
.faq-item.is-open .faq-icon { transform: rotate(45deg); border-color: var(--color-accent); color: var(--color-accent); }
.faq-answer { display: none; padding-bottom: 16px; font-size: 13px; color: var(--color-text-muted); line-height: 1.75; }
.faq-item.is-open .faq-answer { display: block; }

.closing-section { background: var(--color-dark); position: relative; overflow: hidden; }
.closing-section::before {
  content: '';
  position: absolute;
  top: -80px; left: 50%; transform: translateX(-50%);
  width: min(520px, 100vw); height: 340px;
  background: radial-gradient(ellipse, rgba(22, 96, 199, 0.15), transparent 70%);
  pointer-events: none;
}
.closing-inner { position: relative; text-align: center; padding: clamp(68px, 9vw, 112px) var(--section-padding); max-width: 560px; margin: 0 auto; }
.closing-inner h2 { color: #fff; margin-bottom: 12px; }
.closing-inner h2 em { font-style: normal; color: #4FC3D8; }
.closing-inner p { color: rgba(255, 255, 255, 0.48); font-size: 15px; margin-bottom: 28px; line-height: 1.7; }
.closing-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

.site-footer { background: var(--color-surface); border-top: 1px solid var(--color-border); padding: clamp(36px, 6vw, 56px) var(--section-padding) clamp(16px, 3vw, 24px); }
.footer-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: clamp(18px, 4vw, 40px);
  margin-bottom: clamp(24px, 4vw, 36px);
  min-width: 0;
  max-width: 100%;
}
@media (max-width: 680px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 360px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand p { font-size: 13px; color: var(--color-text-faint); line-height: 1.7; margin: 9px 0 14px; max-width: 220px; }
.social-links { display: flex; gap: 6px; flex-wrap: wrap; }
.social-links a {
  width: 30px; height: 30px;
  border-radius: 6px;
  border: 1px solid var(--color-border-strong);
  background: var(--color-bg);
  display: flex; align-items: center; justify-content: center;
  color: var(--color-text-faint);
  transition: all 0.14s;
}
.social-links a:hover { border-color: var(--color-accent); color: var(--color-accent); }

.footer-column h4 { font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-text-faint); margin-bottom: 11px; }
.footer-column a { display: block; font-size: 13px; color: var(--color-text-muted); padding: 3px 0; transition: color 0.14s; }
.footer-column a:hover { color: var(--color-accent); }

.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  border-top: 1px solid var(--color-border);
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
  color: var(--color-text-faint);
}

[data-lang="fr"], [data-lang="ar"] { display: none; }
body.lang-fr [data-lang="en"] { display: none; }
body.lang-fr [data-lang="fr"] { display: revert; }
body.lang-ar [data-lang="en"] { display: none; }
body.lang-ar [data-lang="ar"] { display: revert; }

body.lang-ar {
  direction: rtl;
  text-align: right;
}
body.lang-ar .hero-question,
body.lang-ar .application-intro,
body.lang-ar .faq-container,
body.lang-ar .footer-brand,
body.lang-ar .footer-column,
body.lang-ar .service-card,
body.lang-ar .process-step,
body.lang-ar .form-card {
  text-align: right;
}

body.lang-ar .audience-quote::after { left: 0; right: auto; }

@media (min-width: 921px) {
  body.lang-ar .machine-connector::after {
    right: auto;
    left: -1px;
    border-left: none;
    border-right: 7px solid rgba(79, 195, 216, 0.72);
  }
}

@media (max-width: 1024px) {
  .hero-grid,
  .application-grid,
  .problem-grid,
  .services-header,
  .audience-grid {
    grid-template-columns: 1fr !important;
  }

  .hero-grid {
    gap: 28px;
  }

  .hero-stats {
    display: none !important;
  }
}

@media (max-width: 700px) {
  .section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .container {
    padding-left: 18px;
    padding-right: 18px;
  }

  * {
    max-width: 100%;
  }

  .hero,
  .section,
  .closing-section,
  .site-footer {
    overflow-x: hidden;
  }
}

@media (min-width: 1025px) {
  .hero-actions .button--large {
    min-height: 48px;
    padding-left: 26px;
    padding-right: 26px;
  }

  .section {
    padding-top: 84px;
    padding-bottom: 84px;
  }

  .machine-inner {
    padding-top: 84px;
    padding-bottom: 84px;
  }
}
