@font-face {
  font-family: "Manrope";
  src: url("./assets/fonts/Manrope-Regular.ttf");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("./assets/fonts/Manrope-SemiBold.ttf");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("./assets/fonts/Manrope-Bold.ttf");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}


:root {
  --black: #231f20;
  --navy: #1e2760;
  --purple: #954aa5;
  --purple-dark: #763789;
  --purple-soft: #f3eaf6;
  --lavender: #faf6fb;

  --white: #ffffff;
  --off-white: #fbfafc;
  --surface: #f5f3f6;

  --text: #231f20;
  --text-soft: #67626b;
  --text-light: #9b96a0;

  --border: #e6e1e8;
  --border-dark: rgba(35, 31, 32, 0.12);

  --success: #237a57;
  --danger: #a13939;

  --shadow-sm:
    0 8px 28px rgba(35, 31, 32, 0.06);

  --shadow-md:
    0 24px 70px rgba(30, 39, 96, 0.10);

  --shadow-lg:
    0 36px 100px rgba(30, 39, 96, 0.14);

  --radius-sm: 12px;
  --radius-md: 22px;
  --radius-lg: 34px;
  --radius-xl: 48px;

  --container: 1180px;
}


/* -------------------------------------------------------
   BASE
------------------------------------------------------- */

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;

  font-family:
    "Manrope",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;

  background: var(--white);
  color: var(--text);

  font-size: 16px;
  line-height: 1.65;

  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::selection {
  background: var(--purple);
  color: var(--white);
}

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

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

button,
input,
select {
  font: inherit;
}

button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}

button {
  border: 0;
}

[hidden] {
  display: none !important;
}

.container {
  width: min(
    calc(100% - 48px),
    var(--container)
  );

  margin-inline: auto;
}

.section {
  padding: 112px 0;
}

.section-light {
  background:
    linear-gradient(
      180deg,
      #fbfafc 0%,
      #ffffff 100%
    );
}

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

h1,
h2,
h3 {
  letter-spacing: -0.035em;
}

h1 {
  margin-bottom: 28px;

  font-size:
    clamp(3rem, 6vw, 5.8rem);

  line-height: 0.98;
  font-weight: 700;
}

h2 {
  margin-bottom: 24px;

  font-size:
    clamp(2.3rem, 4.2vw, 4.25rem);

  line-height: 1.03;
  font-weight: 700;
}

h3 {
  margin-bottom: 12px;

  font-size:
    clamp(1.25rem, 2vw, 1.7rem);

  line-height: 1.2;
}

p {
  color: var(--text-soft);
}


/* -------------------------------------------------------
   HEADER
------------------------------------------------------- */

.site-header {
  position: sticky;
  z-index: 1000;
  top: 0;

  background:
    rgba(255, 255, 255, 0.88);

  border-bottom:
    1px solid rgba(35, 31, 32, 0.06);

  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.nav-wrap {
  min-height: 82px;

  display: flex;
  align-items: center;
  gap: 30px;
}

.brand {
  flex-shrink: 0;
}

.brand img {
  width: 138px;
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;

  margin-left: auto;
}

.nav-links a {
  position: relative;

  color: #4e4951;

  font-size: 14px;
  font-weight: 600;

  transition:
    color 180ms ease;
}

.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;

  height: 2px;

  background: var(--purple);

  content: "";

  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.nav-links a:hover {
  color: var(--black);
}

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


/* -------------------------------------------------------
   BUTTONS
------------------------------------------------------- */

.button {
  min-height: 52px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  gap: 9px;

  padding: 0 25px;

  border-radius: 999px;

  font-size: 14px;
  font-weight: 700;

  cursor: pointer;

  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

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

.button-small {
  min-height: 44px;
  padding: 0 20px;
}

.button-primary {
  background:
    linear-gradient(
      135deg,
      var(--purple),
      var(--navy)
    );

  color: var(--white);

  box-shadow:
    0 15px 32px
    rgba(149, 74, 165, 0.24);
}

.button-primary:hover {
  box-shadow:
    0 20px 38px
    rgba(149, 74, 165, 0.32);
}

.button-secondary {
  background: var(--white);
  color: var(--black);

  border:
    1px solid var(--border-dark);
}

.button-secondary:hover {
  border-color:
    rgba(149, 74, 165, 0.45);

  box-shadow: var(--shadow-sm);
}

.button-outline {
  color: var(--black);

  border:
    1px solid var(--border-dark);

  background:
    rgba(255, 255, 255, 0.7);
}

.button-outline:hover {
  border-color: var(--purple);
}

.button-white {
  background: var(--white);
  color: var(--navy);

  box-shadow:
    0 14px 30px rgba(0, 0, 0, 0.11);
}


/* -------------------------------------------------------
   LABELS / EYEBROWS
------------------------------------------------------- */

.eyebrow {
  margin-bottom: 17px;

  color: var(--purple);

  font-size: 12px;
  line-height: 1.2;

  font-weight: 700;

  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow-light {
  color: #d9b7df;
}

.event-pill {
  width: max-content;

  margin-bottom: 34px;
  padding: 9px 15px;

  border:
    1px solid rgba(149, 74, 165, 0.20);

  border-radius: 999px;

  background:
    rgba(255, 255, 255, 0.78);

  color: var(--navy);

  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.09em;

  box-shadow: var(--shadow-sm);
}


/* -------------------------------------------------------
   HERO
------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;

  min-height:
    calc(100vh - 82px);

  display: flex;
  align-items: center;

  padding: 88px 0 106px;

  background:
    radial-gradient(
      circle at 15% 10%,
      rgba(149, 74, 165, 0.09),
      transparent 35%
    ),
    radial-gradient(
      circle at 89% 40%,
      rgba(30, 39, 96, 0.08),
      transparent 35%
    ),
    linear-gradient(
      180deg,
      #ffffff 0%,
      #fbfafc 100%
    );
}

.hero::before {
  position: absolute;
  top: 0;
  right: 42%;
  bottom: 0;

  width: 1px;

  content: "";

  background:
    linear-gradient(
      transparent,
      rgba(30, 39, 96, 0.08),
      transparent
    );
}

.hero-grid {
  position: relative;
  z-index: 2;

  display: grid;
  grid-template-columns:
    minmax(0, 1.05fr)
    minmax(380px, 0.8fr);

  align-items: center;

  gap: 90px;
}

.hero-copy {
  max-width: 720px;
}

.hero h1 {
  max-width: 760px;
}

.hero-lead {
  max-width: 650px;

  margin-bottom: 34px;

  font-size:
    clamp(1.05rem, 1.5vw, 1.27rem);

  line-height: 1.7;
}

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

  margin-bottom: 30px;
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 9px;

  color: var(--text-soft);

  font-size: 12px;
  font-weight: 600;
}

.dot {
  width: 8px;
  height: 8px;

  border-radius: 50%;

  background: var(--purple);

  box-shadow:
    0 0 0 5px
    rgba(149, 74, 165, 0.10);
}

.hero-orb {
  position: absolute;

  border-radius: 50%;

  pointer-events: none;

  filter: blur(1px);
}

.hero-orb-one {
  top: -160px;
  left: -150px;

  width: 370px;
  height: 370px;

  border:
    1px solid rgba(149, 74, 165, 0.10);
}

.hero-orb-two {
  right: -240px;
  bottom: -270px;

  width: 620px;
  height: 620px;

  border:
    1px solid rgba(30, 39, 96, 0.08);
}


/* -------------------------------------------------------
   HERO INTELLIGENCE CARD
------------------------------------------------------- */

.hero-visual {
  position: relative;
}

.hero-visual::before {
  position: absolute;
  z-index: 0;

  top: -60px;
  right: -60px;

  width: 230px;
  height: 230px;

  border-radius: 50%;

  content: "";

  background:
    linear-gradient(
      135deg,
      rgba(149, 74, 165, 0.20),
      rgba(30, 39, 96, 0.06)
    );

  filter: blur(6px);
}

.intelligence-card {
  position: relative;
  z-index: 1;

  overflow: hidden;

  padding: 28px;

  border:
    1px solid
    rgba(255, 255, 255, 0.72);

  border-radius: var(--radius-lg);

  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.97),
      rgba(248, 245, 250, 0.95)
    );

  box-shadow: var(--shadow-lg);

  transform: rotate(1.2deg);
}

.intelligence-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;

  height: 4px;

  content: "";

  background:
    linear-gradient(
      90deg,
      var(--purple),
      var(--navy)
    );
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;

  margin-bottom: 40px;

  color: var(--text-light);

  font-size: 11px;
  font-weight: 700;

  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.live-state {
  padding: 6px 10px;

  border-radius: 999px;

  background: var(--purple-soft);
  color: var(--purple-dark);
}

.signal-text {
  margin-bottom: 27px;

  color: var(--black);

  font-family:
    "Segoe UI",
    Tahoma,
    Arial,
    sans-serif;

  font-size:
    clamp(1.45rem, 2.7vw, 2.1rem);

  line-height: 1.65;
  text-align: right;
  direction: rtl;
}

.signal-divider {
  height: 1px;
  margin-bottom: 23px;

  background: var(--border);
}

.signal-result {
  display: grid;
  gap: 12px;

  margin-bottom: 26px;
}

.signal-result > div {
  padding: 15px 17px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  border:
    1px solid var(--border);

  border-radius: 14px;

  background:
    rgba(255, 255, 255, 0.74);
}

.result-label {
  color: var(--text-light);

  font-size: 11px;
  font-weight: 600;
}

.signal-result strong {
  color: var(--navy);

  font-size: 13px;
}

.decision-strip {
  padding: 15px 16px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 8px;

  border-radius: 14px;

  background: var(--black);
  color: var(--white);

  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
}


/* -------------------------------------------------------
   SECTION HEADING
------------------------------------------------------- */

.section-heading {
  max-width: 790px;

  margin-bottom: 58px;
}

.section-heading p:last-child {
  max-width: 680px;

  margin-bottom: 0;

  font-size: 18px;
}

.large-copy {
  max-width: 680px;

  font-size:
    clamp(1.05rem, 1.4vw, 1.2rem);

  line-height: 1.8;
}


/* -------------------------------------------------------
   PLATFORM CARDS
------------------------------------------------------- */

.feature-grid {
  display: grid;
  grid-template-columns:
    repeat(3, 1fr);

  gap: 18px;
}

.feature-card {
  min-height: 310px;

  padding: 30px;

  display: flex;
  flex-direction: column;

  border:
    1px solid var(--border);

  border-radius: var(--radius-md);

  background: var(--white);

  box-shadow:
    0 8px 30px
    rgba(35, 31, 32, 0.025);

  transition:
    transform 200ms ease,
    border-color 200ms ease,
    box-shadow 200ms ease;
}

.feature-card:hover {
  transform: translateY(-5px);

  border-color:
    rgba(149, 74, 165, 0.30);

  box-shadow: var(--shadow-md);
}

.feature-number {
  margin-bottom: auto;

  color: var(--purple);

  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.feature-card h3 {
  margin-top: 66px;
}

.feature-card p {
  margin-bottom: 0;

  font-size: 14px;
}

.feature-card-accent {
  background:
    linear-gradient(
      145deg,
      var(--navy),
      #2d286f
    );

  border-color:
    transparent;
}

.feature-card-accent h3,
.feature-card-accent .feature-number {
  color: var(--white);
}

.feature-card-accent p {
  color:
    rgba(255, 255, 255, 0.70);
}


/* -------------------------------------------------------
   ARABIC INTELLIGENCE
------------------------------------------------------- */

.intelligence-section {
  background:
    linear-gradient(
      180deg,
      #ffffff,
      var(--lavender)
    );
}

.split-layout {
  display: grid;
  grid-template-columns:
    minmax(0, 1fr)
    minmax(340px, 0.82fr);

  gap: 100px;
  align-items: start;
}

.capability-list {
  border-top:
    1px solid var(--border);
}

.capability {
  min-height: 76px;

  display: grid;
  grid-template-columns: 48px 1fr;

  align-items: center;

  gap: 18px;

  border-bottom:
    1px solid var(--border);

  transition:
    padding-left 180ms ease;
}

.capability:hover {
  padding-left: 10px;
}

.capability span {
  color: var(--purple);

  font-size: 11px;
  font-weight: 700;
}

.capability strong {
  font-size: 17px;
}


/* -------------------------------------------------------
   MASHA
------------------------------------------------------- */

.masha-section {
  position: relative;

  overflow: hidden;

  background:
    linear-gradient(
      135deg,
      #211f22,
      #191a32 64%,
      #24204a
    );

  color: var(--white);
}

.masha-section::before {
  position: absolute;

  top: -210px;
  right: -140px;

  width: 520px;
  height: 520px;

  border-radius: 50%;

  content: "";

  background:
    radial-gradient(
      circle,
      rgba(149, 74, 165, 0.28),
      transparent 68%
    );
}

.masha-head {
  position: relative;
  z-index: 2;

  display: grid;
  grid-template-columns:
    0.7fr 1fr;

  gap: 100px;
  align-items: end;

  margin-bottom: 82px;
}

.masha-head h2 {
  margin-bottom: 0;

  font-size:
    clamp(3.2rem, 6vw, 5.8rem);
}

.masha-intro {
  max-width: 620px;

  margin: 0;

  color:
    rgba(255, 255, 255, 0.66);

  font-size:
    clamp(1.05rem, 1.6vw, 1.28rem);
}

.flow {
  position: relative;
  z-index: 2;

  display: grid;

  grid-template-columns:
    1fr auto 1fr auto 1fr auto 1fr auto 1fr;

  align-items: center;

  gap: 12px;
}

.flow-item {
  min-height: 146px;

  padding: 22px;

  display: flex;
  flex-direction: column;
  justify-content: space-between;

  border:
    1px solid
    rgba(255, 255, 255, 0.10);

  border-radius: 20px;

  background:
    rgba(255, 255, 255, 0.04);

  backdrop-filter: blur(8px);
}

.flow-item span {
  color:
    rgba(255, 255, 255, 0.36);

  font-size: 10px;
  font-weight: 700;
}

.flow-item strong {
  font-size: 17px;
}

.flow-item-final {
  background:
    linear-gradient(
      145deg,
      var(--purple),
      #694181
    );

  border-color: transparent;
}

.flow-arrow {
  color:
    rgba(255, 255, 255, 0.25);

  font-size: 22px;
}


/* -------------------------------------------------------
   TRY MASHA
------------------------------------------------------- */

.try-section {
  background:
    linear-gradient(
      180deg,
      #faf9fb,
      #ffffff
    );
}

.try-grid {
  display: grid;

  grid-template-columns:
    minmax(0, 0.85fr)
    minmax(460px, 1fr);

  gap: 80px;
  align-items: start;
}

.try-copy {
  position: sticky;
  top: 130px;
}

.deliverables {
  margin: 38px 0 30px;

  display: grid;
  grid-template-columns:
    repeat(2, 1fr);

  gap: 14px;
}

.deliverables > div {
  display: flex;
  align-items: center;

  gap: 10px;

  color: #4d4850;

  font-size: 14px;
  font-weight: 600;
}

.check {
  width: 25px;
  height: 25px;

  flex-shrink: 0;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: var(--purple-soft);
  color: var(--purple);

  font-size: 12px;
  font-weight: 700;
}

.mini-limits {
  padding-top: 22px;

  display: flex;
  flex-wrap: wrap;

  gap: 8px;

  border-top:
    1px solid var(--border);
}

.mini-limits span {
  padding: 7px 11px;

  border:
    1px solid var(--border);

  border-radius: 999px;

  background: var(--white);

  color: var(--text-soft);

  font-size: 10px;
  font-weight: 700;
}


/* -------------------------------------------------------
   FORM
------------------------------------------------------- */

.form-card {
  min-height: 600px;

  padding: 42px;

  border:
    1px solid var(--border);

  border-radius: var(--radius-lg);

  background:
    rgba(255, 255, 255, 0.98);

  box-shadow: var(--shadow-lg);
}

.form-head {
  margin-bottom: 34px;
}

.form-step {
  display: block;

  margin-bottom: 12px;

  color: var(--purple);

  font-size: 11px;
  font-weight: 700;

  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.form-head h3 {
  margin-bottom: 8px;

  font-size: 29px;
}

.form-head p {
  margin-bottom: 0;

  font-size: 14px;
}

#masha-form {
  display: grid;

  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns:
    repeat(2, 1fr);

  gap: 16px;
}

#masha-form > label,
.form-row label {
  display: grid;
  gap: 8px;

  color: #4b464d;

  font-size: 12px;
  font-weight: 700;
}

input[type="text"],
input[type="email"],
select {
  width: 100%;
  min-height: 50px;

  padding: 0 15px;

  outline: none;

  border:
    1px solid var(--border);

  border-radius: var(--radius-sm);

  background: #fcfbfc;

  color: var(--black);

  font-size: 14px;

  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
select:focus {
  border-color:
    rgba(149, 74, 165, 0.68);

  background: var(--white);

  box-shadow:
    0 0 0 4px
    rgba(149, 74, 165, 0.08);
}

select {
  cursor: pointer;
}

.language-field {
  margin: 2px 0 0;
  padding: 0;

  border: 0;
}

.language-field legend {
  margin-bottom: 9px;

  color: #4b464d;

  font-size: 12px;
  font-weight: 700;
}

.language-options {
  display: grid;
  grid-template-columns:
    repeat(2, 1fr);

  gap: 12px;
}

.radio-card {
  position: relative;

  min-height: 49px;

  display: flex;
  align-items: center;
  justify-content: center;

  border:
    1px solid var(--border);

  border-radius: var(--radius-sm);

  background: #fcfbfc;

  cursor: pointer;

  transition:
    border-color 160ms ease,
    background 160ms ease,
    color 160ms ease;
}

.radio-card input {
  position: absolute;

  width: 1px;
  height: 1px;

  opacity: 0;
}

.radio-card:has(input:checked) {
  border-color: var(--purple);

  background: var(--purple-soft);
  color: var(--purple-dark);
}

.radio-card span {
  font-size: 13px;
  font-weight: 700;
}


/* -------------------------------------------------------
   UPLOAD
------------------------------------------------------- */

.upload-area {
  min-height: 152px;

  padding: 28px;

  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  gap: 6px;

  border:
    1.5px dashed
    rgba(149, 74, 165, 0.32);

  border-radius: 18px;

  background:
    linear-gradient(
      180deg,
      rgba(149, 74, 165, 0.025),
      rgba(30, 39, 96, 0.018)
    );

  text-align: center;

  cursor: pointer;

  transition:
    border-color 160ms ease,
    background 160ms ease,
    transform 160ms ease;
}

.upload-area:hover {
  transform: translateY(-2px);

  border-color:
    rgba(149, 74, 165, 0.65);

  background: var(--purple-soft);
}

.upload-area input {
  position: absolute;

  width: 1px;
  height: 1px;

  opacity: 0;
  pointer-events: none;
}

.upload-icon {
  width: 34px;
  height: 34px;

  margin-bottom: 4px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: var(--purple);
  color: var(--white);

  font-size: 17px;
}

.upload-area strong {
  color: var(--black);

  font-size: 13px;
}

.upload-area #file-label {
  color: var(--text-light);

  font-size: 11px;
  font-weight: 500;
}


/* -------------------------------------------------------
   CONSENT + ERROR
------------------------------------------------------- */

.consent {
  display: flex !important;
  grid-template-columns: none !important;

  align-items: flex-start;

  gap: 10px !important;

  color: var(--text-soft) !important;

  font-size: 10px !important;
  font-weight: 500 !important;

  line-height: 1.55;
}

.consent input {
  margin-top: 3px;

  accent-color: var(--purple);
}

.form-error {
  padding: 12px 14px;

  border:
    1px solid
    rgba(161, 57, 57, 0.15);

  border-radius: 12px;

  background:
    rgba(161, 57, 57, 0.06);

  color: var(--danger);

  font-size: 12px;
}

.submit-button {
  width: 100%;
  min-height: 56px;

  margin-top: 2px;
}

.submit-button:disabled {
  opacity: 0.58;
  cursor: wait;
  transform: none;
}


/* -------------------------------------------------------
   PROCESSING
------------------------------------------------------- */

.processing-view,
.success-view {
  min-height: 520px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  text-align: center;
}

.processing-mark {
  position: relative;

  width: 82px;
  height: 82px;

  margin-bottom: 34px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background:
    linear-gradient(
      135deg,
      var(--purple),
      var(--navy)
    );

  color: var(--white);

  font-size: 29px;
  font-weight: 700;
}

.processing-mark .pulse {
  position: absolute;

  inset: -10px;

  border:
    1px solid
    rgba(149, 74, 165, 0.30);

  border-radius: 50%;

  animation:
    pulse-ring 1.7s
    ease-out infinite;
}

@keyframes pulse-ring {
  0% {
    opacity: 1;
    transform: scale(0.85);
  }

  80%,
  100% {
    opacity: 0;
    transform: scale(1.4);
  }
}

.processing-view h3,
.success-view h3 {
  max-width: 420px;

  margin-bottom: 12px;

  font-size: 29px;
}

.processing-view p,
.success-view p {
  max-width: 430px;

  margin-bottom: 30px;
}

.progress-track {
  width: min(100%, 430px);
  height: 6px;

  margin-top: 10px;
  margin-bottom: 18px;

  overflow: hidden;

  border-radius: 999px;

  background: #ece9ee;
}

.progress-bar {
  width: 18%;
  height: 100%;

  border-radius: inherit;

  background:
    linear-gradient(
      90deg,
      var(--purple),
      var(--navy)
    );

  transition:
    width 500ms ease;
}

.processing-steps {
  width: min(100%, 430px);

  display: flex;
  justify-content: space-between;

  color: var(--text-light);

  font-size: 9px;
  font-weight: 700;

  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.processing-steps .active {
  color: var(--purple);
}


/* -------------------------------------------------------
   SUCCESS
------------------------------------------------------- */

.success-icon {
  width: 78px;
  height: 78px;

  margin-bottom: 30px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background:
    rgba(35, 122, 87, 0.09);

  color: var(--success);

  font-size: 31px;
  font-weight: 700;

  box-shadow:
    0 0 0 10px
    rgba(35, 122, 87, 0.035);
}

.success-view .button {
  margin-top: 4px;
}


/* -------------------------------------------------------
   CASE STUDIES
------------------------------------------------------- */

.case-section {
  background: var(--off-white);
}

.case-heading {
  max-width: 730px;
}

.case-grid {
  display: grid;
  grid-template-columns:
    repeat(3, 1fr);

  gap: 18px;
}

.case-card {
  min-height: 335px;

  padding: 28px;

  display: flex;
  flex-direction: column;

  border:
    1px solid var(--border);

  border-radius: var(--radius-md);

  background: var(--white);

  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.case-card:hover {
  transform: translateY(-5px);

  border-color:
    rgba(149, 74, 165, 0.30);

  box-shadow: var(--shadow-md);
}

.case-card > span {
  margin-bottom: auto;

  color: var(--purple);

  font-size: 10px;
  font-weight: 700;

  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.case-card h3 {
  margin-top: 90px;

  font-size: 23px;
}

.case-card p {
  margin-bottom: 0;

  color: var(--text-light);

  font-size: 12px;
}


/* -------------------------------------------------------
   FINAL CTA
------------------------------------------------------- */

.final-cta {
  position: relative;

  overflow: hidden;

  padding: 92px 0;

  background:
    linear-gradient(
      130deg,
      var(--purple-dark),
      var(--navy)
    );

  color: var(--white);
}

.final-cta::before {
  position: absolute;

  top: -170px;
  right: -100px;

  width: 470px;
  height: 470px;

  border:
    1px solid
    rgba(255, 255, 255, 0.12);

  border-radius: 50%;

  content: "";
}

.final-cta-inner {
  position: relative;
  z-index: 1;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 60px;
}

.final-cta h2 {
  margin-bottom: 14px;

  font-size:
    clamp(2.6rem, 4.8vw, 4.6rem);
}

.final-cta p {
  max-width: 670px;

  margin-bottom: 0;

  color:
    rgba(255, 255, 255, 0.70);

  font-size: 17px;
}


/* -------------------------------------------------------
   FOOTER
------------------------------------------------------- */

.footer {
  padding: 48px 0;

  background: var(--white);
}

.footer-inner {
  display: grid;

  grid-template-columns:
    160px 1fr auto;

  align-items: center;

  gap: 32px;
}

.footer-inner img {
  width: 135px;
}

.footer-copy {
  display: flex;
  flex-direction: column;

  gap: 5px;
}

.footer-copy strong {
  font-size: 12px;
}

.footer-copy span {
  color: var(--text-light);

  font-size: 10px;
}

.footer-inner > a {
  color: var(--purple);

  font-size: 12px;
  font-weight: 700;
}


/* -------------------------------------------------------
   RESPONSIVE
------------------------------------------------------- */

@media (max-width: 1050px) {

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

  .hero-grid {
    gap: 60px;
  }

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

  .hero-visual {
    max-width: 650px;
  }

  .hero::before {
    display: none;
  }

  .try-copy {
    position: static;
  }

  .try-grid {
    gap: 55px;
  }

  .masha-head {
    grid-template-columns: 1fr;

    gap: 28px;
  }

  .flow {
    grid-template-columns:
      repeat(5, 1fr);
  }

  .flow-arrow {
    display: none;
  }

}


@media (max-width: 820px) {

  .section {
    padding: 82px 0;
  }

  .nav-links {
    display: none;
  }

  .site-header .button {
    margin-left: auto;
  }

  .feature-grid,
  .case-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 240px;
  }

  .feature-card h3 {
    margin-top: 42px;
  }

  .split-layout {
    grid-template-columns: 1fr;

    gap: 52px;
  }

  .flow {
    grid-template-columns:
      repeat(2, 1fr);

    gap: 10px;
  }

  .flow-item:last-of-type {
    grid-column:
      1 / -1;
  }

  .form-card {
    padding: 30px;
  }

  .final-cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-inner {
    grid-template-columns: 1fr;

    gap: 18px;
  }

}


@media (max-width: 560px) {

  .container {
    width:
      min(
        calc(100% - 30px),
        var(--container)
      );
  }

  .nav-wrap {
    min-height: 72px;
  }

  .brand img {
    width: 116px;
  }

  .site-header .button-small {
    min-height: 38px;

    padding: 0 14px;

    font-size: 11px;
  }

  .hero {
    min-height: auto;

    padding:
      64px 0 76px;
  }

  .event-pill {
    margin-bottom: 26px;
  }

  h1 {
    font-size:
      clamp(2.65rem, 13vw, 4rem);
  }

  h2 {
    font-size:
      clamp(2.15rem, 10vw, 3rem);
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .intelligence-card {
    padding: 22px;

    border-radius: 25px;

    transform: none;
  }

  .signal-text {
    font-size: 1.4rem;
  }

  .decision-strip {
    font-size: 8px;
  }

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

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

  .form-card {
    min-height: 0;

    padding: 24px 18px;

    border-radius: 24px;
  }

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

  .flow-item {
    min-height: 100px;
  }

  .flow-item:last-of-type {
    grid-column: auto;
  }

  .case-card {
    min-height: 260px;
  }

  .case-card h3 {
    margin-top: 55px;
  }

  .language-options {
    grid-template-columns: 1fr 1fr;
  }

}


/* -------------------------------------------------------
   LEAP LANGUAGE SWITCH + HERO SIZE
------------------------------------------------------- */

.hero h1 {
  font-size:
    clamp(2.85rem, 5.15vw, 5.15rem);
}

.language-switch {
  flex-shrink: 0;

  min-height: 38px;

  display: inline-flex;
  align-items: center;

  padding: 4px 7px;

  border:
    1px solid var(--border-dark);

  border-radius: 999px;

  background:
    rgba(255, 255, 255, 0.78);
}

.language-switch > span {
  width: 1px;
  height: 15px;

  margin: 0 2px;

  background: var(--border);
}

.language-button {
  min-width: 37px;
  height: 29px;

  padding: 0 8px;

  border-radius: 999px;

  background: transparent;
  color: var(--text-light);

  font-size: 10px;
  font-weight: 700;

  cursor: pointer;

  transition:
    background 160ms ease,
    color 160ms ease;
}

.language-button.active {
  background: var(--black);
  color: var(--white);
}


/* Arabic page direction */

html[dir="rtl"] body {
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] .nav-links {
  margin-left: 0;
  margin-right: auto;
}

html[dir="rtl"] .hero-actions,
html[dir="rtl"] .hero-note,
html[dir="rtl"] .mini-limits,
html[dir="rtl"] .deliverables > div {
  direction: rtl;
}

html[dir="rtl"] .capability {
  grid-template-columns: 48px 1fr;
}

html[dir="rtl"] .signal-text {
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] .form-row,
html[dir="rtl"] #masha-form,
html[dir="rtl"] .form-head,
html[dir="rtl"] .try-copy {
  text-align: right;
}

html[dir="rtl"] input,
html[dir="rtl"] select {
  text-align: right;
}

html[dir="rtl"] .consent {
  direction: rtl;
}

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

html[dir="rtl"] .footer-inner {
  direction: rtl;
}


@media (max-width: 560px) {

  .hero h1 {
    font-size:
      clamp(2.35rem, 11.5vw, 3.45rem);
  }

  .language-switch {
    margin-left: auto;
  }

  .site-header .button-outline {
    display: none;
  }

  html[dir="rtl"] .language-switch {
    margin-left: 0;
    margin-right: auto;
  }

}


/* -------------------------------------------------------
   ARABIC FONT — CAIRO
------------------------------------------------------- */

@font-face {
  font-family: "Cairo";
  src: url("./assets/fonts/ar/Cairo-Regular.ttf");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Cairo";
  src: url("./assets/fonts/ar/Cairo-SemiBold.ttf");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Cairo";
  src: url("./assets/fonts/ar/Cairo-Bold.ttf");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}


/*
  English = Manrope
  Arabic  = Cairo
*/

html[lang="ar"] body,
html[lang="ar"] button,
html[lang="ar"] input,
html[lang="ar"] select {
  font-family:
    "Cairo",
    Arial,
    sans-serif;
}


/*
  Cairo generally needs slightly more line-height
  than Manrope for Arabic readability.
*/

html[lang="ar"] h1 {
  line-height: 1.18;
  letter-spacing: -0.02em;
}

html[lang="ar"] h2 {
  line-height: 1.22;
  letter-spacing: -0.02em;
}

html[lang="ar"] h3 {
  line-height: 1.35;
  letter-spacing: -0.01em;
}

html[lang="ar"] p {
  line-height: 1.9;
}

html[lang="ar"] .eyebrow {
  letter-spacing: 0;
}

html[lang="ar"] .nav-links a,
html[lang="ar"] .button {
  letter-spacing: 0;
}


/* -------------------------------------------------------
   ARABIC VISUAL FIXES - HERO + MASHA
------------------------------------------------------- */

/*
  Arabic hero title:
  smaller than English with more comfortable
  line spacing for Cairo.
*/

html[lang="ar"] .hero h1 {
  font-size:
    clamp(2.7rem, 4.7vw, 4.6rem);

  line-height: 1.25;

  letter-spacing: -0.015em;
}


/*
  Masha Arabic intro:
  force correct Arabic reading direction.
*/

html[lang="ar"] .masha-intro {
  direction: rtl;
  text-align: right;
  unicode-bidi: isolate;

  line-height: 2;

  font-family:
    "Cairo",
    Arial,
    sans-serif;
}


/*
  Make the entire Masha heading area behave
  correctly in Arabic without reversing text.
*/

html[lang="ar"] .masha-head {
  direction: rtl;
}

html[lang="ar"] .masha-head > div {
  direction: rtl;
  text-align: right;
}

html[lang="ar"] .masha-head h2 {
  direction: rtl;
  text-align: right;
  unicode-bidi: isolate;
}


/*
  Arabic Masha flow cards.
*/

html[lang="ar"] .flow {
  direction: rtl;
}

html[lang="ar"] .flow-item {
  direction: rtl;
  text-align: right;
}


/*
  Mobile Arabic hero title.
*/

@media (max-width: 560px) {

  html[lang="ar"] .hero h1 {
    font-size:
      clamp(2.25rem, 10vw, 3.15rem);

    line-height: 1.3;
  }

}


/* -------------------------------------------------------
   ARABIC FLOW ARROW DIRECTION FIX
   Keep English unchanged, fix arrows only in Arabic.
------------------------------------------------------- */

html[lang="ar"] .flow .flow-arrow,
html[lang="ar"] .flow .arrow,
html[lang="ar"] .flow [class*="arrow"],
html[lang="ar"] .flow [class*="Arrow"],
html[lang="ar"] .flow [class*="separator"],
html[lang="ar"] .flow [class*="Separator"] {
  direction: ltr;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform: scaleX(-1);
  transform-origin: center;
}

html[lang="ar"] .flow .flow-arrow svg,
html[lang="ar"] .flow .arrow svg,
html[lang="ar"] .flow [class*="arrow"] svg,
html[lang="ar"] .flow [class*="Arrow"] svg,
html[lang="ar"] .flow [class*="separator"] svg,
html[lang="ar"] .flow [class*="Separator"] svg {
  transform: scaleX(-1);
  transform-origin: center;
}



/* -------------------------------------------------------
   LEAP REAL CASE STUDIES
------------------------------------------------------- */

.case-grid-five {
  display: grid;

  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  gap: 18px;
}


.real-case-card {
  position: relative;

  min-height: 360px;

  overflow: hidden;

  padding: 28px;

  display: flex;
  flex-direction: column;

  border:
    1px solid var(--border);

  border-radius: var(--radius-md);

  background:
    linear-gradient(
      155deg,
      #ffffff 0%,
      #ffffff 72%,
      #faf6fb 100%
    );

  cursor: pointer;
}


.real-case-card::before {
  position: absolute;

  right: -95px;
  bottom: -115px;

  width: 250px;
  height: 250px;

  border-radius: 50%;

  content: "";

  background:
    radial-gradient(
      circle,
      rgba(149, 74, 165, 0.10),
      rgba(149, 74, 165, 0.02) 55%,
      transparent 72%
    );

  pointer-events: none;
}


.case-card-top {
  position: relative;
  z-index: 2;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 14px;
}


.case-card-top > span:first-child {
  color: var(--purple);

  font-size: 9px;
  font-weight: 700;

  letter-spacing: 0.11em;
  text-transform: uppercase;
}


.case-pdf-badge {
  padding: 5px 9px;

  border-radius: 999px;

  background: var(--purple-soft);

  color: var(--purple);

  font-size: 8px;
  font-weight: 700;

  letter-spacing: 0.08em;
}


.case-number {
  position: relative;
  z-index: 2;

  margin-top: 48px;

  color:
    rgba(149, 74, 165, 0.24);

  font-size: 11px;
  font-weight: 700;

  letter-spacing: 0.12em;
}


.real-case-card h3 {
  position: relative;
  z-index: 2;

  margin:
    10px 0 16px;

  font-size:
    clamp(1.65rem, 2.3vw, 2.15rem);
}


.case-meta {
  position: relative;
  z-index: 2;

  display: grid;

  gap: 5px;

  color: var(--text-light);

  font-size: 10px;
  font-weight: 600;
}


.case-link {
  position: relative;
  z-index: 2;

  margin-top: auto;
  padding-top: 20px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  border-top:
    1px solid var(--border);

  color: var(--navy);

  font-size: 11px;
  font-weight: 700;
}


.case-link-arrow {
  width: 31px;
  height: 31px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: var(--purple-soft);
  color: var(--purple);

  font-size: 13px;

  transition:
    transform 180ms ease,
    background 180ms ease,
    color 180ms ease;
}


.real-case-card:hover {
  transform: translateY(-6px);

  border-color:
    rgba(149, 74, 165, 0.30);

  box-shadow: var(--shadow-md);
}


.real-case-card:hover .case-link-arrow {
  transform:
    translate(3px, -3px);

  background: var(--purple);
  color: var(--white);
}


/* Arabic case-study layout */

html[lang="ar"] .real-case-card {
  direction: rtl;
  text-align: right;
}


html[lang="ar"] .case-card-top,
html[lang="ar"] .case-link {
  direction: rtl;
}


html[lang="ar"] .case-link-arrow {
  transform: scaleX(-1);
}


html[lang="ar"]
.real-case-card:hover
.case-link-arrow {
  transform:
    scaleX(-1)
    translate(3px, -3px);
}


@media (max-width: 950px) {

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

}


@media (max-width: 620px) {

  .case-grid-five {
    grid-template-columns: 1fr;
  }


  .real-case-card {
    min-height: 290px;
  }


  .case-number {
    margin-top: 35px;
  }

}
