/* Landing page styles — home, about, fleet */

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

html,
body {
  min-height: 100%;
}

body {
  background: #0d0d1a;
  color: #fff;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

[dir="rtl"] body {
  font-family: "IBM Plex Sans Arabic", "IBM Plex Sans", sans-serif;
}

[dir="ltr"] body {
  font-family: "Inter", "IBM Plex Sans", sans-serif;
}

.landing-root {
  position: relative;
  min-height: 100dvh;
  overflow: hidden;
  background-color: #0d0d1a;
}

.landing-root--page {
  overflow: visible;
}

.bg-photo {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image: image-set(url("/landpage-bg.webp?v=seo") type("image/webp"), url("/landpage-bg.png?v=seo") type("image/png"));
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.38;
  transform: scale(1.03);
}

.bg-overlays {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 1;
}

.bg-overlays__dim {
  position: absolute;
  inset: 0;
  background: rgba(13, 13, 26, 0.48);
}

[dir="rtl"] .bg-overlays__pink {
  background: linear-gradient(
    to left,
    rgba(232, 82, 122, 0.65) 0%,
    rgba(232, 82, 122, 0.34) 30%,
    transparent 65%
  );
}

[dir="ltr"] .bg-overlays__pink {
  background: linear-gradient(
    to right,
    rgba(232, 82, 122, 0.65) 0%,
    rgba(232, 82, 122, 0.34) 30%,
    transparent 65%
  );
}

[dir="rtl"] .bg-overlays__teal {
  background: linear-gradient(
    to right,
    rgba(78, 205, 196, 0.52) 0%,
    rgba(78, 205, 196, 0.26) 30%,
    transparent 65%
  );
}

[dir="ltr"] .bg-overlays__teal {
  background: linear-gradient(
    to left,
    rgba(78, 205, 196, 0.52) 0%,
    rgba(78, 205, 196, 0.26) 30%,
    transparent 65%
  );
}

.bg-overlays__pink,
.bg-overlays__teal {
  position: absolute;
  inset: 0;
}

.bg-overlays__fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13, 13, 26, 0.7) 0%, transparent 60%);
}

.page-shell {
  position: relative;
  z-index: 2;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: max(16px, env(safe-area-inset-top, 0px)) clamp(16px, 4vw, 24px) 16px;
  background: transparent;
}

.site-header__brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.38);
}

.nav-toggle__icon {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.22rem;
  width: 1rem;
}

.nav-toggle__bar {
  display: block;
  height: 2px;
  width: 100%;
  border-radius: 9999px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-header.is-nav-open .nav-toggle__bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.site-header.is-nav-open .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}

.site-header.is-nav-open .nav-toggle__bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 767px) {
  .nav-toggle {
    display: inline-flex;
    flex-shrink: 0;
    position: relative;
    z-index: 25;
    width: 1.85rem;
    height: 1.85rem;
  }

  .nav-toggle__icon {
    width: 0.82rem;
    gap: 0.16rem;
  }

  .nav-toggle__bar {
    height: 1.5px;
  }

  .site-header.is-nav-open .nav-toggle__bar:nth-child(1) {
    transform: translateY(5px) rotate(45deg);
  }

  .site-header.is-nav-open .nav-toggle__bar:nth-child(3) {
    transform: translateY(-5px) rotate(-45deg);
  }

  .site-header {
    flex-wrap: nowrap;
    align-items: center;
  }

  .site-header.is-nav-open::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 15;
    background: rgba(0, 0, 0, 0.42);
  }

  .site-header .site-nav {
    position: fixed;
    top: max(3.15rem, calc(env(safe-area-inset-top) + 2.35rem));
    inset-inline-start: clamp(12px, 3vw, 18px);
    width: min(13.25rem, 62vw);
    height: auto;
    z-index: 20;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 0.15rem;
    padding: 0.65rem 0.75rem;
    margin: 0;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 8px 12px 28px rgba(0, 0, 0, 0.32);
    overflow: visible;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.24s ease, visibility 0.24s ease;
  }

  [dir="rtl"] .site-header .site-nav {
    box-shadow: -8px 0 28px rgba(0, 0, 0, 0.32);
    transform: translateX(100%);
  }

  [dir="ltr"] .site-header .site-nav {
    transform: translateX(-100%);
  }

  .site-header.is-nav-open .site-nav {
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0);
  }

  .lang-switch {
    position: relative;
    z-index: 25;
  }
}

@media (min-width: 768px) {
  .site-header {
    padding-inline: 3rem;
  }
}

@media (min-width: 1024px) {
  .site-header {
    padding-inline: 4rem;
  }
}

.logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.logo-wrap img {
  display: block;
  height: 2.15rem;
  width: auto;
  max-width: 8.25rem;
  object-fit: contain;
}

@media (min-width: 768px) {
  .logo-wrap img {
    height: 2.5rem;
    max-width: 9.5rem;
  }
}

.site-nav {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  flex: 1;
  min-width: 0;
}

.lang-switch {
  flex-shrink: 0;
  margin-inline-start: 0.35rem;
}

.site-nav__link {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.35rem 0.45rem;
  border-radius: 9999px;
  transition: color 0.2s ease, background-color 0.2s ease;
  white-space: nowrap;
}

.site-nav__link:hover,
.site-nav__link--active {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

@media (max-width: 767px) {
  .site-header .site-nav {
    flex: none;
    justify-content: flex-start;
    align-items: stretch;
    flex-wrap: nowrap;
  }

  .site-nav__link {
    display: block;
    width: 100%;
    text-align: start;
    white-space: normal;
    padding: 0.7rem 0.85rem;
    border-radius: 0.75rem;
  }
}

.lang-switch {
  display: inline-flex;
  height: 2.5rem;
  width: 2.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.lang-switch:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.05);
}

@media (max-width: 767px) {
  .lang-switch {
    width: 1.85rem;
    height: 1.85rem;
    font-size: 0.625rem;
    margin-inline-start: auto;
  }
}

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(16px, 4vw, 24px);
  padding-bottom: max(24px, env(safe-area-inset-bottom, 0px));
}

.hero--home {
  min-height: calc(100dvh - 4.5rem);
  justify-content: center;
  overflow: visible;
}

.hero-inner {
  position: relative;
  width: 100%;
  max-width: 72rem;
  margin-inline: auto;
  min-height: calc(100dvh - 4.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-bottom: 3rem;
}

.hero--home .hero-content {
  transform: translateY(-1.25rem);
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  position: relative;
}

.scroll-hint {
  position: absolute;
  bottom: max(4.25rem, calc(env(safe-area-inset-bottom, 0px) + 2.5rem));
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  animation: scroll-hint-bounce 1.8s ease-in-out infinite;
  z-index: 2;
  transition: opacity 0.3s ease;
}

.scroll-hint--hidden {
  opacity: 0;
  pointer-events: none;
}

.scroll-hint__icon {
  display: flex;
}

.scroll-hint__icon svg {
  width: 1.15rem;
  height: 1.15rem;
}

@keyframes scroll-hint-bounce {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
    opacity: 0.75;
  }

  50% {
    transform: translateX(-50%) translateY(4px);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-hint {
    animation: none;
    transform: translateX(-50%);
  }
}

@media (min-width: 768px) {
  .hero {
    padding-inline: 3rem;
  }
}

@media (min-width: 1024px) {
  .hero {
    padding-inline: 4rem;
  }
}

[dir="rtl"] .hero-content {
  align-items: flex-start;
  text-align: right;
}

[dir="ltr"] .hero-content {
  align-items: flex-start;
  text-align: left;
}

.headline {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
}

.headline-word {
  color: #fff;
  font-weight: 900;
  font-size: clamp(38px, 10vw, 52px);
  line-height: 1.1;
  letter-spacing: normal;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
  opacity: 0;
  transform: translateY(40px);
  animation: fade-up 0.6s ease-out forwards;
}

@media (min-width: 768px) {
  .headline-word {
    font-size: clamp(34px, 5.5vw, 68px);
    line-height: 1.14;
  }
}

[dir="ltr"] .headline-word {
  letter-spacing: -0.02em;
}

.headline-word--1 {
  animation-delay: 0.4s;
}

.headline-word--2 {
  animation-delay: 0.55s;
}

.headline-line-block {
  display: block;
}

.cta-wrap,
.page-cta {
  margin-top: 2.35rem;
}

.cta-wrap {
  opacity: 0;
  animation: fade-up 0.6s ease-out 0.9s forwards;
}

.cta-button {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 9999px;
  background: #fff;
  color: #1a1a2e;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.cta-button--ar {
  direction: ltr;
  padding: 0.6rem 0.75rem 0.6rem 1.15rem;
}

.cta-button--en {
  padding: 0.6rem 1.15rem 0.6rem 0.65rem;
  gap: 0.65rem;
}

.cta-button__label {
  white-space: nowrap;
}

.cta-button:hover {
  transform: translateY(-1px);
  background: #f5f5f5;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.cta-button__icon {
  display: flex;
  height: 2rem;
  width: 2rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: #1a1a2e;
  color: #fff;
}

.cta-button__icon svg {
  display: block;
  width: 1rem;
  height: 1rem;
}

@media (min-width: 768px) {
  .cta-button {
    font-size: 1rem;
  }

  .cta-button--ar {
    gap: 0.5rem;
    padding: 0.7rem 0.85rem 0.7rem 1.5rem;
  }

  .cta-button--en {
    gap: 0.75rem;
    padding: 0.7rem 1.5rem 0.7rem 0.75rem;
  }

  .cta-button__icon {
    height: 2.25rem;
    width: 2.25rem;
  }

  .cta-button__icon svg {
    width: 1.05rem;
    height: 1.05rem;
  }
}

.content-section {
  padding: 4rem clamp(16px, 4vw, 24px);
  scroll-margin-top: 5rem;
}

.content-section--alt {
  background: transparent;
}

.content-section--page {
  padding-top: 2.5rem;
  flex: 1;
}

@media (min-width: 768px) {
  .content-section {
    padding-inline: 3rem;
  }
}

@media (min-width: 1024px) {
  .content-section {
    padding-inline: 4rem;
  }
}

.content-section__inner {
  width: 100%;
  max-width: 72rem;
  margin-inline: auto;
}

.content-section__inner--narrow {
  max-width: 52rem;
}

.section-title,
.page-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.section-title--accent {
  position: relative;
  padding-inline-start: 1.1rem;
  isolation: isolate;
}

.section-title--accent.section-title--glow,
.page-title.section-title--accent.section-title--glow {
  display: inline-block;
  width: fit-content;
  max-width: 100%;
}

.section-title--glow::after {
  content: "";
  position: absolute;
  inset: -0.04em 0 -0.04em 0.55rem;
  border-radius: 0.2em;
  background: radial-gradient(ellipse at center, rgba(255, 159, 67, 0.42) 0%, rgba(255, 159, 67, 0) 62%);
  opacity: 0;
  transform: scale(0.65);
  z-index: -1;
  pointer-events: none;
}

.section-title--glow.section-title--accent-visible::after {
  animation: section-title-glow 1.5s ease forwards;
}

.section-title--accent::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.12em;
  bottom: 0.12em;
  width: 5px;
  border-radius: 3px;
  background: linear-gradient(180deg, #ffb866 0%, #ff9f43 55%, #f58a2a 100%);
  box-shadow: 0 0 18px rgba(255, 159, 67, 0.35);
  transform-origin: center center;
  transform: rotate(0deg) scale(0.2);
  opacity: 0;
}

.section-title--accent.section-title--accent-visible::before {
  animation: accent-line-spin 0.8s cubic-bezier(0.2, 0.9, 0.25, 1) forwards;
}

@keyframes accent-line-spin {
  0% {
    transform: rotate(0deg) scale(0.2);
    opacity: 0;
  }

  75% {
    transform: rotate(360deg) scale(1);
    opacity: 1;
  }

  100% {
    transform: rotate(360deg) scale(1);
    opacity: 1;
  }
}

@keyframes section-title-glow {
  0% {
    opacity: 0;
    transform: scale(0.55);
  }

  35% {
    opacity: 1;
    transform: scale(1.05);
  }

  100% {
    opacity: 0;
    transform: scale(1.2);
  }
}

@media (prefers-reduced-motion: reduce) {
  .section-title--accent::before {
    transform: rotate(360deg) scale(1);
    opacity: 1;
  }

  .section-title--accent.section-title--accent-visible::before {
    animation: none;
  }

  .section-title--glow::after {
    display: none;
  }
}

.section-subtitle {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 42rem;
  margin-bottom: 2rem;
}

[dir="rtl"] .section-subtitle {
  text-align: right;
}

[dir="ltr"] .section-subtitle {
  text-align: left;
}

.feature-grid,
.fleet-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .feature-grid,
  .fleet-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
  }
}

.feature-card,
.fleet-card,
.step-card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 1rem;
  padding: 1.25rem 1.35rem;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.fleet-card--with-image {
  position: relative;
  overflow: hidden;
}

.fleet-card__image {
  position: absolute;
  bottom: 0.2rem;
  inset-inline-end: 0.2rem;
  width: 8.5rem;
  height: auto;
  max-height: 5.75rem;
  object-fit: contain;
  object-position: bottom right;
  opacity: 1;
  pointer-events: none;
  z-index: 0;
}

@media (min-width: 768px) {
  .fleet-card__image {
    width: 10rem;
    max-height: 6.75rem;
  }
}

[dir="rtl"] .fleet-card__image {
  object-position: bottom left;
}

.fleet-card__body {
  position: relative;
  z-index: 1;
}

.fleet-card--with-image .fleet-card__body {
  padding-bottom: 4.75rem;
}

@media (min-width: 768px) {
  .fleet-card--with-image .fleet-card__body {
    padding-bottom: 5.25rem;
  }
}

.feature-card__title,
.fleet-card__title,
.step-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.feature-card__text,
.fleet-card__text,
.step-card__text {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
  font-size: 0.98rem;
}

.fleet-card__list {
  margin-top: 0.85rem;
  padding-inline-start: 1.1rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.7;
}

.steps-list {
  list-style: none;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 900px) {
  .steps-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.step-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.step-card__head {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.step-card__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  flex-shrink: 0;
  border-radius: 9999px;
  background: #e8527a;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
}

.step-card__title {
  margin-bottom: 0;
}

.faq-list {
  display: grid;
  gap: 0.75rem;
}

.faq-item {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.04);
  padding: 0.25rem 1rem;
}

.faq-item__question {
  cursor: pointer;
  font-weight: 700;
  padding-block: 0.85rem;
  list-style: none;
}

.faq-item__question::-webkit-details-marker {
  display: none;
}

.faq-item__answer {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
  padding-bottom: 1rem;
}

.faq-item__link {
  color: #ff9f43;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.faq-item__link:hover {
  color: #ffb866;
}

.prose {
  display: grid;
  gap: 1rem;
}

.prose__paragraph {
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.9;
  font-size: 1.02rem;
}

[dir="rtl"] .prose__paragraph {
  text-align: right;
}

[dir="ltr"] .prose__paragraph {
  text-align: left;
}

.site-footer {
  margin-top: auto;
  padding: 2rem clamp(16px, 4vw, 24px) max(24px, env(safe-area-inset-bottom, 0px));
  background: transparent;
}

@media (min-width: 768px) {
  .site-footer {
    padding-inline: 3rem;
  }
}

.site-footer__copy {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.875rem;
  text-align: center;
}

@keyframes fade-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
