/* ============================================================
   SUB-PAGES (About, Newsroom, Careers, Investors)
   Shared styles
   ============================================================ */

/* === ICON REPLACEMENTS — chevrons + arrows ============== */
/* Hide the literal ▾ / → glyphs and replace with inline SVG via mask */
.nav-link-btn .caret,
.dropdown-trigger .caret{
  display: inline-block;
  width: 10px; height: 10px;
  margin-inline-start: 4px;
  font-size: 0; color: transparent;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 4.5l3 3 3-3'/%3E%3C/svg%3E") no-repeat center / contain;
          mask: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 4.5l3 3 3-3'/%3E%3C/svg%3E") no-repeat center / contain;
  vertical-align: middle;
  transition: transform .2s;
}
.nav-dropdown:hover .caret{ transform: rotate(180deg); }

/* Arrow glyph in CTA buttons → inline SVG mask */
.btn .arrow,
a .arrow{
  display: inline-block;
  width: 14px; height: 14px;
  margin-inline-start: 6px;
  font-size: 0; color: transparent;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8h10M9 4l4 4-4 4'/%3E%3C/svg%3E") no-repeat center / contain;
          mask: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8h10M9 4l4 4-4 4'/%3E%3C/svg%3E") no-repeat center / contain;
  vertical-align: -2px;
  transition: transform .2s;
}
.btn:hover .arrow,
a:hover .arrow{ transform: translateX(3px); }
[dir="rtl"] .btn .arrow,
[dir="rtl"] a .arrow{ transform: scaleX(-1); }
[dir="rtl"] .btn:hover .arrow,
[dir="rtl"] a:hover .arrow{ transform: scaleX(-1) translateX(3px); }


/* sub-page hero */
.sp-hero {
  position: relative;
  padding: clamp(120px, 14vw, 200px) 0 clamp(60px, 8vw, 120px);
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(78,0,255,0.18) 0%, transparent 70%),
    linear-gradient(180deg, var(--bg-deep, #0A0418) 0%, var(--bg-1, #07012B) 100%);
  border-bottom: 1px solid rgba(155,111,244,0.12);
}
.sp-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(155,111,244,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(155,111,244,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 50% at 50% 30%, #000 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 50% at 50% 30%, #000 0%, transparent 80%);
  z-index: -1;
}
.sp-hero-inner {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
  position: relative;
}
.sp-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(155,111,244,0.12);
  border: 1px solid rgba(155,111,244,0.3);
  font-family: var(--font-mono, ui-monospace, "SF Mono", Menlo, monospace);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(200,180,255,0.9);
  font-weight: 600;
  margin-bottom: 28px;
}
.sp-badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #1FED8C;
  box-shadow: 0 0 8px #1FED8C;
}
.sp-h1 {
  font-family: var(--font-display);
  font-size: clamp(44px, 7vw, 96px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #fff;
  margin: 0 0 24px;
  text-wrap: balance;
}
.sp-lede {
  font-size: clamp(17px, 1.6vw, 22px);
  line-height: 1.55;
  color: var(--text-3, rgba(255,255,255,0.75));
  max-width: 700px;
  margin: 0 auto;
  text-wrap: pretty;
}
.sp-hero-cta {
  margin-top: 40px;
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* sub-page sections */
.sp-section {
  padding: clamp(60px, 8vw, 120px) 0;
}
.sp-section.sp-alt {
  background: linear-gradient(180deg, var(--bg-1, #07012B) 0%, var(--bg-deep, #0A0418) 100%);
}
.sp-section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.sp-section-narrow {
  max-width: 880px;
}
.sp-section-head {
  margin-bottom: 56px;
  text-align: center;
}
.sp-eyebrow {
  display: inline-block;
  font-family: var(--font-mono, ui-monospace, "SF Mono", Menlo, monospace);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--vibors-violet-soft, #C8B4FF);
  font-weight: 600;
  margin-bottom: 16px;
}
.sp-h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0;
  font-weight: 700;
  text-wrap: balance;
}
.sp-h3 {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0 0 14px;
  font-weight: 700;
}
.sp-body {
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-3, rgba(255,255,255,0.75));
  text-wrap: pretty;
}
.sp-body p { margin: 0 0 16px; }
.sp-body p:last-child { margin-bottom: 0; }

/* card grids */
.sp-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.sp-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.sp-card {
  position: relative;
  padding: 32px;
  border-radius: 24px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(155,111,244,0.18);
  transition: transform .4s cubic-bezier(.2,.8,.2,1), border-color .3s, background .3s;
}
.sp-card:hover {
  transform: translateY(-4px);
  border-color: rgba(155,111,244,0.4);
  background: rgba(255,255,255,0.05);
}
.sp-card-num {
  font-family: var(--font-mono, ui-monospace, "SF Mono", Menlo, monospace);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--vibors-violet-soft, #C8B4FF);
  margin-bottom: 14px;
  display: block;
  font-weight: 600;
}
.sp-card h4 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #fff;
  margin: 0 0 10px;
  line-height: 1.2;
}
.sp-card p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-3, rgba(255,255,255,0.7));
  margin: 0;
}

/* split section (text + visual) */
.sp-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.sp-split.sp-split-narrow { gap: 60px; }
.sp-split.sp-split-reverse > :first-child { order: 2; }

/* mission/vision blocks (large statement) */
.sp-statement {
  padding: clamp(40px, 5vw, 64px);
  border-radius: 32px;
  background:
    radial-gradient(120% 100% at 50% 0%, rgba(78,0,255,0.18) 0%, transparent 60%),
    linear-gradient(180deg, rgba(78,0,255,0.06) 0%, rgba(78,0,255,0.02) 100%);
  border: 1px solid rgba(155,111,244,0.25);
  position: relative;
  overflow: hidden;
}
.sp-statement::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 80px; height: 80px;
  background: linear-gradient(135deg, var(--vibors-violet-soft, #C8B4FF) 0%, transparent 70%);
  opacity: 0.5;
  border-radius: 0 0 100% 0;
}
.sp-statement .sp-eyebrow { color: #fff; opacity: 0.7; }

/* lists */
.sp-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.sp-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-2, rgba(255,255,255,0.85));
}
.sp-list li::before {
  content: "";
  flex-shrink: 0;
  width: 8px; height: 8px;
  margin-top: 9px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4E00FF 0%, #D93DBF 100%);
  box-shadow: 0 0 8px rgba(155,111,244,0.4);
}

/* feature row */
.sp-feature-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid rgba(155,111,244,0.15);
}
.sp-feature {
  display: grid;
  grid-template-columns: 80px 1fr 1fr;
  gap: 32px;
  padding: 32px 0;
  border-bottom: 1px solid rgba(155,111,244,0.15);
  align-items: start;
}
.sp-feature-num {
  font-family: var(--font-mono, ui-monospace, "SF Mono", Menlo, monospace);
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--vibors-violet-soft, #C8B4FF);
  font-weight: 600;
  padding-top: 6px;
}
.sp-feature h4 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: #fff;
  margin: 0;
  line-height: 1.2;
}
.sp-feature p {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--text-3, rgba(255,255,255,0.7));
  margin: 0;
}

/* CTA banner */
.sp-cta-banner {
  margin: 0 auto;
  padding: clamp(48px, 6vw, 80px);
  border-radius: 32px;
  text-align: center;
  background:
    radial-gradient(80% 100% at 50% 100%, rgba(78,0,255,0.45) 0%, transparent 70%),
    radial-gradient(80% 80% at 50% 0%, rgba(217,61,191,0.25) 0%, transparent 70%),
    linear-gradient(180deg, #1A0560 0%, #0E0340 100%);
  border: 1px solid rgba(155,111,244,0.3);
  box-shadow: 0 40px 100px -30px rgba(78,0,255,0.5);
  max-width: 1100px;
}
.sp-cta-banner .sp-h2 {
  font-size: clamp(32px, 4.5vw, 52px);
  margin-bottom: 16px;
}
.sp-cta-banner .sp-lede {
  margin-bottom: 28px;
}

/* ============================================================
   PAGE-SPECIFIC: NEWSROOM
   ============================================================ */
.news-empty {
  text-align: center;
  padding: 80px 32px;
  border-radius: 28px;
  background:
    radial-gradient(80% 60% at 50% 0%, rgba(78,0,255,0.12) 0%, transparent 70%),
    rgba(255,255,255,0.02);
  border: 1px dashed rgba(155,111,244,0.3);
  max-width: 720px;
  margin: 0 auto;
}
.news-empty-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 24px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #4E00FF 0%, #D93DBF 100%);
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  box-shadow: 0 20px 40px -10px rgba(78,0,255,0.5);
}
.news-empty h3 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0 0 12px;
}
.news-empty p {
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-3, rgba(255,255,255,0.7));
  margin: 0 0 28px;
}
.news-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
.news-item {
  display: grid;
  grid-template-columns: 160px 1fr auto;
  gap: 32px;
  padding: 32px 0;
  border-bottom: 1px solid rgba(155,111,244,0.15);
  align-items: center;
  transition: background .3s;
}
.news-item:first-child { border-top: 1px solid rgba(155,111,244,0.15); }
.news-item:hover { background: rgba(155,111,244,0.03); }
.news-date {
  font-family: var(--font-mono, ui-monospace, "SF Mono", Menlo, monospace);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--vibors-violet-soft, #C8B4FF);
}
.news-headline {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: #fff;
  margin: 0;
  line-height: 1.25;
}
.news-cat {
  display: inline-block;
  font-family: var(--font-mono, ui-monospace, "SF Mono", Menlo, monospace);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(155,111,244,0.15);
  color: var(--vibors-violet-soft, #C8B4FF);
  font-weight: 600;
}

/* ============================================================
   CAREERS
   ============================================================ */
.careers-values {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.careers-value {
  padding: 32px;
  border-radius: 24px;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(155,111,244,0.18);
  position: relative;
  overflow: hidden;
  transition: transform .4s, border-color .3s;
}
.careers-value:hover {
  transform: translateY(-4px);
  border-color: rgba(155,111,244,0.4);
}
.careers-value-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #4E00FF 0%, #D93DBF 100%);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: #fff;
}
.careers-value h4 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #fff;
  margin: 0 0 10px;
}
.careers-value p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-3, rgba(255,255,255,0.7));
  margin: 0;
}
.jobs-empty {
  text-align: center;
  padding: 60px 32px;
  border-radius: 24px;
  background: rgba(155,111,244,0.04);
  border: 1px solid rgba(155,111,244,0.2);
}
.jobs-empty p {
  font-size: 17px;
  color: var(--text-3, rgba(255,255,255,0.75));
  margin: 0 0 24px;
  line-height: 1.55;
}

/* ============================================================
   INVESTORS
   ============================================================ */
.inv-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 40px;
}
.inv-pillar {
  padding: 32px 28px;
  border-radius: 24px;
  background:
    radial-gradient(80% 100% at 50% 0%, rgba(78,0,255,0.15) 0%, transparent 70%),
    rgba(255,255,255,0.02);
  border: 1px solid rgba(155,111,244,0.22);
  position: relative;
  overflow: hidden;
}
.inv-pillar-num {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  background: linear-gradient(135deg, #fff 0%, #C8B4FF 60%, #D93DBF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 18px;
  display: block;
}
.inv-pillar h4 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.inv-pillar p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-3, rgba(255,255,255,0.7));
  margin: 0;
}
.inv-criteria {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 32px;
}
.inv-criterion {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 22px;
  border-radius: 16px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(155,111,244,0.15);
}
.inv-criterion-icon {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: 10px;
  background: linear-gradient(135deg, #4E00FF 0%, #9B6FF4 100%);
  display: grid;
  place-items: center;
  font-family: var(--font-mono, ui-monospace, "SF Mono", Menlo, monospace);
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}
.inv-criterion p {
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--text-2, rgba(255,255,255,0.85));
  margin: 0;
}
.inv-strategy {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  align-items: center;
  margin-top: 40px;
}
.inv-strategy-step {
  text-align: center;
  position: relative;
  padding: 24px 16px;
}
.inv-strategy-step:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: var(--vibors-violet-soft, #C8B4FF);
  opacity: 0.6;
}
.inv-strategy-step h5 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 4px;
}
.inv-strategy-step span {
  font-family: var(--font-mono, ui-monospace, "SF Mono", Menlo, monospace);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--vibors-violet-soft, #C8B4FF);
}

/* application form */
.inv-form {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px;
  border-radius: 28px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(155,111,244,0.22);
  box-shadow: 0 30px 80px -30px rgba(78,0,255,0.3);
}
.inv-form-step {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px;
  border-radius: 6px;
  font-family: var(--font-mono, ui-monospace, "SF Mono", Menlo, monospace);
  font-size: 11px;
  letter-spacing: 0.15em;
  background: rgba(155,111,244,0.15);
  color: var(--vibors-violet-soft, #C8B4FF);
  margin-bottom: 16px;
  font-weight: 600;
}
.inv-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 28px;
}
.inv-form-grid > .full { grid-column: 1 / -1; }
.inv-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.inv-field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2, rgba(255,255,255,0.85));
  letter-spacing: 0.01em;
}
.inv-field input,
.inv-field select,
.inv-field textarea {
  padding: 12px 14px;
  font: inherit;
  font-size: 15px;
  border-radius: 10px;
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(155,111,244,0.25);
  color: #fff;
  outline: none;
  transition: border-color .2s;
  font-family: inherit;
}
.inv-field input:focus,
.inv-field select:focus,
.inv-field textarea:focus {
  border-color: rgba(155,111,244,0.6);
}
.inv-field textarea { min-height: 100px; resize: vertical; }
.inv-form-cta {
  margin-top: 28px;
  display: flex;
  justify-content: flex-end;
}

/* responsive */
@media (max-width: 1024px) {
  .sp-grid-3, .inv-pillars { grid-template-columns: 1fr 1fr; }
  .sp-split { grid-template-columns: 1fr; gap: 40px; }
  .sp-split.sp-split-reverse > :first-child { order: 0; }
  .sp-feature { grid-template-columns: 60px 1fr; }
  .sp-feature p { grid-column: 2; }
  .inv-strategy { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .inv-strategy-step:nth-child(2)::after,
  .inv-strategy-step:nth-child(4)::after { content: none; }
}
@media (max-width: 640px) {
  .sp-grid-2, .sp-grid-3, .careers-values, .inv-pillars, .inv-criteria, .inv-form-grid {
    grid-template-columns: 1fr;
  }
  .news-item { grid-template-columns: 1fr; gap: 8px; }
  .inv-strategy { grid-template-columns: 1fr; }
  .inv-strategy-step::after { content: none !important; }
  .inv-form { padding: 28px 24px; }
}


/* ============================================================
   Arabic / RTL font overrides for subpages
   ============================================================ */
body[dir="rtl"] .sp-h1,
body[dir="rtl"] .sp-h2,
body[dir="rtl"] .sp-h3,
body[dir="rtl"] .sp-card h4,
body[dir="rtl"] .sp-feature h4,
body[dir="rtl"] .sp-feature-num,
body[dir="rtl"] .news-empty h3,
body[dir="rtl"] .news-headline,
body[dir="rtl"] .careers-value h4,
body[dir="rtl"] .careers-value-icon,
body[dir="rtl"] .inv-pillar h4,
body[dir="rtl"] .inv-pillar-num,
body[dir="rtl"] .inv-strategy-step h5 {
  font-family: var(--font-arabic-display);
  letter-spacing: 0;
}
