::selection {
  background: rgba(255, 205, 0, 0.38);
  color: #192230;
}

:root {
  --er-navy: #192230;
  --er-yellow: #ffcd00;
  --er-yellow-soft: #fbbf24;
  --er-slate: #3d474e;
  --er-night: #06080f;
}

body {
  text-rendering: optimizeLegibility;
}

html[dir="rtl"] body {
  font-family: "Noto Sans Arabic", Inter, ui-sans-serif, system-ui, sans-serif;
  line-height: 1.8;
}

html[dir="rtl"] .tracking-tight,
html[dir="rtl"] .tracking-\[0\.24em\],
html[dir="rtl"] .tracking-\[0\.18em\],
html[dir="rtl"] .eyebrow {
  letter-spacing: 0;
}

html[dir="rtl"] h1 {
  font-size: clamp(1.9rem, 3.8vw, 3rem);
  font-weight: 750;
  line-height: 1.32;
  text-wrap: balance;
}

html[dir="rtl"] .section-heading h2,
html[dir="rtl"] #final-cta h2 {
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  font-weight: 750;
  line-height: 1.38;
  text-wrap: balance;
}

html[dir="rtl"] h3,
html[dir="rtl"] .font-black,
html[dir="rtl"] .font-extrabold {
  font-weight: 800;
}

html[dir="rtl"] p,
html[dir="rtl"] a,
html[dir="rtl"] summary,
html[dir="rtl"] button,
html[dir="rtl"] span {
  line-height: 1.75;
}

html[dir="rtl"] .eyebrow,
html[dir="rtl"] .text-xs {
  line-height: 1.8;
}

html[dir="rtl"] .rounded-full,
html[dir="rtl"] .rounded-2xl,
html[dir="rtl"] .rounded-3xl {
  line-height: normal;
}

html[dir="rtl"] .section-heading p:not(.eyebrow) {
  font-size: 0.95rem;
  line-height: 1.9;
}

@media (max-width: 640px) {
  html[dir="rtl"] h1 {
    font-size: clamp(1.8rem, 8.5vw, 2.35rem);
    line-height: 1.42;
  }

  html[dir="rtl"] .section-heading h2,
  html[dir="rtl"] #final-cta h2 {
    font-size: clamp(1.35rem, 6.5vw, 1.85rem);
    line-height: 1.45;
  }
}

.glass-card {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.055));
  box-shadow: 0 20px 70px rgba(2, 6, 23, 0.28);
  backdrop-filter: blur(24px);
}

.feature-card {
  border: 1px solid rgba(255, 255, 255, 0.11);
  background: rgba(255, 255, 255, 0.075);
  backdrop-filter: blur(22px);
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 205, 0, 0.48);
  background: rgba(255, 255, 255, 0.105);
}

.pricing-card-highlight {
  border: 1px solid rgba(103, 232, 249, 0.42);
  background:
    radial-gradient(circle at top right, rgba(103, 232, 249, 0.22), transparent 36%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.07));
  box-shadow: 0 26px 90px rgba(34, 211, 238, 0.19);
  backdrop-filter: blur(26px);
}

.section-heading {
  margin-inline: auto;
  max-width: 48rem;
  text-align: center;
}

.section-heading h2 {
  margin-top: 0.75rem;
  font-size: clamp(1.5rem, 3.1vw, 2.35rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: #ffffff;
}

.section-heading p:not(.eyebrow) {
  margin-top: 1.25rem;
  color: rgb(203 213 225);
  font-size: 0.98rem;
  line-height: 1.8;
}

.eyebrow {
  color: var(--er-yellow);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.nav-link {
  position: relative;
  transition: color 180ms ease;
}

.nav-link::after {
  position: absolute;
  inset-inline: 0;
  bottom: -0.45rem;
  height: 2px;
  border-radius: 999px;
  background: var(--er-yellow);
  content: "";
  opacity: 0;
  transform: scaleX(0.4);
  transition: opacity 180ms ease, transform 180ms ease;
}

.nav-link:hover {
  color: #ffffff;
}

.nav-link:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.25rem;
  backdrop-filter: blur(18px);
}

.mobile-language-switcher {
  justify-content: center;
  width: 100%;
}

.language-option {
  min-width: 2.6rem;
  border-radius: 999px;
  padding: 0.5rem 0.75rem;
  color: rgb(203 213 225);
  font-size: 0.78rem;
  font-weight: 900;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.language-option:hover,
.language-option.is-active {
  background: var(--er-yellow);
  color: var(--er-navy);
}

.language-option.is-active {
  transform: translateY(-1px);
}

.bg-cyan-300,
.hover\:bg-cyan-200:hover {
  background-color: var(--er-yellow) !important;
}

.bg-cyan-200,
.to-cyan-200 {
  --tw-gradient-to: var(--er-yellow-soft) var(--tw-gradient-to-position) !important;
  background-color: var(--er-yellow-soft) !important;
}

.bg-cyan-200\/10,
.bg-cyan-300\/10,
.bg-cyan-300\/15,
.bg-cyan-300\/20,
.bg-cyan-400\/10 {
  background-color: rgba(255, 205, 0, 0.12) !important;
}

.bg-emerald-300,
.to-emerald-300 {
  --tw-gradient-to: var(--er-yellow-soft) var(--tw-gradient-to-position) !important;
  background-color: var(--er-yellow-soft) !important;
}

.bg-emerald-300\/15,
.bg-teal-300\/10 {
  background-color: rgba(255, 205, 0, 0.14) !important;
}

.from-cyan-300 {
  --tw-gradient-from: var(--er-yellow) var(--tw-gradient-from-position) !important;
  --tw-gradient-to: rgba(255, 205, 0, 0) var(--tw-gradient-to-position) !important;
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to) !important;
}

.from-cyan-500\/45 {
  --tw-gradient-from: rgba(255, 205, 0, 0.55) var(--tw-gradient-from-position) !important;
  --tw-gradient-to: rgba(255, 205, 0, 0) var(--tw-gradient-to-position) !important;
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to) !important;
}

.border-cyan-200\/20,
.hover\:border-cyan-200\/60:hover,
.hover\:border-cyan-300\/70:hover,
.ring-cyan-200\/20 {
  border-color: rgba(255, 205, 0, 0.32) !important;
  --tw-ring-color: rgba(255, 205, 0, 0.28) !important;
}

.text-cyan-100,
.text-cyan-200,
.text-emerald-200 {
  color: #ffe680 !important;
}

.text-slate-950 {
  color: var(--er-navy) !important;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
