/* ========== Base & global ========== */
@font-face {
  font-family: arimo-regular;
  src: url("fonts/Arimo-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: arimo-bold;
  src: url("fonts/Arimo-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: groote;
  src: url("fonts/Groote-Regular.otf") format("opentype");
  font-weight: 400;
  font-display: swap;
}

:root {
  font-family: Inter, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  font-weight: 400;
  color: #161a1d;
  background: #ffffff;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  --1st-Color: #ffbe0c;
  --3rd-Color: #fbf8ef;
}

.arimo-regular {
  font-family: arimo-regular, "Arimo", Arial, sans-serif;
}

.arimo-bold {
  font-family: arimo-bold, "Arimo", Arial, sans-serif;
}

.groote {
  font-family: groote, "Arimo", Arial, sans-serif;
}

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

.svg-filters {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
  overflow-x: clip;
}

body {
  margin: 0;
}

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

.container {
  width: min(1120px, calc(100% - clamp(1.25rem, 6vw, 3rem)));
  margin-inline: auto;
  padding-inline: clamp(0.25rem, 1.5vw, 0.75rem);
}

.hero-stack {
  position: relative;
}

.header {
  position: absolute;
  inset-inline: 0;
  top: 0;
  z-index: 10;
  background: transparent;
  color: #ffffff;
}

.nav {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(0.5rem, 2vw, 1.25rem);
  min-height: calc(133px + 1rem);
  width: 90%;
  margin: auto;
}

.nav .brand {
  justify-self: start;
}

.nav-main {
  justify-self: center;
}

.nav-end {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: clamp(0.65rem, 2vw, 1.25rem);
}

.nav-lang {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  line-height: 1;
}

/* .nav-lang__link {
} */

.nav-lang__link {
  text-decoration: none;
  color: var(--3rd-Color, #fbf8ef);
  text-align: center;
  font-family: arimo-regular, "Arimo", Arial, sans-serif;
  font-size: 24px;
  display: inline-block;
}

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

.nav-lang__link.nav-lang__link--active {
  color: var(--1st-Color, #ffbe0c);
  font-family: arimo-regular, "Arimo", Arial, sans-serif;
  font-size: 24px;
}

.nav-lang__link.nav-lang__link--active:hover {
  filter: brightness(1.08);
}

.nav-lang__link--active {
  font-family: arimo-bold, "Arimo", Arial, sans-serif;
  font-weight: 700;
}

.nav-lang__sep {
  color: rgba(255, 255, 255, 0.65);
  user-select: none;
  font-size: 24px;
  line-height: 1;
}

.brand {
  display: flex;
  align-items: center;
  line-height: 0;
  cursor: default;
}

.brand-logo {
  display: block;
  height: 133px;
  width: auto;
}

.nav-list {
  list-style: none;
  font-size: 24px;
  font-weight: 400;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(0.75rem, 2.5vw, 1.75rem);
  margin: 0;
  padding: 0;
}

.nav-list a {
  color: #f2f5ff;
}

.nav-list a:hover {
  color: #f7d54a;
}

.hero {
  padding: 0;
}

.hero--splash {
  position: relative;
  min-height: 100vh;
  min-height: 100lvh;
  background-color: #0a1a4a;
  color: #ffffff;
  overflow: visible;
}

.hero-bg-img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-splash-inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding-top: clamp(5.5rem, 12vh, 7.5rem);
  padding-bottom: clamp(1.5rem, 4vh, 2.5rem);
  padding-inline: clamp(1rem, 5vw, 2.5rem);
  pointer-events: none;
}

.hero-splash-inner .hero-splash-container {
  margin-inline: 0;
  min-width: 0;
  width: min(1120px, 100%);
  max-width: 100%;
  box-sizing: border-box;
}

.hero-splash-copy {
  position: relative;
  z-index: 2;
  max-width: min(800px, 100%);
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
  padding-inline: clamp(0.25rem, 2vw, 1rem);
  pointer-events: auto;
}

.hero-wordmark {
  display: block;
  width: 800px;
  max-width: 100%;
  height: auto;
  margin: 0 0 1.25rem;
}

.hero-subtitle {
  margin: 0 0 1rem;
  font-size: clamp(1.35rem, 4.2vw, 2rem);
  line-height: 1.25;
  font-weight: 400;
  color: #ffffff;
  text-wrap: balance;
}

.hero-description {
  margin: 0;
  max-width: 42rem;
  font-size: clamp(0.95rem, 1.6vw, 1.125rem);
  line-height: 1.65;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.95);
}

.hero-actions {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.1rem;
  border-radius: 0.65rem;
  font-weight: 600;
}

.btn-primary {
  background: #1f4ae0;
  color: #ffffff;
}

.btn-secondary {
  background: #ffffff;
  color: #1f4ae0;
  border: 1px solid #d8e1ff;
}

.btn-signup,
.btn-login {
  padding: 1rem 2.2rem;
  border-radius: 999px;
  background: #ffbe0c;
  color: #0a0a0a;
  border: none;
  font-weight: 400;
  font-family: arimo-bold, "Arimo", Arial, sans-serif;
  font-size: 24px;
}

.btn-signup {
  font-size: clamp(1.25rem, 2.6vw, 1.9rem);
  font-weight: 700;
  padding: 1.1rem 2.6rem;
}

.btn-login {
  pointer-events: auto;
}

.btn-signup:hover,
.btn-login:hover {
  filter: brightness(1.05);
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  line-height: 1.1;
}

.section {
  padding: 4rem 0;
}

.section h2 {
  margin: 0 0 1.5rem;
  font-size: clamp(1.6rem, 3vw, 2.25rem);
}

.features-title {
  font-family: "Mixed", Inter, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  text-align: center;
  font-size: clamp(1.45rem, 4vw, 2rem);
  line-height: 1.2;
  color: #0e2978;
}

.features-title span {
  color: inherit;
}
.second-section {
  position: relative;
  
  overflow: hidden;
  padding: 2rem 0;
}

.second-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("assets/images/choose-background.webp");
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
  pointer-events: none;
}

.second-container {
  padding-top: 40px;
  position: relative;
  z-index: 1;
  margin: auto;
  width: 90%;
 
  border-radius: 1rem;
  min-height: 100vh;
  min-height: 100lvh;
}

.cards {
  padding-top: 40px;
  display: grid;
  gap: 1rem;
  align-items: stretch;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

/* ── Why Choose: scroll-in card motion (title unchanged) ─────────────────── */
@keyframes why-choose-card-from-left {
  from {
    opacity: 0;
    transform: translate3d(-115%, 0, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes why-choose-card-from-bottom {
  from {
    opacity: 0;
    transform: translate3d(0, clamp(72px, 28vh, 200px), 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes why-choose-card-from-right {
  from {
    opacity: 0;
    transform: translate3d(115%, 0, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

#why-choose.why-choose-scroll-anim:not(.why-choose-scroll-anim--done) .cards > .card:nth-child(1) {
  opacity: 0;
  transform: translate3d(-115%, 0, 0);
  pointer-events: none;
}

#why-choose.why-choose-scroll-anim:not(.why-choose-scroll-anim--done) .cards > .card:nth-child(2) {
  opacity: 0;
  transform: translate3d(0, clamp(72px, 28vh, 200px), 0);
  pointer-events: none;
}

#why-choose.why-choose-scroll-anim:not(.why-choose-scroll-anim--done) .cards > .card:nth-child(3) {
  opacity: 0;
  transform: translate3d(115%, 0, 0);
  pointer-events: none;
}

#why-choose.why-choose-scroll-anim--done .cards > .card:nth-child(1) {
  animation: why-choose-card-from-left 0.82s cubic-bezier(0.22, 0.61, 0.34, 1) both;
}

#why-choose.why-choose-scroll-anim--done .cards > .card:nth-child(2) {
  animation: why-choose-card-from-bottom 1.35s cubic-bezier(0.22, 0.61, 0.34, 1) both;
  animation-delay: 0.85s;
}

#why-choose.why-choose-scroll-anim--done .cards > .card:nth-child(3) {
  animation: why-choose-card-from-right 0.82s cubic-bezier(0.22, 0.61, 0.34, 1) both;
  animation-delay: 2.25s;
}

@media (prefers-reduced-motion: reduce) {
  #why-choose.why-choose-scroll-anim:not(.why-choose-scroll-anim--done) .cards > .card {
    opacity: 1;
    transform: none;
    pointer-events: auto;
    animation: none !important;
  }

  #why-choose.why-choose-scroll-anim--done .cards > .card {
    animation: none !important;
  }
}

.card-icon-wrap {
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-icon {
  display: block;
  width: 107px;
  max-width: 100%;
  height: auto;
  transition: filter 0.25s ease;
}

/* Second card icon: navy only when this card is NOT hovered (otherwise navy wins over gold) */
#why-choose .cards > .card:nth-child(2):not(:hover) .card-icon {
  filter: url("#icon-tint-navy");
}

.card {
  display: flex;
  flex-direction: column;
  height: 100%;
  align-self: stretch;
  box-sizing: border-box;
  border-radius: 3.85rem;
  padding: 1rem 1rem;
  background: #ffffff;
  color: #161a1d;
  transition: padding 0.28s ease, background-color 0.28s ease, color 0.28s ease,
    box-shadow 0.28s ease;
}

.card h3 {
  margin: 0 0 0.5rem;
  font-family: "Arimo", Arial, sans-serif;
  font-weight: 700;
  text-align: center;
  color: #0e2978;
  transition: color 0.25s ease;
}

.card h3.groote {
  font-family: groote, "Arimo", Arial, sans-serif;
}

.card p {
  flex: 1 1 auto;
  margin: 0;
  color: #5a646e;
  transition: color 0.25s ease;
  text-align: center;
}

.card:hover {
  background: #0e2978;
  color: #ffffff;
  padding-block: 2.25rem;
  padding-inline: 1rem;
  box-shadow: 0 18px 32px rgba(14, 41, 120, 0.28);
}

.card:hover p {
  color: #f2f6ff;
}

.card:hover h3 {
  color: #ffbe0c;
}

/* Icon hover: exact #ffbe0c — same as .card:hover h3 (SVG filter, not approx. CSS filter) */
.card:hover .card-icon {
  filter: url("#icon-tint-gold");
}

.section-alt {
  background: #f8fafc;
}

.about p {
  margin: 0;
  max-width: 70ch;
  color: #4a5560;
}

.footer {
  border-top: 1px solid #eceff1;
  padding: 2rem 0;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}

@media (min-width: 721px) {
  .hero-splash-inner {
    align-items: flex-start;
    padding-top: calc(133px + clamp(2rem, 4vh, 3rem));
  }
}

@media (min-width: 1024px) {
  .hero--splash {
    overflow-x: clip;
  }

  .hero-splash-inner {
    padding-inline: clamp(2rem, 4vw, 3.5rem);
    padding-top: calc(133px + clamp(2.5rem, 5vh, 3.75rem));
  }

  .hero-splash-copy {
    max-width: min(34rem, 48vw);
    margin-inline-start: 0;
  }

  .hero-wordmark {
    width: 100%;
    max-width: min(34rem, 48vw);
  }
}

@media (min-width: 1400px) {
  .hero-splash-inner {
    padding-inline: clamp(3.5rem, 5vw, 5rem);
    padding-top: calc(133px + clamp(3rem, 6vh, 4.5rem));
  }

  .hero-splash-copy {
    max-width: min(40rem, 52vw);
  }

  .hero-wordmark {
    max-width: min(40rem, 52vw);
  }

  .hero-subtitle {
    font-size: 4.1rem;
    line-height: 1.2;
  }

  .hero-description {
    font-size: 1.5rem;
  }
}

@media (min-width: 960px) {
  .second-section .features-title {
    color: #0e2978;
    font-size: 3.6rem;
    line-height: 1.15;
    margin-bottom: 40px;
    padding-bottom: 30px;
  }

  #why-choose .card h3 {
    font-size: 36px;
    line-height: 1.25;
  }

  #why-choose .card p {
    font-size: 21px;
    line-height: 1.55;
  }
}

@media (max-width: 599px) {
  .hero-splash-inner {
    padding-inline: clamp(1.125rem, 5vw, 1.75rem);
  }

}

@media (max-width: 1023px) {
  .hero-stack {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    background-color: #0a1a4a;
  }

  .header {
    position: relative;
    inset: unset;
    top: auto;
    left: auto;
    right: auto;
    width: 100%;
    z-index: 2;
    background-color: #0a1f61;
    padding-block: clamp(0.35rem, 1.5vw, 0.65rem) clamp(0.25rem, 1.2vw, 0.5rem);
  }

  .nav {
    grid-template-columns: auto 1fr;
    align-items: center;
    justify-items: stretch;
    min-height: unset;
    row-gap: 0;
    column-gap: clamp(0.5rem, 3vw, 1rem);
  }

  .nav .brand {
    justify-self: start;
  }

  .nav-main {
    display: none;
  }

  .nav-end {
    justify-self: end;
    gap: clamp(0.45rem, 2.2vw, 0.75rem);
  }

  .nav-lang {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    line-height: 1;
    letter-spacing: 0.02em;
  }

  .nav-lang__link[hreflang="en"] {
    font-size: clamp(0.68rem, 2.9vw, 0.82rem);
    color: var(--1st-Color, #ffbe0c);
    font-weight: 600;
  }

  .nav-lang__link[hreflang="ar"] {
    font-size: clamp(0.68rem, 2.9vw, 0.82rem);
    color: var(--3rd-Color, #fbf8ef);
    text-align: center;
    font-weight: 500;
  }

  .nav-lang__link--active {
    font-family: arimo-bold, "Arimo", Arial, sans-serif;
    font-weight: 700;
  }

  .nav-lang__sep {
    font-size: clamp(0.68rem, 2.9vw, 0.82rem);
    color: rgba(255, 245, 220, 0.95);
    font-weight: 400;
    user-select: none;
  }

  .nav-end .btn.btn-login {
    font-size: clamp(0.68rem, 2.9vw, 0.85rem);
    font-family: arimo-bold, "Arimo", Arial, sans-serif;
    font-weight: 700;
    color: #0a0a0a;
    text-transform: lowercase;
    letter-spacing: 0.04em;
    border-radius: 999px;
    line-height: 1;
    border: none;
    background: #ffbe0c;
  }

  .brand-logo {
    height: clamp(48px, 12.5vw, 72px);
    width: auto;
  }

  .hero--splash {
    display: flex;
    flex-direction: column;
    min-height: unset;
  }

  .hero-bg-img {
    flex: 0 0 auto;
    background-color: #0a1a4a;
  }

  .hero-splash-inner {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    height: auto;
    max-height: none;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    padding-top: clamp(1.25rem, 4vw, 2rem);
    padding-bottom: clamp(2rem, 6vh, 4rem);
    pointer-events: auto;
    background-color: #0a1f61;
  }

  .hero-splash-inner .hero-splash-container {
    margin-inline: auto;
    width: 100%;
  }

  .hero-splash-copy {
    text-align: center;
    margin-inline: auto;
    max-width: 100%;
  }

  .hero-wordmark {
    width: 100%;
    max-width: 60%;
    margin-inline: auto;
  }

  .hero-description {
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .btn-login {
    padding: 0.5rem 1.3rem;
    font-size: 12px;
  }

  .btn-signup {
    padding: clamp(0.7rem, 2.2vw, 0.95rem) clamp(1.4rem, 4.5vw, 2rem);
    font-size: clamp(1rem, 3.8vw, 1.2rem);
    font-weight: 700;
  }

  .second-container {
    width: 100%;
    padding-inline: 0;
    min-height: unset;
  }

  .cards {
    grid-template-columns: 1fr;
    padding-inline: 1rem;
  }

  .card-icon {
    width: 75px;
  }
}

/* ── Hero (#home): wordmark from top as soon as the page loads → then copy + CTA ─ */
#home {
  --hero-logo-delay: 0s;
  --hero-logo-duration: 1.2s;
  /* Shorter beat after the logo is on screen */
  --hero-copy-duration: 1.35s;
  --hero-copy-start-before-logo-ends: 0.45s;
}

@keyframes home-wordmark-from-top {
  from {
    opacity: 0;
    transform: translate3d(0, -85%, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes home-copy-from-inline-start {
  from {
    opacity: 0;
    transform: translate3d(-18%, 0, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes home-copy-from-inline-end {
  from {
    opacity: 0;
    transform: translate3d(18%, 0, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

#home .hero-wordmark {
  animation: home-wordmark-from-top var(--hero-logo-duration) cubic-bezier(0.28, 0.52, 0.32, 1) both;
  animation-delay: var(--hero-logo-delay);
}

#home .hero-subtitle,
#home .hero-description,
#home .hero-actions {
  animation: home-copy-from-inline-start var(--hero-copy-duration) cubic-bezier(0.24, 0.5, 0.28, 1) both;
  animation-delay: calc(
    var(--hero-logo-delay) + var(--hero-logo-duration) - var(--hero-copy-start-before-logo-ends)
  );
}

@media (prefers-reduced-motion: reduce) {
  #home .hero-wordmark,
  #home .hero-subtitle,
  #home .hero-description,
  #home .hero-actions {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ========== Features section ========== */
#features.features-section-anchor {
  scroll-margin-top: clamp(3.5rem, 12vh, 7rem);
  scroll-padding-top: clamp(3.5rem, 12vh, 7rem);
}

#logistic-services {
  scroll-margin-top: clamp(3.5rem, 12vh, 7rem);
}

.features-board-section {
  background: linear-gradient(180deg, rgba(251, 248, 239, 0.16) 0%, rgba(251, 248, 239, 0.24) 100%);
}

.features-board-section > .features-detail {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
}

.features-detail {
  padding-top: 30px;
  padding-bottom: 70px;
  width: 90%;
  height: 100%;
  margin: auto;
  margin-inline: auto;
  padding-inline: clamp(0.25rem, 1.5vw, 0.75rem);
}

.features-detail__grid {
  padding: 30px;
  display: grid;
  min-height: 100%;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  grid-template-columns: 1fr;
}

@media (min-width: 900px) { 

  .features-detail__grid {
    grid-template-columns: 1fr 1fr;
    padding: 30px;
  }
}

/* ── Scroll-in: title → list → then dashboard (hidden until list done + 0.5s), sliver → full + 0° ─ */
@keyframes features-title-from-left {
  from {
    opacity: 0;
    transform: translate3d(-110%, 0, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes features-list-from-left {
  from {
    opacity: 0;
    transform: translate3d(-110%, 0, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes features-title-from-right {
  from {
    opacity: 0;
    transform: translate3d(110%, 0, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes features-list-from-right {
  from {
    opacity: 0;
    transform: translate3d(110%, 0, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/* Dashboard: sliver holds ~0.55s (see % vs duration), then eases to full + 0° */
@keyframes features-dashboard-settle-ltr {
  0%,
  29.73% {
    opacity: 1;
    transform: translate3d(52%, 0, 0) rotate(-18deg);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
}

@keyframes features-dashboard-settle-mobile-ltr {
  0%,
  33.33% {
    opacity: 1;
    transform: translate3d(36%, 0, 0) rotate(-14deg);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
}

@keyframes features-dashboard-settle-rtl {
  0%,
  29.73% {
    opacity: 1;
    transform: translate3d(-52%, 0, 0) rotate(18deg);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
}

@keyframes features-dashboard-settle-mobile-rtl {
  0%,
  33.33% {
    opacity: 1;
    transform: translate3d(-36%, 0, 0) rotate(14deg);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
}

#features.features-scroll-anim:not(.features-scroll-anim--done) .features-detail__title {
  opacity: 0;
  transform: translate3d(-110%, 0, 0);
  pointer-events: none;
}

#features.features-scroll-anim:not(.features-scroll-anim--done) .features-detail__list {
  opacity: 0;
  transform: translate3d(-110%, 0, 0);
  pointer-events: none;
}

#features.features-scroll-anim:not(.features-scroll-anim--done) .features-detail__visual {
  opacity: 0;
  transform: none;
  pointer-events: none;
}

#features.features-scroll-anim--done .features-detail__title {
  animation: features-title-from-left 0.78s cubic-bezier(0.22, 0.61, 0.34, 1) both;
}

#features.features-scroll-anim--done .features-detail__list {
  animation: features-list-from-left 0.72s cubic-bezier(0.22, 0.61, 0.34, 1) both;
  animation-delay: 0.82s;
}

/* List finishes at 1.54s; 0.5s pause; then dashboard runs (sliver holds ~0.55s inside keyframes, then moves) */
#features.features-scroll-anim--done .features-detail__visual {
  opacity: 0;
  animation: features-dashboard-settle-ltr 1.85s cubic-bezier(0.33, 0.62, 0.32, 1) forwards;
  animation-delay: 2.05s;
  transform-origin: 82% 46%;
}

@media (min-width: 900px) {
  .features-detail__visual {
    overflow: hidden;
  }
}

@media (max-width: 899px) {
  #features.features-scroll-anim--done .features-detail__visual {
    animation: features-dashboard-settle-mobile-ltr 1.65s cubic-bezier(0.33, 0.62, 0.32, 1) forwards;
    animation-delay: 2.05s;
    transform-origin: 78% 44%;
  }
}

@media (prefers-reduced-motion: reduce) {
  #features.features-scroll-anim:not(.features-scroll-anim--done) .features-detail__title,
  #features.features-scroll-anim:not(.features-scroll-anim--done) .features-detail__list,
  #features.features-scroll-anim:not(.features-scroll-anim--done) .features-detail__visual {
    opacity: 1;
    transform: none;
    pointer-events: auto;
    animation: none !important;
  }

  #features.features-scroll-anim--done .features-detail__title,
  #features.features-scroll-anim--done .features-detail__list,
  #features.features-scroll-anim--done .features-detail__visual {
    animation: none !important;
    opacity: 1;
    transform: none;
  }
}

.features-detail__title {

font-size: 4.5rem;
  line-height: 1.15;
  color: #0e2978;
}

.features-detail__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.features-detail__item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  color: #0e2978;
  font-size: clamp(1.80rem, 1.5vw, 1.05rem);
  line-height: 1.45;
}

.features-detail__check {
  flex-shrink: 0;
  width: 1.90rem;
  height: 1.90rem;
  margin-top: 0.15rem;
  border: 2.5px solid #FFBE0C;
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.features-detail__check-icon {
  width: 1.35rem;
  height: 1.35rem;
  display: block;
  fill: #FFBE0C;
}

.dash-frame {
  border-radius: 2rem;
  border: 1px solid #e5e7eb;
  min-height: clamp(25rem, 45vw, 36rem);
  padding: 0.85rem;
}

.dash-frame__chrome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.35rem 0.5rem 1.5rem;
}

.dash-frame__dots {
  display: flex;
  gap: 0.35rem;
  align-items: center;
}

.dash-frame__dot {
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 50%;
  background: rgba(207, 214, 220, 0.7);
}

.dash-frame__label {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color:rgba(14, 41, 120, 0.5) ;
  font-weight: 800;
}

.dash-frame__body {
  border-top: 1px solid #e5e7eb;
  min-height: calc(clamp(25rem, 45vw, 36rem) - 3.5rem);
  padding: clamp(1.15rem, 2vw, 1.75rem);
  display: flex;
  flex-direction: column;
  gap: clamp(1rem, 1.8vw, 1.5rem);
}

.dash-row--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.dash-card {
  background: #FBF8EF;
  border-radius: 2rem;
  padding: clamp(1rem, 1.8vw, 1.10rem) clamp(0.9rem, 1.7vw, 1.25rem);
  border: 1px solid #e8ecf0;
}

.dash-card--wide {
  grid-column: 1 / -1;
}

.dash-card__kicker {
  margin: 0 0 0.35rem;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #FFBE0C;
  font-weight: 800;
}

.dash-card__value {
  padding-bottom: 10px;
  margin: 0 0 0.5rem;
  font-size: 2.8rem;
  font-weight: 900;
  color: #0e2978;
}

.dash-bar {
  height: 0.35rem;
  border-radius: 999px;
  background: #e4e8ec;
  overflow: hidden;
}

.dash-bar__fill {
  display: block;
  height: 100%;
  width: 78%;
  border-radius: inherit;
  background: linear-gradient(90deg, #FFBE0C, #FFBE0C);
}

.dash-bars {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.25rem;
  height: clamp(3rem, 5vw, 4.5rem);
  padding-top: 0.25rem;
}

.dash-bars span {
  flex: 1;
  border-radius: 20px;
  background: #FFBE0C;
  min-height: 0.4rem;
}

.dash-bars span:nth-child(1) {
  height: 35%;
}
.dash-bars span:nth-child(2) {
  height: 55%;
}
.dash-bars span:nth-child(3) {
  height: 45%;
}
.dash-bars span:nth-child(4) {
  height: 70%;
}
.dash-bars span:nth-child(5) {
  height: 50%;
}
.dash-bars span:nth-child(6) {
  height: 62%;
}
.dash-bars span:nth-child(7) {
  height: 42%;
}

.dash-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.65rem;
}

.dash-card__title {
  font-size: 0.90rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(14, 41, 120, 0.5);
  font-weight: 700;
}

.dash-live {
  font-size: 0.95rem;
  color: #FFBE0C;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
}

.dash-live__dot {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: #FFBE0C;
}

.dash-orders {
  border-top: 1px solid #e5e7eb;

  list-style: none;
  margin: 0;
  padding: 0;
}

.dash-orders__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: clamp(0.65rem, 1.3vw, 0.95rem) 0;
  border-bottom: 1px solid #eceff1;
}

.dash-orders__row:last-child {
  border-bottom: none;
}

.dash-orders__id {
  display: block;
  font-size: 1.3rem;
  font-weight: 700;
  color: rgba(14, 41, 120, 0.7);
}

.dash-orders__status {
  font-weight: 600;
  display: block;
  font-size: 1rem;
  color: rgba(14, 41, 120, 0.5);

  margin-top: 0.15rem;
}

.dash-orders__price {
  font-size: 1.3rem;
  font-weight: 700;
  color: rgba(14, 41, 120, 0.7);
}

/* Mobile only — matches comp; web (min-width: 900px) unchanged */
@media (max-width: 899px) {
  .features-board-section {
    background: rgba(251, 248, 239, 0.24);
  }

  .features-board-section > .features-detail {
    align-items: stretch;
  }

  .features-detail {
    padding-top: clamp(1.5rem, 5vw, 2.5rem);
    padding-bottom: clamp(2.5rem, 8vw, 4rem);
    width: 100%;
  }

  .features-detail__grid {
    gap: clamp(2.25rem, 7vw, 3.25rem);
    align-items: stretch;
    padding: 30px;
  }

  .features-detail__copy {
    text-align: left;
  }

  .features-detail__title {
    font-size: clamp(1.6rem, 6.2vw, 2.2rem);
    line-height: 1.2;
    text-align: left;
    margin: 0 0 0.35rem;
  }

  .features-detail__list {
    gap: 0.95rem;
  }

  .features-detail__item {
    font-size: clamp(0.92rem, 3.6vw, 1.08rem);
    line-height: 1.45;
    gap: 0.75rem;
  }

  .features-detail__check {
    width: 1.6rem;
    height: 1.6rem;
    margin-top: 0.12rem;
    border: 2.5px solid #ffbe0c;
    background: #ffffff;
  }

  .features-detail__check-icon {
    width: 0.92rem;
    height: 0.92rem;
    fill: #ffbe0c;
  }

  .features-detail__visual {
    width: 100%;
    max-width: 100%;
    margin-inline: auto;
    overflow: hidden;
  }

  .dash-frame {
    min-height: unset;
    border-radius: 1.25rem;
    background: #ffffff;
    box-shadow: 0 10px 36px rgba(14, 41, 120, 0.07);
    padding: 0.65rem 0.75rem 0.85rem;
  }

  .dash-frame__chrome {
    padding: 0.85rem 0.35rem 1rem;
  }

  .dash-frame__label {
    font-size: 0.62rem;
  }

  .dash-frame__body {
    min-height: unset;
    padding: clamp(0.75rem, 3vw, 1.15rem);
    gap: clamp(0.75rem, 2.5vw, 1.1rem);
  }

  .dash-row--split {
    gap: 0.55rem;
  }

  .dash-card {
    border-radius: 1.15rem;
    padding: clamp(0.75rem, 2.5vw, 1rem);
  }

  .dash-card__kicker {
    font-size: 0.68rem;
  }

  .dash-card__value {
    font-size: clamp(1.5rem, 6.5vw, 2.1rem);
    padding-bottom: 6px;
  }

  .dash-bars {
    height: clamp(2.25rem, 10vw, 3.25rem);
  }

  .dash-card__title {
    font-size: 0.72rem;
  }

  .dash-live {
    font-size: 0.78rem;
  }

  .dash-orders__id {
    font-size: clamp(0.95rem, 3.4vw, 1.1rem);
  }

  .dash-orders__status {
    font-size: clamp(0.78rem, 2.8vw, 0.92rem);
  }

  .dash-orders__price {
    font-size: clamp(0.95rem, 3.4vw, 1.1rem);
  }
}

/* ========== Choose your plan / pricing ========== */

.choose-plan-section {
  padding: clamp(4rem, 8vw, 6rem) 0;
  background: #fff;
}

.choose-plan {
  width: 90%;
  margin: auto;
}

.choose-plan__header {
  text-align: center;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.choose-plan__title {
  margin: 0 0 1.25rem;
  color: #0e2978;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
}

.choose-plan__toggle {
  display: inline-flex;
  gap: 0.35rem;
  padding: 0.35rem;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.08);
}

.choose-plan__toggle-btn {
  border: 0;
  border-radius: 999px;
  padding: 0.65rem 1.35rem;
  background: transparent;
  color: #111827;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
}
.choose-plan__toggle-btn--active {
  background: #0e2978;
  color: #fff;
}

.choose-plan__cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: rgba(14, 41, 120, 0.35) transparent;
}

.choose-plan__cards::-webkit-scrollbar {
  height: 6px;
}

.choose-plan__cards::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(14, 41, 120, 0.35);
}

.plan-card {
  min-height: 26rem;
  display: flex;
  flex-direction: column;
  padding: clamp(1.35rem, 2vw, 1.75rem);
  border-radius: 1.4rem;
  background: #ffffff;
  box-shadow: 0 18px 48px rgba(14, 41, 120, 0.12);
}

.plan-card__name {
  margin: 0 0 0.35rem;
  color: #0e2978;
  font-size: 1.5rem;
  line-height: 1.2;
}

.plan-card__price {
  margin: 0 0 1rem;
  color: #0e2978;
  font-size: 1.05rem;
  line-height: 1.25;
}

.plan-card__price--note {
  font-size: 0.82rem;
}

.plan-card__price-old {
  margin-left: 0.4rem;
  color: #9ca3af;
  font-size: 0.8em;
  text-decoration: line-through;
  text-decoration-thickness: 1px;
}

.plan-card__features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  color: #111827;
  font-size: 1rem;
  line-height: 1.35;
}

.plan-card__features li {
  position: relative;
  padding-left: 1.75rem;
}
.plan-card__features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.05rem;
  width: 1.05rem;
  height: 1.05rem;
  border: 1.5px solid #ffbe0c;
  border-radius: 50%;
}
.plan-card__features li::after {
  content: "";
  position: absolute;
  left: 0.36rem;
  top: 0.29rem;
  width: 0.28rem;
  height: 0.5rem;
  border: solid #ffbe0c;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.plan-card__feature--pb-10 {
  padding-bottom: 10px;
}

.plan-card__button {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 2.7rem;
  border: none;
  border-radius: 999px;
  background: #ffbe0c;
  color: #000;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

button.plan-card__button {
  appearance: none;
  font-family: inherit;
}

/* Desktop deck uses CSS transition (not @keyframes) so motion is truly smooth. */
@keyframes choose-plan-card-reveal {
  from {
    opacity: 0;
    transform: translate3d(28px, 0, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}
@keyframes choose-plan-card-reveal-rtl {
  from {
    opacity: 0;
    transform: translate3d(-28px, 0, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}
@media (min-width: 1101px) {
  #pricing.choose-plan-scroll-anim {
    --plan-spread-duration: 2.8s;
    --plan-spread-ease: cubic-bezier(0.33, 0.72, 0.28, 1);
  }

  #pricing.choose-plan-scroll-anim .choose-plan__cards {
    perspective: 1800px;
    transform-style: preserve-3d;
  }

  #pricing.choose-plan-scroll-anim .plan-card {
    transform-origin: center center;
    backface-visibility: hidden;
    will-change: transform;
    transition: transform var(--plan-spread-duration) var(--plan-spread-ease);
  }

  /* First position — two pairs like design (hold, then transition to grid) */
  #pricing.choose-plan-scroll-anim:not(.choose-plan-scroll-anim--done) .plan-card {
    opacity: 1;
    pointer-events: none;
    transition: none;
  }

  #pricing.choose-plan-scroll-anim:not(.choose-plan-scroll-anim--done) .plan-card:nth-child(1) {
    transform: translate3d(58%, 10px, 0) rotate(0deg) scale(1);
    z-index: 4;
  }

  #pricing.choose-plan-scroll-anim:not(.choose-plan-scroll-anim--done) .plan-card:nth-child(2) {
    transform: translate3d(32%, 16px, 0) rotate(8deg) scale(0.98);
    z-index: 2;
  }

  #pricing.choose-plan-scroll-anim:not(.choose-plan-scroll-anim--done) .plan-card:nth-child(3) {
    transform: translate3d(-32%, 16px, 0) rotate(-8deg) scale(0.98);
    z-index: 3;
  }

  #pricing.choose-plan-scroll-anim:not(.choose-plan-scroll-anim--done) .plan-card:nth-child(4) {
    transform: translate3d(-58%, 10px, 0) rotate(0deg) scale(1);
    z-index: 5;
  }

  #pricing.choose-plan-scroll-anim--done .plan-card {
    transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
    pointer-events: auto;
    z-index: auto;
  }

  [dir="rtl"] #pricing.choose-plan-scroll-anim:not(.choose-plan-scroll-anim--done) .plan-card:nth-child(1) {
    transform: translate3d(-58%, 10px, 0) rotate(0deg) scale(1);
  }

  [dir="rtl"] #pricing.choose-plan-scroll-anim:not(.choose-plan-scroll-anim--done) .plan-card:nth-child(2) {
    transform: translate3d(-32%, 16px, 0) rotate(-8deg) scale(0.98);
  }

  [dir="rtl"] #pricing.choose-plan-scroll-anim:not(.choose-plan-scroll-anim--done) .plan-card:nth-child(3) {
    transform: translate3d(32%, 16px, 0) rotate(8deg) scale(0.98);
  }

  [dir="rtl"] #pricing.choose-plan-scroll-anim:not(.choose-plan-scroll-anim--done) .plan-card:nth-child(4) {
    transform: translate3d(58%, 10px, 0) rotate(0deg) scale(1);
  }
}
@media (max-width: 1100px) {
  #pricing.choose-plan-scroll-anim:not(.choose-plan-scroll-anim--done) .plan-card {
    opacity: 0;
    transform: translate3d(28px, 0, 0);
    pointer-events: none;
  }
  #pricing.choose-plan-scroll-anim--done .plan-card {
    pointer-events: auto;
    animation: choose-plan-card-reveal 0.72s cubic-bezier(0.22, 0.61, 0.34, 1) both;
  }
  #pricing.choose-plan-scroll-anim--done .plan-card:nth-child(2) {
    animation-delay: 0.1s;
  }
  #pricing.choose-plan-scroll-anim--done .plan-card:nth-child(3) {
    animation-delay: 0.2s;
  }
  #pricing.choose-plan-scroll-anim--done .plan-card:nth-child(4) {
    animation-delay: 0.3s;
  }
  [dir=rtl] #pricing.choose-plan-scroll-anim:not(.choose-plan-scroll-anim--done) .plan-card {
    transform: translate3d(-28px, 0, 0);
  }
  [dir=rtl] #pricing.choose-plan-scroll-anim--done .plan-card {
    animation-name: choose-plan-card-reveal-rtl;
  }
}
@media (prefers-reduced-motion: reduce) {
  #pricing.choose-plan-scroll-anim .plan-card {
    transition: none;
  }
  #pricing.choose-plan-scroll-anim:not(.choose-plan-scroll-anim--done) .plan-card {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
  #pricing.choose-plan-scroll-anim--done .plan-card {
    animation: none;
    transform: none;
  }
}
/* Tablet & mobile: horizontal swipe (2 cards / 1 card visible) */
@media (max-width: 1100px) {
  .plan-card__button {
    font-size: 16px;
  }

  .choose-plan__cards {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: clamp(1rem, 2vw, 1.5rem);
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
  }
  .plan-card {
    flex: 0 0 calc(50% - clamp(0.5rem, 1vw, 0.75rem));
    scroll-snap-align: start;
    scroll-snap-stop: always;
    min-height: 26rem;
  }
}
@media (max-width: 640px) {
  .choose-plan__cards {
    scroll-padding-inline: 0;
  }
  .plan-card {
    flex: 0 0 100%;
    min-height: auto;
  }
}

/* Contact Us modal (Managed Marketing Plan) */
.plan-contact-modal {
  padding: 0;
  border: none;
  margin: auto;
  max-width: calc(100vw - 1.5rem);
  width: min(44rem, 100%);
  background: transparent;
}

.plan-contact-modal::backdrop {
  background: rgba(15, 23, 42, 0.55);
}

.plan-contact-modal__panel {
  background: #fff;
  border-radius: 1.25rem;
  box-shadow: 0 24px 60px rgba(14, 41, 120, 0.18);
  padding: clamp(1.25rem, 3vw, 1.75rem) clamp(1.25rem, 3vw, 2rem) clamp(1.5rem, 3vw, 2rem);
}

.plan-contact-modal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.plan-contact-modal__title {
  margin: 0;
  color: var(--2nd-color, #0e2978);
  font-family: arimo-bold, "Arimo", Arial, sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: normal;
}

.plan-contact-modal__close {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border: 2px solid #e53935;
  border-radius: 50%;
  background: #fff;
  color: #e53935;
  line-height: 0;
  cursor: pointer;
}

.plan-contact-modal__close-icon {
  display: block;
  flex-shrink: 0;
}

.plan-contact-modal__close:hover {
  background: #fff;
  border-color: #c62828;
  color: #c62828;
}

.plan-contact-modal__form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.plan-contact-modal__field {
  width: 100%;
  max-width: 715px;
}

.plan-contact-modal__label {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--2nd-color, #0e2978);
  font-family: arimo-bold, "Arimo", Arial, sans-serif;
  font-size: 16px;
  font-weight: 700;
}

.plan-contact-modal__control {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.75rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.65rem;
  background: #fff;
}

.plan-contact-modal__control--textarea {
  align-items: flex-start;
}

.plan-contact-modal__icon {
  flex-shrink: 0;
  display: flex;
  color: #9f9f9f;
}

.plan-contact-modal__icon--top {
  margin-top: 0.35rem;
}

.plan-contact-modal__input,
.plan-contact-modal__textarea {
  flex: 1 1 auto;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  color: #111827;
  font-family: arimo-regular, "Arimo", Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
}

.plan-contact-modal__input::placeholder,
.plan-contact-modal__textarea::placeholder {
  color: #9f9f9f;
  font-family: arimo-regular, "Arimo", Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
}

.plan-contact-modal__textarea {
  resize: vertical;
  min-height: 7.5rem;
}

.plan-contact-modal__error {
  margin: 0.35rem 0 0;
  font-size: 0.85rem;
  color: #b91c1c;
}

.plan-contact-modal__submit {
  display: flex;
  width: min(715px, 100%);
  padding: 16px;
  justify-content: center;
  align-items: center;
  margin-top: 0.25rem;
  border: none;
  border-radius: 999px;
  background: var(--2nd-color, #0e2978);
  color: var(--white-color, #fff);
  text-align: center;
  font-family: arimo-bold, "Arimo", Arial, sans-serif;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
}

.plan-contact-modal__submit:hover {
  filter: brightness(1.06);
}

/* ========== Comparison table ========== */
.comparison-section {
  padding: clamp(4rem, 8vw, 6rem) 0;
  background: #ffffff;
}

.comparison {
  width: 90%;
  margin: auto;
}

.comparison__title {
  margin: 0 0 clamp(2rem, 4vw, 3rem);
  color: #0e2978;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  text-align: center;
}

.comparison__table-wrap {
  overflow-x: auto;
  border-radius: 1.25rem;
  box-shadow: 0 18px 48px rgba(14, 41, 120, 0.08);
}

.comparison-table {
  width: 100%;
  min-width: 760px;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0;
  background: #ffffff;
  color: #0e2978;
  text-align: center;
}

.comparison-table th,
.comparison-table td {
  width: 25%;
}

.comparison-table th,
.comparison-table td {
  padding: clamp(1rem, 2vw, 1.45rem);
  border-right: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
  font-family: arimo-bold, "Arimo", Arial, sans-serif;
  vertical-align: middle;
}

.comparison-table th:last-child,
.comparison-table td:last-child {
  border-right: none;
}

.comparison-table thead th {
  background: #0e2978;
  color: #ffffff;
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  line-height: 1.2;
}

.comparison-table thead th:first-child {
  border-start-start-radius: 1.25rem;
  border-start-end-radius: 0;
}

.comparison-table thead th:last-child {
  border-start-end-radius: 1.25rem;
  border-start-start-radius: 0;
}

.comparison-table tbody th {
  color: #0e2978;
  font-size: 1.2rem;
  text-align: center;
}

.comparison-table tbody td {
  color: #000000;
  font-size: 0.95rem;
}

.comparison-table tbody tr:last-child th,
.comparison-table tbody tr:last-child td {
  border-bottom: none;
}

.comparison-icon {
  position: relative;
  display: inline-grid;
  width: 1.75rem;
  height: 1.75rem;
  place-items: center;
  border-radius: 50%;
}

.comparison-icon--yes {
  background: #35c46f;
}

.comparison-icon__svg {
  width: 1.65rem;
  height: 1.45rem;
  display: block;
  fill: #ffffff;
}

.comparison-icon--no {
  background: #ff4b4b;
}

.comparison-icon--no::before,
.comparison-icon--no::after {
  content: "";
  position: absolute;
  width: 1.3rem;
  height: 3.5px;
  border-radius: 999px;
  background: #ffffff;
}

.comparison-icon--no::before {
  transform: rotate(45deg);
}

.comparison-icon--no::after {
  transform: rotate(-45deg);
}

@media (max-width: 1023px) {
  .comparison-section {
    padding-top: clamp(2.5rem, 6vw, 4rem);
    padding-bottom: clamp(2.5rem, 6vw, 4rem);
    padding-left: 0;
    padding-right: 0;
  }

  .comparison {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    margin-inline: 0;
    padding-left: 0;
    padding-right: 0;
  }

  .comparison__title {
    margin-bottom: clamp(1.25rem, 4vw, 2rem);
    font-size: clamp(1.35rem, 5vw, 1.85rem);
    padding-inline: 0;
  }

  .comparison__table-wrap {
    overflow-x: visible;
    width: 100%;
    margin-inline: 0;
    border-radius: 0;
    box-shadow: 0 10px 32px rgba(14, 41, 120, 0.08);
  }

  .comparison-table {
    min-width: 0;
    width: 100%;
    table-layout: fixed;
  }

  .comparison-table thead th {
    padding: 0.7rem 0.35rem;
    font-size: clamp(0.62rem, 2.6vw, 0.8rem);
    line-height: 1.25;
    word-wrap: break-word;
    hyphens: auto;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 0.55rem 0.3rem;
    font-size: clamp(0.6rem, 2.4vw, 0.78rem);
  }

  .comparison-table thead th:first-child {
    width: 34%;
    border-start-start-radius: 0;
  }

  .comparison-table thead th:last-child {
    border-start-end-radius: 0;
  }

  .comparison-table thead th:nth-child(2),
  .comparison-table thead th:nth-child(3),
  .comparison-table thead th:nth-child(4) {
    width: 22%;
  }

  .comparison-table tbody th {
    text-align: left;
    font-size: clamp(0.62rem, 2.5vw, 0.8rem);
    line-height: 1.35;
    width: 34%;
  }

  .comparison-table tbody td {
    text-align: center;
    font-size: clamp(0.58rem, 2.3vw, 0.72rem);
    line-height: 1.3;
    width: 22%;
  }

  .comparison-table tbody tr:nth-child(odd) th,
  .comparison-table tbody tr:nth-child(odd) td {
    background: #ffffff;
  }

  .comparison-table tbody tr:nth-child(even) th,
  .comparison-table tbody tr:nth-child(even) td {
    background: #f0f2f7;
  }

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

  .comparison-icon__svg {
    width: 1.25rem;
    height: 1.1rem;
  }

  .comparison-icon--no::before,
  .comparison-icon--no::after {
    width: 1rem;
    height: 2.5px;
  }
}

@media (min-width: 960px) {
  .comparison-table thead th {
    font-size: 2rem;
  }
}

@keyframes comparison-title-from-top {
  from {
    opacity: 0;
    transform: translate3d(0, -115%, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes comparison-table-from-inline-start {
  from {
    opacity: 0;
    transform: translate3d(-18%, 0, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes comparison-table-from-inline-end {
  from {
    opacity: 0;
    transform: translate3d(18%, 0, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

#comparison.comparison-scroll-anim:not(.comparison-scroll-anim--done) .comparison__title {
  opacity: 0;
  transform: translate3d(0, -115%, 0);
  pointer-events: none;
}

#comparison.comparison-scroll-anim:not(.comparison-scroll-anim--done) .comparison__table-wrap {
  opacity: 0;
  transform: translate3d(-18%, 0, 0);
  pointer-events: none;
}

#comparison.comparison-scroll-anim--done {
  --cmp-title-duration: 4s;
  --cmp-table-delay: 2s;
  --cmp-table-duration: 5.25s;
}

#comparison.comparison-scroll-anim--done .comparison__title {
  animation: comparison-title-from-top var(--cmp-title-duration) cubic-bezier(0.2, 0.45, 0.22, 1) both;
}

#comparison.comparison-scroll-anim--done .comparison__table-wrap {
  animation: comparison-table-from-inline-start var(--cmp-table-duration) cubic-bezier(0.22, 0.48, 0.28, 1) both;
  animation-delay: var(--cmp-table-delay);
}

[dir="rtl"] #comparison.comparison-scroll-anim:not(.comparison-scroll-anim--done) .comparison__table-wrap {
  transform: translate3d(18%, 0, 0);
}

[dir="rtl"] #comparison.comparison-scroll-anim--done .comparison__table-wrap {
  animation: comparison-table-from-inline-end var(--cmp-table-duration) cubic-bezier(0.22, 0.48, 0.28, 1) both;
  animation-delay: var(--cmp-table-delay);
}

@media (prefers-reduced-motion: reduce) {
  #comparison.comparison-scroll-anim:not(.comparison-scroll-anim--done) .comparison__title,
  #comparison.comparison-scroll-anim:not(.comparison-scroll-anim--done) .comparison__table-wrap {
    opacity: 1;
    transform: none;
    pointer-events: auto;
    animation: none !important;
  }

  #comparison.comparison-scroll-anim--done .comparison__title,
  #comparison.comparison-scroll-anim--done .comparison__table-wrap {
    animation: none !important;
  }
}

/* ========== Contact us ========== */
.contact-section {
  position: relative;
  padding: clamp(4rem, 8vw, 6rem) 0 clamp(7rem, 14vw, 11rem);
  background-image: url("./assets/images/contact-background.webp");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center;
  overflow: hidden;
}

.contact-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 190, 12, 0.1.8);
  filter: blur(200px);
  pointer-events: none;
  z-index: 0;
}

.contact-section > * {
  position: relative;
  z-index: 1;
}

.contact-card {
  width: 90%;
  margin: auto;
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding: clamp(2rem, 5vw, 4rem);
  border-radius: 1.6rem;
  background:
    radial-gradient(circle at 48% 45%, rgba(255, 190, 12, 0.18), transparent 26rem),
    #0e2978;
  color: #ffffff;
  box-shadow: 0 24px 70px rgba(14, 41, 120, 0.18);
}

.contact-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.75rem;
  margin-bottom: 1.35rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffbe0c;
  font-size: 0.95rem;
}

.contact-card__badge-icon {
  display: grid;
  width: 1.2rem;
  height: 1.2rem;
  place-items: center;
  flex-shrink: 0;
  color: #ffbe0c;
}

.contact-card__badge-icon svg {
  display: block;
}

.contact-card__title {
  margin: 0;
  color: #ffbe0c;
  font-size: clamp(2.4rem, 5vw, 4.25rem);
  line-height: 1.08;
}

.contact-card__text {
  max-width: 34rem;
  margin: 1.35rem 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.6;
}

.contact-card__methods {
  display: grid;
  gap: 1.5rem;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: clamp(1.25rem, 2vw, 1.6rem);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 32px;
  /* #FFFFFF14 — 8% white */
  background: rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  color: #ffffff;
  text-decoration: none;
}

.contact-method__icon {
  display: grid;
  width: 3.5rem;
  height: 3.5rem;
  flex-shrink: 0;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 0.8rem;
  background: rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.contact-method__icon svg {
  width: 2rem;
  height: 2rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-method strong,
.contact-method small {
  display: block;
}

.contact-method strong {
  margin-bottom: 0.25rem;
  font-family: arimo-bold, "Arimo", Arial, sans-serif;
  font-size: clamp(1.15rem, 1.8vw, 1.6rem);
}

.contact-method small {
  color: rgba(255, 255, 255, 0.75);
  font-family: arimo-regular, "Arimo", Arial, sans-serif;
  font-size: clamp(0.9rem, 1.3vw, 1.6rem);
}

@media (min-width: 860px) {
  .contact-card {
    grid-template-columns: 1.05fr 0.95fr;
  }
}

@media (max-width: 859px) {
  .contact-section {
    padding:
      clamp(3rem, 8vw, 5rem)
      0
      clamp(2rem, 5vw, 3rem);
    margin-bottom: clamp(1.75rem, 6vw, 3rem);
  }

  .contact-card {
    gap: clamp(1.75rem, 4vw, 2.75rem);
    align-items: start;
    padding: clamp(1.5rem, 4vw, 2.5rem) clamp(1rem, 3vw, 1.5rem);
    border-radius: 1.25rem;
    background: #0e2978;
    box-shadow: none;
  }

  .contact-card__copy {
    text-align: left;
  }

  .contact-card__badge {
    gap: 0.5rem;
    padding: 0.45rem 0.85rem;
    margin-bottom: 1rem;
    background: rgba(255, 255, 255, 0.12);
    font-size: 0.9rem;
  }

  .contact-card__title {
    font-size: clamp(1.2rem, 4.6vw, 2.5rem);
    line-height: 1.12;
    white-space: nowrap;
  }

  .contact-card__title-linebreak {
    display: none;
  }

  .contact-card__text {
    max-width: 36rem;
    margin: 1rem 0 0;
    color: rgba(255, 255, 255, 0.92);
    font-size: clamp(0.9rem, 3.2vw, 1.05rem);
    line-height: 1.55;
  }

  .contact-card__methods {
    grid-template-columns: 1fr 1fr;
    gap: clamp(0.65rem, 2.5vw, 1rem);
  }

  .contact-method {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.85rem;
    min-width: 0;
    padding: clamp(1rem, 3vw, 1.35rem);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 32px;
    background: rgba(255, 255, 255, 0.08);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  }

  .contact-method__icon {
    width: clamp(2.5rem, 8vw, 3.25rem);
    height: clamp(2.5rem, 8vw, 3.25rem);
    border-radius: 0.65rem;
    background: rgba(255, 255, 255, 0.08);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
  }

  .contact-method__icon svg {
    width: clamp(1.15rem, 4vw, 1.5rem);
    height: clamp(1.15rem, 4vw, 1.5rem);
  }

  .contact-method > span:last-child {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    min-width: 0;
    width: 100%;
    text-align: center;
  }

  .contact-method strong {
    margin-bottom: 0;
    font-size: clamp(0.95rem, 3.2vw, 1.15rem);
  }

  .contact-method small {
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(0.72rem, 2.6vw, 0.95rem);
    line-height: 1.35;
    word-break: break-word;
  }
}

/* ── Scroll-in: card starts half-clipped from top, settles down smoothly (#contact) ─ */
#contact {
  /* Hold half-visible, then ease into place */
  --contact-settle-delay: 1.35s;
  --contact-settle-duration: 4.25s;
  --contact-settle-easing: cubic-bezier(0.18, 0.82, 0.24, 1);
}

@keyframes contact-card-settle-from-top {
  from {
    transform: translate3d(0, -44%, 0);
  }
  to {
    transform: translate3d(0, 0, 0);
  }
}

#contact.contact-scroll-anim:not(.contact-scroll-anim--done) .contact-card {
  transform: translate3d(0, -44%, 0);
  pointer-events: none;
}

#contact.contact-scroll-anim--done .contact-card {
  animation: contact-card-settle-from-top var(--contact-settle-duration) var(--contact-settle-easing) both;
  animation-delay: var(--contact-settle-delay);
}

@media (prefers-reduced-motion: reduce) {
  #contact.contact-scroll-anim:not(.contact-scroll-anim--done) .contact-card,
  #contact.contact-scroll-anim--done .contact-card {
    transform: none !important;
    animation: none !important;
    pointer-events: auto;
  }
}

/* ========== Footer ========== */
.site-footer {
  background: #0e2978;
  color: #ffffff;
  padding: clamp(2.5rem, 6vw, 4rem) 0 1.25rem;
}

.site-footer__inner {
  width: 90%;
  margin: auto;
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  column-gap: clamp(1.5rem, 5vw, 3rem);
  row-gap: clamp(1.5rem, 4vw, 2.5rem);
}

.site-footer__brand {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.site-footer__logo {
  display: inline-flex;
}

.site-footer__logo img {
  width: 8.5rem;
  height: auto;
}

.site-footer__socials {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.site-footer__socials a {
  display: grid;
  place-items: center;
}

.site-footer__socials img {
  width: 4.5rem;
  height: 4.5rem;
  object-fit: contain;
}

.site-footer__heading {
  margin: 0 0 1.15rem;
  color: #ffbe0c;
  font-size: clamp(1.2rem, 2vw, 1.45rem);
}

.site-footer__links {
  grid-column: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.site-footer__contact {
  grid-column: 2;
  min-width: 0;
}

.site-footer__links a {
  margin-bottom: 0.9rem;
  color: rgba(255, 255, 255, 0.86);
  font-family: arimo-regular, "Arimo", Arial, sans-serif;
  font-size: clamp(1rem, 1.6vw, 1.5rem);
}

.site-footer__contact address {
  margin: 0;
  font-style: normal;
}

.site-footer__contact p {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: start;
  max-width: 34rem;
  margin: 0 0 1rem;
  color: rgba(255, 255, 255, 0.86);
  font-family: arimo-regular, "Arimo", Arial, sans-serif;
  font-size: clamp(0.95rem, 1.4vw, 1.4rem);
  line-height: 1.5;
}

.site-footer__contact a {
  color: inherit;
}

.site-footer__contact-icon {
  background-color: rgba(255, 255, 255, 0.1);
  display: grid;
  width: 2.7rem;
  height: 2.7rem;
  place-items: center;
  border: 1px solid rgba(255, 255, 255);
  border-radius: 0.6rem;
}

.site-footer__contact-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-footer__bottom {
  width: 90%;
  margin: auto;
  margin: clamp(2rem, 5vw, 3.5rem) auto 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  text-align: center;
}

.site-footer__bottom p {
  margin: 0;
  color: rgba(255, 255, 255);
  font-family: arimo-regular, "Arimo", Arial, sans-serif;
  font-size: 20px;
}

.site-footer__bottom strong {
  color: #ffffff;
  font-family: arimo-bold, "Arimo", Arial, sans-serif;
}

@media (max-width: 819px) {
  .site-footer__links a {
    font-size: clamp(1.08rem, 2.35vw, 1.35rem);
  }

  .site-footer__contact p {
    font-size: clamp(1.02rem, 2.15vw, 1.35rem);
  }

  .site-footer__bottom p {
    font-size: clamp(1rem, 2.4vw, 1.15rem);
  }
}

@media (min-width: 820px) {
  .site-footer__inner {
    width: 80%;
    grid-template-columns: 0.9fr 0.7fr 1.5fr;
    gap: clamp(2rem, 5vw, 4rem);
  }

  .site-footer__brand,
  .site-footer__links,
  .site-footer__contact {
    grid-column: auto;
  }
}

/* ========== RTL (Arabic) ========== */
/* RTL overrides — applied when <html dir="rtl"> (Arabic mode) */

[dir="rtl"] {
  font-family: 'Cairo', 'Segoe UI', Tahoma, Arial, sans-serif;
}

/* ── Hero (AR): bg phone is on the right — pin copy to top-left, narrow column ─ */
[dir="rtl"] .hero-splash-inner {
  direction: ltr;
}

@media (min-width: 721px) {
  [dir="rtl"] .hero-splash-inner {
    align-items: flex-start;
  }
}

@media (min-width: 1024px) {
  [dir="rtl"] .hero-splash-inner {
    justify-content: flex-start;
    align-items: flex-start;
    padding-inline-start: clamp(2rem, 4vw, 3.5rem);
    padding-inline-end: 0;
  }

  [dir="rtl"] .hero-splash-inner .hero-splash-container {
    width: auto;
    max-width: min(480px, 38vw);
    flex: 0 1 auto;
  }

  [dir="rtl"] .hero-splash-copy {
    direction: rtl;
    text-align: right;
    margin-inline: 0;
    max-width: 100%;
    width: 100%;
  }

  [dir="rtl"] .hero-wordmark {
    margin-inline: 0;
    max-width: 100%;
    width: 100%;
  }

  [dir="rtl"] .hero-description {
    max-width: 100%;
  }
}

@media (min-width: 1400px) {
  [dir="rtl"] .hero-splash-inner .hero-splash-container {
    max-width: min(520px, 36vw);
  }

  [dir="rtl"] .hero-splash-copy,
  [dir="rtl"] .hero-wordmark {
    max-width: 100%;
  }
}

/* ── Hero — splash copy: Arabic lines start from the right (logical start) ─ */
[dir="rtl"] .hero-splash-copy {
  direction: rtl;
  text-align: right;
}

[dir="rtl"] #home .hero-subtitle,
[dir="rtl"] #home .hero-subtitle.arimo-bold {
  font-family: "Cairo", sans-serif;
  font-style: normal;
  animation-name: home-copy-from-inline-start;
}

[dir="rtl"] #home .hero-description,
[dir="rtl"] #home .hero-description.arimo-regular {
  font-family: "Cairo", sans-serif;
  font-style: normal;
  animation-name: home-copy-from-inline-start;
}

[dir="rtl"] #home .hero-actions {
  animation-name: home-copy-from-inline-start;
}

/* Hero stack (nav + hero): Cairo for all text — Arabic only */
[dir="rtl"] .hero-stack .nav-list a {
  font-family: "Cairo", sans-serif;
  font-style: normal;
}

[dir="rtl"] .hero-stack .nav-lang__link,
[dir="rtl"] .hero-stack .nav-lang__link.nav-lang__link--active,
[dir="rtl"] .hero-stack .nav-lang__link--active {
  font-family: "Cairo", sans-serif;
  font-style: normal;
}

[dir="rtl"] .hero-stack .btn-login,
[dir="rtl"] .hero-stack .btn-signup,
[dir="rtl"] .hero-stack .nav-end .btn.btn-login {
  font-family: "Cairo", sans-serif;
  font-style: normal;
}

[dir="rtl"] #home .hero-actions .btn-signup {
  font-family: "Cairo", sans-serif;
  font-style: normal;
}

@media (max-width: 1023px) {
  [dir="rtl"] .hero-splash-inner {
    justify-content: center;
  }

  [dir="rtl"] .hero-splash-copy {
    text-align: center;
    margin-inline: auto;
    max-width: 100%;
  }

  [dir="rtl"] .hero-wordmark {
    margin-inline: auto;
    max-width: 60%;
  }

  [dir="rtl"] .hero-description {
    margin-inline: auto;
  }

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

/* ── Why Choose section padding ─────────────────────────── */
[dir="rtl"] .second-section {
  padding-bottom: 0.5rem;
}

/* Why Choose cards scroll animation — RTL: mirror horizontal entry (col 1 on the right) */
[dir="rtl"] #why-choose.why-choose-scroll-anim:not(.why-choose-scroll-anim--done) .cards > .card:nth-child(1) {
  transform: translate3d(115%, 0, 0);
}

[dir="rtl"] #why-choose.why-choose-scroll-anim:not(.why-choose-scroll-anim--done) .cards > .card:nth-child(3) {
  transform: translate3d(-115%, 0, 0);
}

[dir="rtl"] #why-choose.why-choose-scroll-anim--done .cards > .card:nth-child(1) {
  animation-name: why-choose-card-from-right;
}

[dir="rtl"] #why-choose.why-choose-scroll-anim--done .cards > .card:nth-child(3) {
  animation-name: why-choose-card-from-left;
}

/* Features (360°) scroll sequence — RTL: title → list → dashboard after list + 0.5s pause */
[dir="rtl"] #features.features-scroll-anim:not(.features-scroll-anim--done) .features-detail__title {
  transform: translate3d(110%, 0, 0);
}

[dir="rtl"] #features.features-scroll-anim:not(.features-scroll-anim--done) .features-detail__list {
  transform: translate3d(110%, 0, 0);
}

[dir="rtl"] #features.features-scroll-anim:not(.features-scroll-anim--done) .features-detail__visual {
  opacity: 0;
  transform: none;
}

[dir="rtl"] #features.features-scroll-anim--done .features-detail__title {
  animation: features-title-from-right 0.78s cubic-bezier(0.22, 0.61, 0.34, 1) both;
}

[dir="rtl"] #features.features-scroll-anim--done .features-detail__list {
  animation: features-list-from-right 0.72s cubic-bezier(0.22, 0.61, 0.34, 1) both;
  animation-delay: 0.82s;
}

[dir="rtl"] #features.features-scroll-anim--done .features-detail__visual {
  opacity: 0;
  animation: features-dashboard-settle-rtl 1.85s cubic-bezier(0.33, 0.62, 0.32, 1) forwards;
  animation-delay: 2.05s;
  transform-origin: 18% 46%;
}

@media (max-width: 899px) {
  [dir="rtl"] #features.features-scroll-anim--done .features-detail__visual {
    animation: features-dashboard-settle-mobile-rtl 1.65s cubic-bezier(0.33, 0.62, 0.32, 1) forwards;
    animation-delay: 2.05s;
    transform-origin: 22% 44%;
  }
}

/* ── Section titles: Why Choose + Choose Plan (Arabic — Cairo 72 / 800) ─ */
[dir="rtl"] .second-section .features-title,
[dir="rtl"] .choose-plan-section .choose-plan__title {
  color: #0e2978;
  text-align: center;
  font-family: "Cairo", sans-serif;
  font-size: 72px;
  font-style: normal;
  font-weight: 800;
  line-height: 1.15;
}

@media (max-width: 959px) {
  [dir="rtl"] .second-section .features-title,
  [dir="rtl"] .choose-plan-section .choose-plan__title {
    font-size: clamp(1.85rem, 8vw, 72px);
  }
}

/* ── Why Choose card descriptions (Arabic) ───────────────── */
[dir="rtl"] #why-choose .card p,
[dir="rtl"] #why-choose .card p.arimo-regular {
  text-align: center;
  font-family: "Cairo", sans-serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.55;
  color: #6b7280;
  word-break: break-word;
}

@media (max-width: 959px) {
  [dir="rtl"] #why-choose .card p,
  [dir="rtl"] #why-choose .card p.arimo-regular {
    font-size: clamp(0.9rem, 2.6vw, 24px);
  }
}

[dir="rtl"] #why-choose .card:hover p,
[dir="rtl"] #why-choose .card:hover p.arimo-regular {
  color: #f2f6ff;
}

/* ── Why Choose card titles (Arabic) ─────────────────────── */
[dir="rtl"] #why-choose .card h3,
[dir="rtl"] #why-choose .card h3.arimo-bold {
  text-align: center;
  font-family: "Cairo", sans-serif;
  font-size: 36px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.25;
  color: #0e2978;
  word-break: break-word;
}

@media (max-width: 959px) {
  [dir="rtl"] #why-choose .card h3,
  [dir="rtl"] #why-choose .card h3.arimo-bold {
    font-size: clamp(1.15rem, 3.6vw, 36px);
  }
}

[dir="rtl"] #why-choose .card:hover h3,
[dir="rtl"] #why-choose .card:hover h3.arimo-bold {
  color: #ffbe0c;
}

[dir="rtl"] .card:hover .card-icon {
  filter: url("#icon-tint-gold");
}

/* ── Features (360° Logistic) — Arabic ─────────────────────── */
[dir="rtl"] .features-detail__copy {
  text-align: right;
}

[dir="rtl"] #features .features-detail__title,
[dir="rtl"] #features .features-detail__title.arimo-bold {
  text-align: right;
  width: 100%;
  font-family: "Cairo", sans-serif;
  font-size: 54px;
  font-style: normal;
  font-weight: 800;
  line-height: 1.15;
  color: #0e2978;
}

/* Icon first in DOM: with dir=rtl, flex row puts inline-start on the right — icon sits next to text start */
[dir="rtl"] #features .features-detail__item,
[dir="rtl"] #features .features-detail__item.arimo-regular {
  flex-direction: row;
  justify-content: flex-start;
  text-align: right;
  font-family: "Cairo", sans-serif;
  font-size: 27px;
  font-style: normal;
  font-weight: 600;
  line-height: 42px;
  color: #0e2978;
}

[dir="rtl"] #features .features-detail__item > span {
  text-align: right;
  flex: 1 1 auto;
  min-width: 0;
  font-family: inherit;
  font-size: inherit;
  font-style: inherit;
  font-weight: inherit;
  line-height: inherit;
}

@media (max-width: 899px) {
  [dir="rtl"] #features .features-detail__title,
  [dir="rtl"] #features .features-detail__title.arimo-bold {
    font-size: clamp(1.6rem, 6.2vw, 54px);
  }

  [dir="rtl"] #features .features-detail__item,
  [dir="rtl"] #features .features-detail__item.arimo-regular {
    font-size: clamp(1rem, 4.8vw, 27px);
    line-height: clamp(1.45rem, 6vw, 42px);
  }
}

/* ── Choose Your Plan (pricing cards) — Arabic only ───────── */
[dir="rtl"] .choose-plan-section .plan-card__name,
[dir="rtl"] .choose-plan-section .plan-card__name.arimo-bold {
  color: #0e2978;
  text-align: right;
  font-family: "Cairo", sans-serif;
  font-size: 30px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.2;
}

[dir="rtl"] .choose-plan-section .plan-card__price,
[dir="rtl"] .choose-plan-section .plan-card__price.arimo-bold {
  color: #0e2978;
  text-align: right;
  font-family: "Cairo", sans-serif;
  font-size: 36px;
  font-style: normal;
  font-weight: 800;
  line-height: 1.25;
}

[dir="rtl"] .choose-plan-section .plan-card__price--note,
[dir="rtl"] .choose-plan-section .plan-card__price--note.arimo-bold {
  color: #0e2978;
  text-align: right;
  font-family: "Cairo", sans-serif;
  font-size: 36px;
  font-style: normal;
  font-weight: 800;
  line-height: 1.25;
}

[dir="rtl"] .choose-plan-section .plan-card__features {
  color: #0e2978;
  text-align: right;
  font-family: "Cairo", sans-serif;
  font-size: 21px;
  font-style: normal;
  font-weight: 400;
}

[dir="rtl"] .choose-plan-section .plan-card__features li,
[dir="rtl"] .choose-plan-section .plan-card__features.arimo-regular li {
  text-align: right;
  font-family: "Cairo", sans-serif;
  font-size: 21px;
  font-style: normal;
  font-weight: 400;
  color: #0e2978;
  line-height: 1.45;
}

[dir="rtl"] .choose-plan-section .plan-card__button {
  color: #0e2978;
  text-align: center;
  font-family: "Cairo", sans-serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
}

/* ── Quick Comparison title (Arabic only) ───────────────── */
[dir="rtl"] #comparison .comparison__title,
[dir="rtl"] #comparison .comparison__title.arimo-bold {
  font-family: "Cairo", sans-serif;
  font-style: normal;
}

/* ── Quick Comparison table — Arabic: all `th` (RTL only) ─── */
[dir="rtl"] .comparison-table thead th {
  color: #fff;
  text-align: right;
  font-family: "Cairo", sans-serif;
  font-size: 30px;
  font-style: normal;
  font-weight: 700;
}

[dir="rtl"] .comparison-table tbody tr:nth-child(odd) th,
[dir="rtl"] .comparison-table tbody tr:nth-child(even) th {
  background-color: #0e2978;
  color: #fff;
  text-align: right;
  font-family: "Cairo", sans-serif;
  font-size: 30px;
  font-style: normal;
  font-weight: 700;
}

/* Arabic: comparison value cells (managed web + priority support row) */
[dir="rtl"] .comparison-table tbody td[data-i18n="comparison.row3ManagedWeb"],
[dir="rtl"] .comparison-table tbody td[data-i18n="comparison.row7Starter"],
[dir="rtl"] .comparison-table tbody td[data-i18n="comparison.row7Enterprise"],
[dir="rtl"] .comparison-table tbody td[data-i18n="comparison.row7ManagedWeb"] {
  color: #0e2978;
  text-align: center;
  font-family: "Cairo", sans-serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
}

@media (max-width: 1023px) {
  [dir="rtl"] .comparison-table thead th,
  [dir="rtl"] .comparison-table tbody tr:nth-child(odd) th,
  [dir="rtl"] .comparison-table tbody tr:nth-child(even) th {
    font-size: clamp(0.62rem, 3.2vw, 30px);
  }

  [dir="rtl"] .comparison-table tbody td[data-i18n="comparison.row3ManagedWeb"],
  [dir="rtl"] .comparison-table tbody td[data-i18n="comparison.row7Starter"],
  [dir="rtl"] .comparison-table tbody td[data-i18n="comparison.row7Enterprise"],
  [dir="rtl"] .comparison-table tbody td[data-i18n="comparison.row7ManagedWeb"] {
    font-size: clamp(0.62rem, 3vw, 24px);
  }
}

/* ── Footer (Arabic only) — Cairo ─────────────────────────── */
[dir="rtl"] .site-footer .site-footer__heading,
[dir="rtl"] .site-footer .site-footer__heading.arimo-bold,
[dir="rtl"] .site-footer .site-footer__links a,
[dir="rtl"] .site-footer .site-footer__contact p,
[dir="rtl"] .site-footer .site-footer__contact p span,
[dir="rtl"] .site-footer .site-footer__contact a,
[dir="rtl"] .site-footer .site-footer__bottom p,
[dir="rtl"] .site-footer .site-footer__bottom p span,
[dir="rtl"] .site-footer .site-footer__bottom strong {
  font-family: "Cairo", sans-serif;
  font-style: normal;
}

/* ── Plan card feature bullets ────────────────────────────── */
[dir="rtl"] .plan-card__features li {
  padding-left: 0;
  padding-right: 1.75rem;
}
[dir="rtl"] .plan-card__features li::before {
  left: auto;
  right: 0;
}
[dir="rtl"] .plan-card__features li::after {
  left: auto;
  right: 0.36rem;
}

/* ── Privacy policy sidebar ───────────────────────────────── */
[dir="rtl"] .pp-sidebar {
  border-right: none;
  border-left: 2px solid rgba(14, 41, 120, 0.1);
  padding-right: 0;
  padding-left: 2rem;
}

/* ── Privacy policy two-column split ─────────────────────── */
[dir="rtl"] .pp-split__col {
  border-left: none;
  border-right: 3px solid #0e2978;
  padding-left: 0;
  padding-right: 1rem;
}
[dir="rtl"] .pp-split__col:last-child {
  border-right: 3px solid #ffbe0c;
}

/* ── Contact section (RTL): copy + badge aligned right; SVG like English, not a text bullet */
[dir="rtl"] .contact-card__copy {
  text-align: right;
}

[dir="rtl"] .contact-card__badge {
  color: #ffbe0c;
  text-align: right;
  font-family: "Cairo", sans-serif;
  font-size: 21px;
  font-style: normal;
  font-weight: 700;
}

/* Same chat-bubble SVG as English; `dir=rtl` places icon at inline-start (right) next to label */

/* ── Contact section title / text (clamp caps desktop, fixes mobile overflow) ─ */
[dir="rtl"] .contact-card__title {
  color: #fff;
  text-align: right;
  font-family: "Cairo", sans-serif;
  font-size: clamp(1.35rem, 5vw, 72px);
  font-style: normal;
  font-weight: 800;
  line-height: 1.15;
  white-space: normal;
  word-break: break-word;
}

[dir="rtl"] .contact-card__text {
  color: #dbeafe;
  text-align: right;
  font-family: "Cairo", sans-serif;
  font-size: clamp(0.95rem, 2.4vw, 30px);
  font-style: normal;
  font-weight: 400;
  word-break: break-word;
}

/* Arabic: stop horizontal “white gutter” scroll on narrow viewports */
@media (max-width: 1023px) {
  html[dir="rtl"] {
    overflow-x: hidden;
    max-width: 100%;
  }

  html[dir="rtl"] body {
    overflow-x: hidden;
    max-width: 100%;
  }

  [dir="rtl"] .page,
  [dir="rtl"] main {
    max-width: 100%;
    overflow-x: clip;
  }

  [dir="rtl"] .choose-plan__cards {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* ── Responsive adjustments ──────────────────────────────── */
@media (max-width: 900px) {
  [dir="rtl"] .pp-sidebar {
    border-left: none;
    border-bottom: 2px solid rgba(14, 41, 120, 0.1);
    padding-left: 0;
  }
}


/* ========== Privacy policy page ========== */
/* ── Page shell ─────────────────────────────────────────── */
.pp-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #ffffff;
}

/* ── Header ─────────────────────────────────────────────── */
.pp-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #ffffff;
  border-bottom: 1px solid rgba(14, 41, 120, 0.08);
}

.pp-header .nav {
  min-height: unset;
  padding-block: 0.85rem;
  width: 90%;
}

.pp-header .brand-logo {
  display: block;
  height: 133px;
  width: auto;
  max-width: none;
  object-fit: contain;
}

.pp-header .nav-list a {
  color: #C0C0C0;
  font-family: arimo-regular, "Arimo", Arial, sans-serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: 32px;
  text-transform: capitalize;
}

.pp-header .nav-lang__link {
  color: #C0C0C0;
  text-align: center;
  font-family: arimo-bold, "Arimo", Arial, sans-serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: 32px;
}

.pp-header .nav-lang__link--active {
  color: var(--1st-Color, #FFBE0C);
  text-transform: capitalize;
}

.pp-header .nav-lang__sep {
  color: rgba(14, 41, 120, 0.4);
}

.pp-header .btn-login {
  background: #ffbe0c;
  color: #0a0a0a;
}

/* ── Hero ────────────────────────────────────────────────── */
.pp-hero {
  text-align: center;
  padding: clamp(3rem, 7vw, 5.5rem) 1rem clamp(2.5rem, 5vw, 4rem);
  background: #ffffff;
}

.pp-hero__line {
  width: 1px;
  height: clamp(3rem, 6vw, 5rem);
  background: rgba(14, 41, 120, 0.25);
  margin: 0 auto 2rem;
}

.pp-hero__title {
  font-family: arimo-bold, "Arimo", Arial, sans-serif;
  font-size: 48px;
  font-style: normal;
  font-weight: 700;
  color: var(--2nd-color, #0e2978);
  text-align: center;
  line-height: 1.2;
  max-width: 800px;
  margin: 0 auto 1.5rem;
}

.pp-hero__subtitle {
  margin: 0 auto;
  max-width: 560px;
  color: var(--Gray-Text, #9F9F9F);
  text-align: center;
  font-family: arimo-regular, "Arimo", Arial, sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.65;
}

/* ── Layout ──────────────────────────────────────────────── */
.pp-layout {
  flex: 1;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 0;
  width: 88%;
  max-width: 1280px;
  margin: 0 auto;
  padding-bottom: clamp(3rem, 8vw, 6rem);
  align-items: start;
}

/* ── Sidebar ─────────────────────────────────────────────── */
.pp-sidebar {
  position: sticky;
  top: 80px;
  padding: clamp(1.5rem, 3vw, 2.5rem) 0 clamp(1.5rem, 3vw, 2.5rem) 0;
  border-right: 2px solid rgba(14, 41, 120, 0.1);
  padding-right: 2rem;
}

.pp-sidebar__label {
  margin: 0 0 1.25rem;
  font-family: arimo-bold, "Arimo", Arial, sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  color: var(--2nd-color, #0e2978);
}

.pp-sidebar__nav {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.pp-sidebar__link {
  display: block;
  padding: 0.55rem 0;
  font-family: arimo-regular, "Arimo", Arial, sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
  color: var(--Gray-Text, #9F9F9F);
  text-decoration: none;
  text-transform: capitalize;
  transition: color 0.2s;
}

.pp-sidebar__link:hover {
  color: var(--2nd-color, #0e2978);
}

.pp-sidebar__link--active {
  font-family: arimo-regular, "Arimo", Arial, sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
  color: var(--2nd-color, #0e2978);
}

/* ── Sections ────────────────────────────────────────────── */
.pp-sections {
  padding: clamp(1.5rem, 3vw, 2.5rem) 0 0 clamp(2rem, 4vw, 3.5rem);
}

.pp-section {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 0 1.5rem;
  margin-bottom: clamp(3rem, 7vw, 5rem);
  scroll-margin-top: 6rem;
}

.pp-section__num {
  font-family: arimo-bold, "Arimo", Arial, sans-serif;
  font-size: 48px;
  font-style: normal;
  font-weight: 700;
  color: rgba(0, 21, 82, 0.10);
  line-height: 1;
  padding-top: 0.1rem;
}

.pp-section__body {
  min-width: 0;
}

.pp-section__title {
  margin: 0 0 1rem;
  font-family: arimo-bold, "Arimo", Arial, sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #001552;
  line-height: 1.3;
}

.pp-section__text {
  margin: 0 0 0.85rem;
  font-family: arimo-regular, "Arimo", Arial, sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  color: #1c1c17;
  line-height: 24px;
}

.pp-section__text:last-child {
  margin-bottom: 0;
}

/* ── Highlight box ───────────────────────────────────────── */
.pp-box {
  margin-top: 1.5rem;
  background:  #FBF8EF;
  border-radius: 1.15rem;
  padding: clamp(1.25rem, 3vw, 2rem);
}

.pp-box--cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.pp-box__text {
  margin: 0;
  font-family: arimo-regular, "Arimo", Arial, sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: #1c1c17;
  line-height: 24px;
}

/* ── Two bordered columns (section 06) ───────────────────── */
.pp-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.pp-split__col {
  border-left: 3px solid #0e2978;
  padding-left: 1rem;
}

.pp-split__col:last-child {
  border-left: 3px solid #FFBE0C;
}

.pp-split__heading {
  margin: 0 0 0.6rem;
  font-family: arimo-bold, "Arimo", Arial, sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  color: var(--2nd-color, #0e2978);
}

.pp-split__text {
  margin: 0;
  font-family: arimo-regular, "Arimo", Arial, sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  color: #444651;
  line-height: 24px;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 900px) {
  .pp-layout {
    grid-template-columns: 1fr;
    width: 92%;
  }

  .pp-sidebar {
    position: static;
    border-right: none;
    border-bottom: 2px solid rgba(14, 41, 120, 0.1);
    padding-right: 0;
    padding-bottom: 1.25rem;
    margin-bottom: 2rem;
  }

  .pp-sidebar__nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
  }

  .pp-sections {
    padding-left: 0;
  }

  .pp-section {
    grid-template-columns: 56px 1fr;
    gap: 0 1rem;
  }

  .pp-section__num {
    font-size: 2rem;
  }

  .pp-box--cols,
  .pp-split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1023px) {
  .pp-header .brand-logo {
    height: clamp(48px, 12.5vw, 72px);
    width: auto;
  }

  /* Privacy header: keep Home / Features / Pricing visible (homepage hides .nav-main) */
  .pp-header .nav {
    grid-template-columns: auto 1fr auto;
    grid-template-rows: auto auto;
    row-gap: 0.65rem;
  }

  .pp-header .brand {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
  }

  .pp-header .nav-end {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
  }

  .pp-header .nav-main {
    display: block;
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: center;
  }

  .pp-header .nav-list {
    font-size: clamp(0.8rem, 2.4vw, 1.125rem);
    gap: clamp(0.5rem, 2.5vw, 1.25rem);
  }

  .pp-header .nav-list a {
    font-size: inherit;
    line-height: 1.3;
  }

  .pp-header .nav-lang__link[hreflang="en"],
  .pp-header .nav-lang__link[hreflang="ar"] {
    font-size: clamp(0.75rem, 2.5vw, 1rem);
    color: #c0c0c0;
    font-weight: 400;
  }

  .pp-header .nav-lang__link--active {
    color: var(--1st-Color, #ffbe0c);
    font-weight: 700;
  }

  .pp-header .nav-lang__sep {
    font-size: clamp(0.75rem, 2.5vw, 1rem);
    color: rgba(14, 41, 120, 0.4);
  }

  .pp-header .nav-end .btn.btn-login {
    font-size: clamp(0.75rem, 2.5vw, 1rem);
    padding: 0.5rem 1.15rem;
    text-transform: none;
    letter-spacing: normal;
  }
}

@media (max-width: 599px) {
  .pp-header .nav {
    width: 95%;
  }

  .pp-section {
    grid-template-columns: 44px 1fr;
  }

  .pp-section__num {
    font-size: 1.6rem;
  }
}
