/* ===== Variables ===== */
:root {
  --primary: #EAB308;
  --primary-dark: #CA8A04;
  --primary-light: #FDE047;
  --primary-glow: rgba(234, 179, 8, 0.35);
  --secondary: #FACC15;
  --dark: #0a0f1a;
  --dark-2: #111827;
  --dark-3: #1f2937;
  --gray: #6b7280;
  --gray-light: #9ca3af;
  --light: #f9fafb;
  --white: #ffffff;
  --footer-gray: #454340;
  --footer-gray-deep: #353330;
  --footer-gray-light: #56534e;
  --gradient: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.15);
  --radius: 16px;
  --radius-sm: 10px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font: 'Segoe UI', Tahoma, system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: 'lnum' 1, 'tnum' 1;
}

html.has-smooth-scroll {
  scroll-behavior: smooth;
}

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

body {
  font-family: var(--font);
  font-weight: 600;
  background: var(--light);
  color: var(--dark);
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-y: none;
  -webkit-tap-highlight-color: transparent;
  caret-color: transparent;
  -webkit-user-select: none;
  user-select: none;
}

input,
textarea,
select,
[contenteditable="true"] {
  caret-color: auto;
  -webkit-user-select: text;
  user-select: text;
}

.lazy-section {
  contain-intrinsic-size: auto 560px;
}

.lazy-section.lazy-section--pending {
  content-visibility: hidden;
}

.lazy-section.is-section-visible,
.lazy-section.is-section-loaded {
  content-visibility: visible;
}

.lazy-section.lazy-section--pending .features-orb {
  animation-play-state: paused;
}

.features.is-section-visible .features-orb,
.features.is-section-loaded .features-orb {
  animation-play-state: running;
}

#heroBoard.hero-board--pending .hero-flights-empty,
#heroBoard.hero-board--pending .hero-flights-status {
  visibility: hidden;
}

#heroBoard.hero-board--pending .hero-flights-track-wrap {
  min-height: 2.5rem;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
  -webkit-user-drag: none;
  user-drag: none;
  -webkit-touch-callout: none;
}

video,
picture {
  -webkit-user-drag: none;
  user-drag: none;
  -webkit-touch-callout: none;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Typography ===== */
.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-tag {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(234, 179, 8, 0.1);
  color: var(--primary-dark);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 16px;
}

.section-desc {
  color: var(--gray);
  font-size: 1.05rem;
  max-width: 560px;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header .section-desc {
  margin: 0 auto;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 50px;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background: var(--gradient);
  color: var(--dark);
  box-shadow: 0 4px 20px var(--primary-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--primary-glow);
}

.btn-outline {
  background: transparent;
  color: var(--dark);
  border: 2px solid var(--dark-3);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-sm { padding: 8px 20px; font-size: 0.85rem; }
.btn-lg { padding: 16px 36px; font-size: 1rem; }

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: background 0.35s ease, padding 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease;
}

.header.scrolled {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.62) 0%,
    rgba(255, 203, 5, 0.38) 100%
  );
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  box-shadow:
    0 8px 32px -12px rgba(255, 203, 5, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
  padding: 10px 0;
}

.header.scrolled::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent 0%,
    rgba(255, 203, 5, 0.28) 20%,
    rgba(255, 203, 5, 0.28) 80%,
    transparent 100%
  );
  pointer-events: none;
}

.header.scrolled::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -20px;
  height: 20px;
  background: linear-gradient(to bottom, rgba(255, 203, 5, 0.22), transparent);
  pointer-events: none;
}

.header-dark {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.header-dark.scrolled {
  background: rgba(10, 15, 26, 0.72);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  box-shadow: 0 6px 28px -14px rgba(0, 0, 0, 0.35);
  padding: 10px 0;
}

.header-dark.scrolled::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent 0%,
    rgba(255, 255, 255, 0.1) 20%,
    rgba(255, 255, 255, 0.1) 80%,
    transparent 100%
  );
  pointer-events: none;
}

.header-dark.scrolled::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -18px;
  height: 18px;
  background: linear-gradient(to bottom, rgba(10, 15, 26, 0.45), transparent);
  pointer-events: none;
}

.header-dark .nav-link { color: rgba(255,255,255,0.8); }
.header-dark .nav-link:hover,
.header-dark .nav-link.active { color: var(--primary-light); }
.header-dark .logo-text { color: var(--white); }
.header-dark .btn-outline { color: var(--white); border-color: rgba(255,255,255,0.3); }
.header-dark .menu-toggle span { background: var(--white); }

.header-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  min-width: 0;
  justify-self: start;
}

.logo-img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 10px;
  background: transparent;
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 14em;
  font-family: var(--font), system-ui, sans-serif;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  gap: 6px;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.nav-link {
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray);
  transition: var(--transition);
  white-space: nowrap;
  flex-shrink: 1;
  min-width: 0;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-dark);
  background: rgba(234, 179, 8, 0.08);
}

.nav-link-app {
  background: rgba(234, 179, 8, 0.1);
  color: var(--primary-dark) !important;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 10px;
  flex-shrink: 0;
  overflow: visible;
  position: relative;
  z-index: 12;
  isolation: isolate;
}

.lang-switcher {
  flex-shrink: 0;
}

.header-actions .btn-fids {
  flex-shrink: 0;
  border: 2px solid transparent;
  box-sizing: border-box;
}

.header-actions .btn-sm {
  white-space: nowrap;
  flex-shrink: 0;
  box-sizing: border-box;
  line-height: 1.2;
}

.header-actions .btn-primary {
  border: 2px solid transparent;
  box-sizing: border-box;
}

/* FIDS — دکمه هدر + نوار تأخیر (صفحه اصلی) */
.btn-fids {
  background: linear-gradient(135deg, #15803d, #22c55e);
  color: #fff !important;
  box-shadow: 0 4px 16px rgba(34, 197, 94, 0.3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: none;
  line-height: 1;
  flex-shrink: 0;
}

.btn-fids:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(34, 197, 94, 0.4);
  color: #fff !important;
}

.fids-btn-icon {
  flex-shrink: 0;
  display: block;
}

.fids-delayed-strip {
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  z-index: 999;
  background: rgba(120, 53, 15, 0.95);
  border-bottom: 1px solid rgba(251, 191, 36, 0.25);
}

.fids-delayed-strip__inner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  overflow: hidden;
}

.fids-delayed-strip__label {
  flex-shrink: 0;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fde68a;
}

.fids-delayed-strip__chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  flex: 1;
}

.fids-delayed-strip__chips::-webkit-scrollbar { display: none; }

.fids-delayed-chip {
  flex-shrink: 0;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.25);
  color: #fff;
  font-size: 0.78rem;
  white-space: nowrap;
}

.fids-delayed-strip__link {
  flex-shrink: 0;
  font-size: 0.78rem;
  font-weight: 600;
  color: #fde047;
  text-decoration: none;
}

.fids-delayed-strip__link:hover {
  text-decoration: underline;
}

body.has-fids-delayed-strip {
  padding-top: 36px;
}

/* دسکتاپ — منوی افقی + دکمه‌ها (مثل طرح اصلی) */
@media (min-width: 1181px) {
  .header-inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 14px;
  }

  .menu-toggle {
    display: none;
  }

  .header-ticket-btn {
    display: inline-flex;
  }

  .nav {
    display: flex;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    justify-content: center;
    justify-self: center;
    gap: 4px;
  }

  .header-actions {
    gap: 10px;
    padding-inline-start: 10px;
  }

  .nav-link {
    padding: 8px 10px;
    font-size: 0.8125rem;
  }

  .logo-text {
    font-size: 1.15rem;
    max-width: 11.5em;
  }
}

@media (min-width: 769px) {
  .header-actions .btn-sm {
    min-height: 40px;
    height: 40px;
    padding-block: 0;
    padding-inline: 14px;
    font-size: 0.8125rem;
  }

  .header-actions .lang-switcher-btn {
    height: 40px;
    min-height: 40px;
  }
}

@media (min-width: 1320px) {
  .header-inner {
    column-gap: 18px;
  }

  .nav {
    gap: 6px;
  }

  .nav-link {
    padding: 8px 11px;
    font-size: 0.85rem;
  }

  .header-actions {
    gap: 12px;
  }
}

#home,
#features,
#about,
#representatives,
#currency,
#download {
  scroll-margin-top: 80px;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 120px 0 0;
  overflow: hidden;
  -webkit-user-select: none;
  user-select: none;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, #ffffff 0%, #f9fafb 18%, #fffbeb 42%, #fef9c3 58%, #ffffff 100%),
    linear-gradient(135deg, transparent 0%, rgba(254, 249, 195, 0.35) 45%, transparent 75%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(234, 179, 8, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(234, 179, 8, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  z-index: 2;
}

.hero-orb-1 {
  width: 460px;
  height: 460px;
  background: #ffcb05;
  top: 42%;
  right: max(-220px, -14vw);
  left: auto;
  opacity: 0.38;
  animation: float-orb-1 9s ease-in-out infinite;
}

.hero-orb-2 {
  width: 400px;
  height: 400px;
  background: #ffcb05;
  bottom: 4%;
  left: max(-200px, -12vw);
  right: auto;
  opacity: 0.35;
  animation: float-orb-2 10s ease-in-out infinite reverse;
}

@keyframes float-orb-1 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-12px, 10px); }
}

@keyframes float-orb-2 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(12px, -10px); }
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  flex: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
  align-content: center;
}

@media (min-width: 992px) {
  .hero-content {
    grid-template-columns: 1fr minmax(300px, 420px);
    gap: 40px 64px;
    align-items: center;
  }

  .hero-visual {
    justify-content: flex-end;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(234, 179, 8, 0.1);
  border: 1px solid rgba(234, 179, 8, 0.2);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 24px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 20px;
}

.hero-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

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

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

.hero-desc {
  font-size: 1.05rem;
  color: var(--gray);
  margin-bottom: 28px;
  max-width: 480px;
}

.hero-buttons {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 12px;
  margin-bottom: 24px;
  width: min(100%, 420px);
  max-width: 420px;
}

.hero-buttons .btn-lg {
  flex: 1 1 0;
  min-width: 0;
  justify-content: center;
  padding: 14px 18px;
  min-height: 52px;
  border: 2px solid transparent;
}

.hero-buttons .btn-outline.btn-lg {
  border-color: var(--dark-3);
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
}

.hero-stats--en {
  font-family: var(--font), system-ui, sans-serif;
  direction: ltr;
  width: fit-content;
  max-width: 100%;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 14px;
  box-shadow:
    0 4px 20px rgba(234, 179, 8, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  isolation: isolate;
}

.hero-stats--en .stat {
  flex: 0 0 auto;
  min-width: 86px;
  padding: 0 14px;
  text-align: center;
}

.hero-stats--en .stat:first-child {
  padding-inline-start: 0;
}

.hero-stats--en .stat:last-child {
  padding-inline-end: 0;
}

html.lang-fa .hero-stats--en,
html.lang-ar .hero-stats--en {
  transform: translateX(-60px);
}

html.lang-en .hero-stats--en {
  transform: translateX(60px);
}

.stat-num {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.2;
  white-space: nowrap;
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: 'lnum' 1, 'tnum' 1;
}

.stat-num--with-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.stat-clock-icon {
  width: 1.1em;
  height: 1.1em;
  color: var(--primary-dark);
  flex-shrink: 0;
}

.stat-label {
  display: block;
  margin-top: 4px;
  font-size: 0.72rem;
  color: var(--gray);
  line-height: 1.3;
  white-space: nowrap;
}

.stat-divider {
  width: 1px;
  height: 34px;
  background: var(--dark-3);
  opacity: 0.18;
  flex-shrink: 0;
}

/* Hero — dual phone mockups */
.hero-visual {
  display: flex;
  justify-content: center;
  overflow: visible;
}

.hero-phones {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 10px;
  width: fit-content;
  max-width: 100%;
  height: min(500px, 56vh);
  min-height: 320px;
  margin-inline: auto;
  transform: translateX(24px);
  perspective: 1400px;
  transform-style: preserve-3d;
}

.hero-phone {
  position: relative;
  flex: 0 0 auto;
  display: block;
  cursor: pointer;
  transform-style: preserve-3d;
  transition:
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.35s ease,
    z-index 0s linear 0.5s;
  will-change: transform;
  text-decoration: none;
}

.hero-phone--exchange {
  z-index: 1;
  transform: rotate(-5deg) scale(0.88);
  transform-origin: 50% 88%;
}

.hero-phone--home {
  z-index: 2;
  transform: translateY(-4px) rotate(4deg) scale(0.94);
  transform-origin: 50% 88%;
}

.hero-phone:hover,
.hero-phone:focus-visible {
  z-index: 10;
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.35s ease,
    z-index 0s;
  outline: none;
}

.hero-phone--exchange:hover,
.hero-phone--exchange:focus-visible {
  transform: translateY(-22px) rotate(-2deg) scale(1.07);
}

.hero-phone--home:hover,
.hero-phone--home:focus-visible {
  transform: translateY(-26px) rotate(2deg) scale(1.1);
}

.hero-phones:has(.hero-phone:hover) .hero-phone:not(:hover),
.hero-phones:has(.hero-phone:focus-visible) .hero-phone:not(:focus-visible) {
  opacity: 0.88;
}

.hero-phones:has(.hero-phone--exchange:hover) .hero-phone--home,
.hero-phones:has(.hero-phone--exchange:focus-visible) .hero-phone--home {
  transform: translateY(4px) rotate(6deg) scale(0.86);
}

.hero-phones:has(.hero-phone--home:hover) .hero-phone--exchange,
.hero-phones:has(.hero-phone--home:focus-visible) .hero-phone--exchange {
  transform: translateY(6px) rotate(-6deg) scale(0.82);
}

.hero-phone-media {
  display: block;
  position: relative;
  line-height: 0;
}

.hero-phone-img {
  display: block;
  pointer-events: none;
}

.hero-phone-img--tilt {
  width: min(200px, 44vw);
  height: auto;
  max-height: 500px;
  object-fit: contain;
  filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.22));
  transition: opacity 0.35s ease, filter 0.35s ease;
}

.hero-phone:hover .hero-phone-img--tilt,
.hero-phone:focus-visible .hero-phone-img--tilt {
  animation-play-state: paused;
  filter: drop-shadow(0 32px 56px rgba(0, 0, 0, 0.28));
}

.hero-phone picture,
.app-phone-showcase picture {
  display: block;
  line-height: 0;
}

@keyframes hero-phone-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@media (min-width: 992px) {
  .hero-phones {
    height: min(560px, 62vh);
    transform: translateX(42px);
  }

  .hero-phone-img--tilt {
    width: min(220px, 100%);
    max-height: 540px;
  }
}

/* ===== Hero — دو باکس پایین ===== */
.hero-bottom-row {
  --hero-spacer-h: 52px;
  position: relative;
  z-index: 2;
  align-self: stretch;
  width: 100%;
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  overflow: visible;
  padding-top: var(--hero-spacer-h);
}

.hero-board-skyline {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 8;
  width: min(680px, 58%);
  height: var(--hero-spacer-h);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: visible;
  pointer-events: none;
}

.hero-board-skyline-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 600 / 159;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 3px 10px rgba(15, 23, 42, 0.14));
  user-select: none;
  -webkit-user-drag: none;
}

.hero-payment-badges {
  position: absolute;
  z-index: 9;
  display: flex;
  flex-direction: row;
  direction: ltr;
  gap: 6px;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.hero-payment-badges.is-placed {
  opacity: 1;
  pointer-events: auto;
}

.hero-payment-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 76px;
  min-height: 52px;
  padding: 5px 4px;
  border-radius: 10px;
  text-align: center;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.52);
  box-shadow:
    0 4px 16px rgba(234, 179, 8, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(16px) saturate(1.35);
  -webkit-backdrop-filter: blur(16px) saturate(1.35);
  isolation: isolate;
}

body.page-ready .hero-payment-badges.is-placed .hero-payment-badge {
  animation: hero-payment-badge-in 0.42s ease-out both;
}

body.page-ready .hero-payment-badges.is-placed .hero-payment-badge:nth-child(2) {
  animation-delay: 0.08s;
}

body.page-ready .hero-payment-badges--right.is-placed .hero-payment-badge:nth-child(1) {
  animation-delay: 0.12s;
}

body.page-ready .hero-payment-badges--right.is-placed .hero-payment-badge:nth-child(2) {
  animation-delay: 0.2s;
}

@keyframes hero-payment-badge-in {
  from {
    opacity: 0;
    transform: translate3d(0, 8px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.hero-payment-badge > img {
  display: block;
  height: 22px;
  width: auto;
  max-width: 56px;
  object-fit: contain;
}

.hero-payment-badge--visa > img {
  height: 18px;
  max-width: 48px;
}

.hero-payment-badge-name {
  display: block;
  width: 100%;
  font-size: 0.58rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--dark-3);
}

.hero-payment-badge-name--stacked {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
}

.hero-payment-badge-name-fa {
  font-size: 0.56rem;
  line-height: 1.15;
}

.hero-payment-badge-name-en {
  font-size: 0.5rem;
  line-height: 1.1;
  opacity: 0.9;
}

.hero-payment-badge--zain > img {
  mix-blend-mode: lighten;
  height: 16px;
  max-width: 58px;
  filter: brightness(0.15) contrast(1.2);
}

.hero-payment-badge--zain .hero-payment-badge-name {
  color: var(--dark);
}

.hero-bottom-spacer {
  position: absolute;
  top: 0;
  height: var(--hero-spacer-h, 52px);
  z-index: 8;
  isolation: isolate;
  flex-shrink: 0;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  overflow: visible;
  border-radius: 7px 7px 0 0;
  background-color: rgba(255, 203, 5, 0.42);
  background-image: linear-gradient(
    102deg,
    rgba(255, 184, 55, 0.58) 0%,
    rgba(255, 203, 5, 0.48) 38%,
    rgba(255, 214, 88, 0.52) 72%,
    rgba(255, 198, 40, 0.55) 100%
  );
  backdrop-filter: blur(20px) saturate(1.25);
  -webkit-backdrop-filter: blur(20px) saturate(1.25);
  border: 1px solid rgba(255, 210, 60, 0.55);
  border-bottom: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    0 2px 12px rgba(234, 179, 8, 0.14);
  pointer-events: auto;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.hero-bottom-spacer.is-placed {
  opacity: 1;
}

.hero-spacer-inner {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: 1px 4px 0;
  box-sizing: border-box;
  overflow: hidden;
}

.hero-spacer-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: fill;
  object-position: center bottom;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

/* ===== Hero — پرچم بالای باکس نارنجی (میله پشت باکس) ===== */
.hero-bottom-flags {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: visible;
}

.hero-motion-logo {
  position: absolute;
  z-index: 5;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%);
  transition: opacity 0.35s ease;
  perspective: 900px;
}

.hero-motion-logo.is-placed {
  opacity: 1;
}

.hero-motion-logo-spin {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-motion-logo-img {
  display: block;
  width: auto;
  height: var(--hero-logo-size, 88px);
  max-width: var(--hero-logo-size, 88px);
  object-fit: contain;
  background: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
  filter: drop-shadow(0 8px 24px rgba(234, 179, 8, 0.35));
  animation: logo-spin 7s linear infinite;
  will-change: transform;
  user-select: none;
  -webkit-user-drag: none;
}

.hero-flag {
  position: absolute;
  opacity: 0;
  transition: opacity 0.35s ease;
  filter: drop-shadow(0 3px 10px rgba(15, 23, 42, 0.14));
}

.hero-flag.is-placed {
  opacity: 1;
}

.hero-flags-group {
  position: absolute;
  display: flex;
  align-items: flex-end;
  gap: 20px;
  line-height: 0;
  overflow: visible;
}

.hero-flags-group--right {
  flex-direction: row;
}

.hero-flags-group--left {
  flex-direction: row;
  z-index: 3;
}

.hero-flags-group .hero-flag {
  position: relative;
  left: auto;
  top: auto;
  overflow: visible;
}

.hero-flags-group--left .hero-flag--safir {
  z-index: 2;
}

.hero-flags-group--right .hero-flag--iran-nation {
  z-index: 6;
}

.hero-flags-group--right .hero-flag--iraq-nation {
  z-index: 2;
}

.hero-flag--iraq-nation .hero-flag-wave {
  animation-duration: 4.4s;
  animation-delay: -1.1s;
}

.hero-flag-wave {
  overflow: visible;
  transform-origin: 6% center;
  will-change: transform;
  animation: hero-flag-wind 4.2s ease-in-out infinite;
}

.hero-flag--pole-right .hero-flag-wave {
  transform-origin: 94% center;
}

.hero-flag--iran-nation .hero-flag-wave {
  animation-duration: 4.8s;
  animation-delay: -0.6s;
}

.hero-flag--safir .hero-flag-wave {
  animation-duration: 4.6s;
  animation-delay: -1.4s;
}

.hero-flag-img {
  display: block;
  height: var(--flag-height, 80px);
  width: auto;
  max-height: var(--flag-height, 80px);
  object-fit: contain;
  object-position: bottom center;
  transform: translateY(calc(-1 * var(--flag-lift, 0px)));
  user-select: none;
  -webkit-user-drag: none;
}

.hero-flags-group--left .hero-flag-img {
  object-position: bottom left;
}

.hero-flags-group--right .hero-flag-img {
  object-position: bottom right;
}

@keyframes hero-flag-wind {
  0%, 100% {
    transform: perspective(520px) rotateY(0deg) rotateZ(0deg) skewY(0deg) scaleX(1);
  }
  20% {
    transform: perspective(520px) rotateY(5deg) rotateZ(0.7deg) skewY(-1.2deg) scaleX(0.98);
  }
  45% {
    transform: perspective(520px) rotateY(-3deg) rotateZ(-0.5deg) skewY(0.9deg) scaleX(1.02);
  }
  70% {
    transform: perspective(520px) rotateY(4deg) rotateZ(0.4deg) skewY(-0.7deg) scaleX(0.99);
  }
  88% {
    transform: perspective(520px) rotateY(-2deg) rotateZ(-0.3deg) skewY(0.5deg) scaleX(1.01);
  }
}

@keyframes hero-flag-wind-soft {
  0%, 100% {
    transform: perspective(640px) rotateY(0deg) rotateZ(0deg) skewY(0deg) scaleX(1);
  }
  22% {
    transform: perspective(640px) rotateY(2.2deg) rotateZ(0.25deg) skewY(-0.45deg) scaleX(0.995);
  }
  48% {
    transform: perspective(640px) rotateY(-1.6deg) rotateZ(-0.2deg) skewY(0.35deg) scaleX(1.008);
  }
  74% {
    transform: perspective(640px) rotateY(1.8deg) rotateZ(0.15deg) skewY(-0.3deg) scaleX(0.998);
  }
  91% {
    transform: perspective(640px) rotateY(-1deg) rotateZ(-0.1deg) skewY(0.2deg) scaleX(1.004);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-flag-wave {
    animation: none;
  }

  .hero-motion-logo-img {
    animation: none;
  }
}

.hero-bottom-box {
  position: relative;
  min-height: 132px;
  padding: 0;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.78) 0%,
    rgba(255, 251, 235, 0.86) 42%,
    rgba(254, 243, 180, 0.92) 100%
  );
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border: 1px solid rgba(234, 179, 8, 0.45);
  border-top: 2px solid rgba(234, 179, 8, 0.55);
  box-shadow:
    0 10px 32px rgba(234, 179, 8, 0.16),
    0 4px 12px rgba(15, 23, 42, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.hero-bottom-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(234, 179, 8, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(234, 179, 8, 0.035) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  opacity: 0.85;
}

.hero-bottom-box::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(254, 249, 195, 0.22) 45%, transparent 75%);
  pointer-events: none;
}

.hero-bottom-box--a {
  grid-column: 1;
  border-left: 2px solid rgba(234, 179, 8, 0.5);
  border-bottom-left-radius: 12px;
  z-index: 1;
}

.hero-bottom-box--b {
  grid-column: 2;
  border-bottom-right-radius: 12px;
  z-index: 1;
}

.hero-bottom-row::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  transform: translateX(-50%);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.96) 0%,
    rgba(254, 249, 195, 0.98) 50%,
    rgba(255, 255, 255, 0.96) 100%
  );
  box-shadow:
    -1px 0 8px rgba(234, 179, 8, 0.18),
    1px 0 8px rgba(234, 179, 8, 0.18);
  z-index: 4;
  pointer-events: none;
}

.hero-flights-foot {
  grid-column: 1 / -1;
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 14px;
  padding: 8px 16px 10px;
  border-top: 1px solid rgba(234, 179, 8, 0.14);
  background: rgba(255, 255, 255, 0.2);
}

.hero-flights-foot .hero-flights-date,
.hero-flights-foot .hero-flights-updated {
  margin: 0;
}

.hero-flights-foot .hero-flights-source {
  margin: 0;
  width: 100%;
  text-align: center;
}

.hero-flights-head--split {
  padding: 0 14px 8px;
  border-bottom: 1px solid rgba(234, 179, 8, 0.12);
}

.hero-flights-inner {
  position: relative;
  z-index: 1;
  padding: 14px 0 10px;
}

.hero-flights-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  padding: 0 20px 10px;
  border-bottom: 1px solid rgba(234, 179, 8, 0.16);
}

.hero-flights-title-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
}

.hero-flights-live {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5);
  animation: flights-live-pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes flights-live-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.45); }
  50% { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
}

.hero-flights-title {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--dark);
}

.hero-flights-status {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(234, 179, 8, 0.14);
  color: var(--primary-dark);
}

.hero-flights-status--loading { background: rgba(107, 114, 128, 0.12); color: var(--gray); }
.hero-flights-status--ok { background: rgba(34, 197, 94, 0.12); color: #15803d; }
.hero-flights-status--err { background: rgba(239, 68, 68, 0.12); color: #b91c1c; }
.hero-flights-status--empty { background: rgba(107, 114, 128, 0.1); color: var(--gray); }

.hero-flights-date,
.hero-flights-stay {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.hero-flights-stay::before {
  content: '·';
  margin: 0 6px;
  opacity: 0.5;
}

.hero-flights-updated {
  font-size: 0.72rem;
  color: var(--gray);
  margin-right: auto;
}

.hero-flights-track-wrap {
  direction: ltr;
  overflow: hidden;
  overscroll-behavior-x: none;
  position: relative;
  z-index: 0;
}

/* پرواز: از راست می‌آید — قبل از خط وسط کامل محو می‌شود */
.hero-bottom-box--a .hero-flights-track-wrap {
  clip-path: inset(0 0 0 0);
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    transparent 16%,
    rgba(0, 0, 0, 0.08) 20%,
    #000 28%,
    #000 90%,
    rgba(0, 0, 0, 0.35) 97%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    transparent 16%,
    rgba(0, 0, 0, 0.08) 20%,
    #000 28%,
    #000 90%,
    rgba(0, 0, 0, 0.35) 97%,
    transparent 100%
  );
}

/* هتل: از چپ می‌آید — قبل از خط وسط کامل محو می‌شود */
.hero-bottom-box--b .hero-flights-track-wrap {
  clip-path: inset(0 0 0 0);
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    rgba(0, 0, 0, 0.35) 3%,
    #000 10%,
    #000 72%,
    rgba(0, 0, 0, 0.08) 80%,
    transparent 84%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    rgba(0, 0, 0, 0.35) 3%,
    #000 10%,
    #000 72%,
    rgba(0, 0, 0, 0.08) 80%,
    transparent 84%,
    transparent 100%
  );
}

.hero-flights-track {
  direction: ltr;
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 10px;
  width: max-content;
  padding: 12px 20px 6px;
  will-change: transform;
  backface-visibility: hidden;
}

.hero-flights-track.is-animating--to-center {
  animation: flights-marquee-to-center var(--marquee-duration, 60s) linear infinite;
}

.hero-flights-track.is-animating--from-left {
  animation: hotels-marquee-from-left var(--marquee-duration, 60s) linear infinite;
}

.hero-flights-track.is-mobile-marquee.is-animating--to-center,
.hero-flights-track.is-mobile-marquee.is-animating--from-left {
  animation: none !important;
}

.hero-flights-track.is-animating--to-center:has(.hero-flight-card:hover),
.hero-flights-track.is-animating--from-left:has(.hero-hotel-card:hover) {
  animation-play-state: paused;
}

@keyframes flights-marquee-to-center {
  from { transform: translate3d(var(--marquee-from, 100%), 0, 0); }
  to { transform: translate3d(var(--marquee-to, -100%), 0, 0); }
}

@keyframes hotels-marquee-from-left {
  from { transform: translate3d(var(--marquee-from, -100%), 0, 0); }
  to { transform: translate3d(var(--marquee-to, 100%), 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-flights-track {
    flex-wrap: wrap;
    width: auto;
    justify-content: center;
  }

  .hero-flights-track.is-animating--to-center,
  .hero-flights-track.is-animating--from-left {
    animation: none;
    transform: none;
  }
}

.hero-flight-card {
  direction: rtl;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  min-width: 240px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(234, 179, 8, 0.22);
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(234, 179, 8, 0.08);
  cursor: default;
}

.hero-flight-logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 8px;
  background: #fff;
  padding: 2px;
}

.hero-flight-logo--ph {
  display: grid;
  place-items: center;
  font-size: 1rem;
  background: rgba(234, 179, 8, 0.12);
}

.hero-flight-body {
  flex: 1;
  min-width: 0;
}

.hero-flight-route {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--dark);
  white-space: nowrap;
}

.hero-flight-arrow {
  color: var(--primary-dark);
  font-size: 0.75rem;
}

.hero-flight-airline {
  display: block;
  font-size: 0.7rem;
  color: var(--gray);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 120px;
}

.hero-flight-time {
  font-size: 0.95rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--primary-dark);
  direction: ltr;
}

.hero-flight-no {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gray);
  direction: ltr;
  padding: 2px 6px;
  background: rgba(234, 179, 8, 0.1);
  border-radius: 6px;
}

.hero-flight-price {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--dark);
  direction: ltr;
  white-space: nowrap;
}

.hero-flight-price small {
  font-size: 0.68rem;
  color: var(--gray);
  font-weight: 600;
}

.hero-hotel-card {
  direction: rtl;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  min-width: 260px;
  max-width: 320px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(234, 179, 8, 0.22);
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(234, 179, 8, 0.08);
  cursor: default;
}

.hero-hotel-body {
  flex: 1;
  min-width: 0;
}

.hero-hotel-name {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-hotel-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 3px;
}

.hero-hotel-city {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--primary-dark);
  padding: 1px 7px;
  background: rgba(234, 179, 8, 0.12);
  border-radius: 6px;
}

.hero-hotel-stars {
  font-size: 0.72rem;
  letter-spacing: 1px;
  color: #ca8a04;
  direction: ltr;
}

.hero-hotel-price-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  flex-shrink: 0;
}

.hero-hotel-nights {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--gray);
}

.hero-hotel-price {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--dark);
  direction: ltr;
  white-space: nowrap;
}

.hero-hotel-price small {
  font-size: 0.62rem;
  color: var(--gray);
  font-weight: 600;
}

.hero-flights-empty {
  padding: 16px 20px;
  font-size: 0.85rem;
  color: var(--gray);
  text-align: center;
  width: 100%;
}

.hero-flights-empty--err {
  color: #b91c1c;
}

.hero-flights-source {
  margin: 4px 20px 0;
  font-size: 0.65rem;
  color: var(--gray);
  text-align: left;
  direction: ltr;
}

.hero-flights-source a {
  color: var(--primary-dark);
  text-decoration: none;
}

.hero-flights-source a:hover {
  text-decoration: underline;
}

.download-app-video {
  --dl-video-scale: 1.58;
  display: block;
  width: min(240px, 28vw);
  max-width: none;
  height: auto;
  object-fit: contain;
  border-radius: 22px;
  filter: drop-shadow(0 16px 32px rgba(0, 0, 0, 0.12));
  transform: scale(var(--dl-video-scale));
  transform-origin: center center;
  -webkit-user-drag: none;
  user-select: none;
  -webkit-touch-callout: none;
}

/* ===== Features ===== */
.features {
  position: relative;
  padding: 100px 0;
  background: var(--white);
  overflow: hidden;
}

.features > .container {
  position: relative;
  z-index: 1;
}

/* Soft yellow orbs — smaller & more blurred than hero */
.features-orbs {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.features-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  will-change: transform;
}

.features-orb--right {
  width: 280px;
  height: 280px;
  background: var(--primary-light);
  top: 16%;
  right: 3%;
  left: auto;
  opacity: 0.4;
  animation: float-orb-1 9s ease-in-out infinite;
}

.features-orb--left {
  width: 240px;
  height: 240px;
  background: var(--secondary);
  bottom: 8%;
  left: 3%;
  right: auto;
  opacity: 0.38;
  animation: float-orb-2 10s ease-in-out infinite reverse;
}

@media (max-width: 992px) {
  .features-orb {
    filter: blur(86px);
  }

  .features-orb--right {
    width: 230px;
    height: 230px;
    right: 1%;
    opacity: 0.36;
  }

  .features-orb--left {
    width: 200px;
    height: 200px;
    left: 1%;
    opacity: 0.34;
  }
}

@media (max-width: 768px) {
  .features-orb {
    filter: blur(72px);
  }

  .features-orb--right {
    width: 190px;
    height: 190px;
    top: 6%;
    right: 0;
    opacity: 0.34;
  }

  .features-orb--left {
    width: 170px;
    height: 170px;
    bottom: 4%;
    left: 0;
    opacity: 0.32;
  }
}

@media (max-width: 480px) {
  .features-orb--right {
    width: 155px;
    height: 155px;
    opacity: 0.3;
  }

  .features-orb--left {
    width: 140px;
    height: 140px;
    opacity: 0.28;
  }
}

@media (prefers-reduced-motion: reduce) {
  .features-orb--right,
  .features-orb--left {
    animation: none;
  }
}

/* feature boxes → css/feature-boxes.css */

/* ===== About ===== */
.about {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--light) 0%, var(--white) 100%);
}

.about-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  max-width: 860px;
  margin-inline: auto;
}

.about-text {
  width: 100%;
  max-width: 620px;
  text-align: center;
}

/* ===== SEO landing — crawlable only (hidden from UI) ===== */
.seo-landing {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.seo-landing .container {
  max-width: 720px;
  text-align: center;
}

.seo-landing .section-title {
  font-size: clamp(1.15rem, 2.8vw, 1.65rem);
  margin: 12px 0 16px;
  line-height: 1.45;
}

.seo-landing__text {
  color: var(--text-muted, #64748b);
  font-size: 0.95rem;
  line-height: 1.85;
  margin: 0 0 12px;
}

html.lang-ar .seo-landing__text,
html.lang-fa .seo-landing__text {
  line-height: 1.95;
}

.about-text .section-desc,
.about-text p {
  margin-inline: auto;
}

.about-visual {
  width: 100%;
  padding-top: 28px;
  border-top: 1px solid rgba(234, 179, 8, 0.14);
}

.about-services-label {
  margin: 0 0 14px;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--gray);
}

.about-services {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.about-service-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 0;
  padding: 10px 6px;
  background: rgba(255, 255, 255, 0.55);
  border-radius: 10px;
  border: 1px solid rgba(234, 179, 8, 0.1);
  box-shadow: none;
  font-size: 0.66rem;
  font-weight: 800;
  color: var(--dark-3);
  text-align: center;
  line-height: 1.3;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.about-service-item > span[data-about-svc] {
  font-weight: 800;
}

@media (hover: hover) {
  .about-service-item:hover {
    transform: none;
    border-color: rgba(234, 179, 8, 0.28);
    background: rgba(254, 249, 195, 0.3);
    box-shadow: none;
  }
}

.about-service-item--soon {
  opacity: 0.88;
}

.about-service-item--soon small {
  display: block;
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--dark-3);
  margin-top: 2px;
}

.about-service-icon {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: 1px solid rgba(234, 179, 8, 0.16);
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.85);
  overflow: hidden;
}

.about-service-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.about-service-icon img[src*="/icons/"] {
  filter: none;
}

.about-service-item--soon .about-service-icon img[src*="/icons/"] {
  opacity: 0.75;
  filter: none;
}

.about-text .btn-primary {
  margin-top: 8px;
}

.about-promo-wrap {
  align-self: stretch;
  width: 100vw;
  max-width: 100vw;
  margin-inline: calc(50% - 50vw);
  margin-top: 8px;
}

.about-promo-head {
  max-width: 860px;
  margin: 0 auto 12px;
  padding-inline: 16px;
  text-align: center;
}

.about-promo-head-title {
  margin: 0 0 8px;
  font-size: clamp(1.2rem, 2.4vw, 1.55rem);
  font-weight: 800;
  color: var(--dark);
}

.about-promo-head-desc {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--gray);
}

.about-promo-carousel {
  position: relative;
  overflow: hidden;
  border-block: 1px solid rgba(234, 179, 8, 0.24);
  background: linear-gradient(
    180deg,
    rgba(254, 249, 195, 0.42) 0%,
    rgba(255, 255, 255, 0.96) 100%
  );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 10px 36px -22px rgba(234, 179, 8, 0.4);
}

.about-promo-carousel-viewport {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 22px 58px 24px;
  direction: ltr;
  -webkit-overflow-scrolling: touch;
}

.about-promo-carousel-viewport::-webkit-scrollbar {
  display: none;
}

.about-promo-carousel-track {
  display: flex;
  align-items: stretch;
  gap: 18px;
  width: max-content;
  padding-inline: 18px;
}

.about-promo-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(234, 179, 8, 0.45);
  border-radius: 50%;
  color: var(--dark);
  background: linear-gradient(180deg, #fffef8 0%, #fef3c7 100%);
  box-shadow:
    0 8px 22px -10px rgba(15, 23, 42, 0.35),
    0 4px 14px rgba(234, 179, 8, 0.22);
  transform: translateY(-50%);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.about-promo-nav--prev {
  inset-inline-start: 12px;
  left: auto;
  right: auto;
}

.about-promo-nav--next {
  inset-inline-end: 12px;
  left: auto;
  right: auto;
}

html[dir="rtl"] .about-promo-nav--prev {
  right: 12px;
  left: auto;
}

html[dir="rtl"] .about-promo-nav--next {
  left: 12px;
  right: auto;
}

html[dir="ltr"] .about-promo-nav--prev {
  left: 12px;
  right: auto;
}

html[dir="ltr"] .about-promo-nav--next {
  right: 12px;
  left: auto;
}

.about-promo-nav-icon {
  width: 22px;
  height: 22px;
}

html[dir="rtl"] .about-promo-nav-icon {
  transform: scaleX(-1);
}

.about-promo-nav:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  box-shadow: none;
}

@media (hover: hover) {
  .about-promo-nav:not(:disabled):hover {
    transform: translateY(-50%) scale(1.06);
    box-shadow:
      0 12px 28px -10px rgba(15, 23, 42, 0.38),
      0 6px 18px rgba(234, 179, 8, 0.28);
  }
}

.about-promo-nav:focus-visible {
  outline: 2px solid rgba(234, 179, 8, 0.85);
  outline-offset: 2px;
}

.about-promo-card {
  flex-shrink: 0;
  width: 280px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow:
    0 10px 28px -16px rgba(15, 23, 42, 0.28),
    0 4px 14px rgba(234, 179, 8, 0.12);
}

.about-promo-card-shell {
  position: relative;
  height: 400px;
  border-radius: 18px;
  overflow: hidden;
  background: var(--dark);
}

.about-promo-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.45s ease, filter 0.35s ease;
  filter: sepia(0.1) saturate(1.06) brightness(0.96);
}

.about-promo-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.28) 0%,
    rgba(0, 0, 0, 0.18) 34%,
    rgba(0, 0, 0, 0.52) 72%,
    rgba(0, 0, 0, 0.72) 100%
  );
  pointer-events: none;
  transition: background 0.35s ease;
}

.about-promo-card-body {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 12px 14px;
  box-sizing: border-box;
}

html[dir="rtl"] .about-promo-head,
html[dir="rtl"] .about-promo-card-body {
  direction: rtl;
  text-align: center;
}

html[dir="ltr"] .about-promo-card-body {
  direction: ltr;
  text-align: start;
}

.about-promo-city-box {
  flex-shrink: 0;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px) saturate(1.3);
  -webkit-backdrop-filter: blur(12px) saturate(1.3);
  text-align: center;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    0 4px 14px rgba(0, 0, 0, 0.16);
}

.about-promo-card-title {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 900;
  color: #fff;
  line-height: 1.35;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

.about-promo-summary {
  margin: 0;
  flex-shrink: 0;
  font-size: 0.76rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.96);
  text-align: center;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}

.about-promo-options {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: auto;
}

.about-promo-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(14px) saturate(1.35);
  -webkit-backdrop-filter: blur(14px) saturate(1.35);
  text-decoration: none;
  color: inherit;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.42),
    0 4px 18px rgba(0, 0, 0, 0.14);
  transition:
    border-color 0.22s ease,
    background-color 0.22s ease,
    box-shadow 0.22s ease,
    transform 0.22s ease;
}

.about-promo-option-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  min-width: 0;
}

.about-promo-option-label {
  font-size: 0.74rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.98);
  line-height: 1.35;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
}

.about-promo-option-stars {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.6px;
  color: #fde68a;
  direction: ltr;
  line-height: 1;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.4);
}

.about-promo-option-price {
  flex-shrink: 0;
  font-size: 0.7rem;
  font-weight: 700;
  color: #fde68a;
  line-height: 1.3;
  white-space: nowrap;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
}

@media (hover: hover) {
  .about-promo-card:hover .about-promo-photo {
    transform: scale(1.05);
    filter: sepia(0.1) saturate(1.04) brightness(1);
  }

  .about-promo-card:hover .about-promo-overlay {
    background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.22) 0%,
      rgba(0, 0, 0, 0.16) 34%,
      rgba(0, 0, 0, 0.58) 72%,
      rgba(0, 0, 0, 0.78) 100%
    );
  }

  .about-promo-option:hover {
    border-color: rgba(255, 255, 255, 0.62);
    background: rgba(255, 255, 255, 0.26);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.55),
      0 6px 20px rgba(0, 0, 0, 0.18);
    transform: translateY(-1px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-promo-carousel-viewport {
    scroll-behavior: auto;
  }

  .about-promo-photo,
  .about-promo-overlay,
  .about-promo-option {
    transition: none;
  }
}

/* ===== Currency ===== */
.currency,
.footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(ellipse 115% 82% at 100% 0%, rgba(234, 179, 8, 0.15) 0%, transparent 54%),
    radial-gradient(ellipse 92% 72% at 0% 100%, rgba(253, 224, 71, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse 48% 40% at 58% 38%, rgba(255, 255, 255, 0.04) 0%, transparent 62%),
    linear-gradient(168deg, var(--footer-gray-light) 0%, var(--footer-gray) 44%, var(--footer-gray-deep) 100%);
  background-repeat: no-repeat;
  background-size: cover;
  box-shadow: inset 0 1px 0 rgba(253, 224, 71, 0.2);
}

.currency::before,
.footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 18%, rgba(253, 224, 71, 0.08) 0%, transparent 28%),
    radial-gradient(circle at 14% 82%, rgba(234, 179, 8, 0.06) 0%, transparent 32%),
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: auto, auto, 48px 48px, 48px 48px;
  pointer-events: none;
  z-index: 0;
}

.currency::after,
.footer::after {
  content: '';
  position: absolute;
  top: -55%;
  inset-inline-end: -18%;
  width: min(72vw, 680px);
  height: 160%;
  border: 1px solid rgba(234, 179, 8, 0.12);
  border-radius: 50%;
  transform: rotate(-14deg);
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
  mask-image: linear-gradient(180deg, transparent 0%, #000 28%, #000 72%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 28%, #000 72%, transparent 100%);
}

.currency {
  padding: 40px 0;
}

.currency .container {
  position: relative;
  z-index: 1;
}

.currency-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
  margin-bottom: 16px;
}

.currency .section-tag {
  background: rgba(234, 179, 8, 0.15);
  color: var(--primary-light);
  margin-bottom: 10px;
  padding: 4px 12px;
  font-size: 0.8rem;
}

.currency .section-title {
  font-size: clamp(1.35rem, 3.2vw, 1.85rem);
  margin-bottom: 6px;
  line-height: 1.2;
}

a.section-tag-quiet {
  text-decoration: none;
  cursor: default;
}

a.section-tag-quiet,
a.section-tag-quiet:hover,
a.section-tag-quiet:focus,
a.section-tag-quiet:visited,
a.section-tag-quiet:active {
  color: var(--primary-light);
  text-decoration: none;
  outline: none;
  box-shadow: none;
}

.currency-info p {
  color: #c8c4bc;
  margin-top: 4px;
  font-size: 0.9rem;
  line-height: 1.45;
}

.currency-converter {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 14px 16px;
}

.converter-row {
  margin-bottom: 8px;
}

.converter-row label {
  display: block;
  font-size: 0.8rem;
  color: #c8c4bc;
  margin-bottom: 4px;
}

.converter-row select,
.converter-row input {
  width: 100%;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-family: var(--font);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
}

.converter-row select:focus,
.converter-row input:focus {
  border-color: var(--primary);
}

.converter-row select option {
  background: var(--footer-gray-deep);
}

.converter-result {
  text-align: center;
  padding: 8px 8px;
  background: rgba(234, 179, 8, 0.1);
  border-radius: var(--radius-sm);
  margin-top: 2px;
}

.result-label {
  display: block;
  font-size: 0.78rem;
  color: #c8c4bc;
  margin-bottom: 2px;
}

.result-value {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--primary-light);
  line-height: 1.15;
}

.result-unit {
  font-size: 0.82rem;
  color: #c8c4bc;
  margin-right: 4px;
}

.currency-rates {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.currency-rates--3 {
  grid-template-columns: repeat(3, 1fr);
  max-width: 720px;
  margin-inline: auto;
}

.rate-card {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.rate-card:hover {
  border-color: rgba(234, 179, 8, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.rate-flag { font-size: 1.25rem; }
.rate-name { font-weight: 600; flex: 1; font-size: 0.92rem; }
.rate-price { font-weight: 700; color: var(--primary-light); font-size: 0.92rem; font-variant-numeric: tabular-nums; }
.rate-unit { font-size: 0.72rem; color: #a8a49c; font-weight: 500; margin-inline-start: 2px; }

.currency--live .section-tag::after {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-inline-start: 6px;
  border-radius: 50%;
  background: #22c55e;
  vertical-align: middle;
  animation: currency-live-pulse 1.6s ease-in-out infinite;
}

.rate-card.is-live-updated {
  animation: rate-card-flash 0.55s ease;
}

@keyframes currency-live-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.88); }
}

@keyframes rate-card-flash {
  0% {
    border-color: rgba(234, 179, 8, 0.75);
    box-shadow: 0 0 0 0 rgba(234, 179, 8, 0.35);
  }
  100% {
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 10px rgba(234, 179, 8, 0);
  }
}

/* ===== Download CTA ===== */
.download-cta {
  padding: 36px 0;
  overflow: visible;
  background: linear-gradient(135deg, #fef9c3 0%, #fffbeb 50%, #ffffff 100%);
}

.download-cta.lazy-section {
  contain-intrinsic-size: auto 320px;
}

.download-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.download-text {
  flex: 1 1 auto;
  min-width: 0;
}

.download-text h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  margin-bottom: 6px;
  line-height: 1.2;
}

.download-text p {
  color: var(--gray);
  margin-bottom: 14px;
  line-height: 1.45;
}

.download-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

/* Download store buttons — shared square layout */
.appstore-button,
.playstore-button,
.download-io-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border: 3px solid var(--primary-dark);
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: 15px;
  gap: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 8px 28px rgba(234, 179, 8, 0.35);
  color: var(--dark);
  outline: 0;
}

.appstore-button svg,
.playstore-button-icon,
.download-io-button svg {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
}

.appstore-button svg path {
  fill: var(--dark);
  transition: var(--transition);
}

.download-io-button svg path:last-of-type {
  fill: var(--dark);
  transition: var(--transition);
}

.appstore-button-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  color: var(--dark);
  transition: var(--transition);
  line-height: 1.15;
}

.appstore-button-top {
  font-size: 0.8rem;
  font-weight: 600;
}

.appstore-button-bottom {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.appstore-button:hover,
.playstore-button:hover,
.download-io-button:hover {
  background: var(--white);
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(234, 179, 8, 0.45);
}

.appstore-button:hover .appstore-button-text {
  color: var(--dark);
}

.appstore-button:hover svg path {
  fill: var(--primary-dark);
}

.download-io-button:hover svg path:last-of-type {
  fill: var(--primary-dark);
}

.playstore-button-icon path {
  transition: filter var(--transition);
}

.playstore-button:hover .playstore-button-icon path {
  filter: brightness(1.06) saturate(1.08);
}

.download-io-button:active,
.playstore-button:active,
.appstore-button:active {
  transform: translateY(0);
}

.download-visual {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  align-self: center;
}

.download-visual:empty {
  display: none;
}

/* ===== Float actions — bottom-left stack (WhatsApp above scroll-top) ===== */
.float-actions-bottom-left {
  --float-btn-size: 50px;
  --float-btn-gap: 10px;
  position: fixed;
  left: 24px;
  bottom: 28px;
  z-index: 900;
  width: var(--float-btn-size);
  min-height: var(--float-btn-size);
  pointer-events: none;
  overflow: visible;
}

/* ===== Scroll to top — left corner (Uiverse.io by vinodjangid07) ===== */
.scroll-top-btn {
  position: absolute;
  left: 0;
  bottom: 0;
  width: var(--float-btn-size);
  height: var(--float-btn-size);
  border-radius: 50%;
  background: var(--dark);
  border: none;
  font-family: inherit;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 4px rgba(234, 179, 8, 0.28);
  cursor: pointer;
  transition: width 0.3s ease, border-radius 0.3s ease, background-color 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transform-origin: left center;
  flex-shrink: 0;
}

.scroll-top-btn.is-shown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  transform-origin: left center;
}

.scroll-top-btn[hidden] {
  display: none !important;
}

.scroll-top-btn-icon {
  width: 14px;
  height: auto;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.scroll-top-btn-icon path {
  fill: var(--white);
  transition: fill 0.3s ease;
}

.scroll-top-btn::before {
  position: absolute;
  bottom: -20px;
  content: "Back to Top";
  color: var(--dark);
  font-size: 0;
  opacity: 0;
  white-space: nowrap;
  transition: font-size 0.3s ease, opacity 0.3s ease, bottom 0.3s ease;
}

@media (hover: hover) {
  .scroll-top-btn:hover {
    width: 148px;
    border-radius: 50px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    box-shadow: 0 0 0 4px rgba(234, 179, 8, 0.4), 0 8px 24px rgba(234, 179, 8, 0.35);
  }

  .scroll-top-btn:hover .scroll-top-btn-icon {
    transform: translateY(-200%);
  }

  .scroll-top-btn:hover::before {
    font-size: 0.78rem;
    opacity: 1;
    bottom: unset;
  }

  .scroll-top-btn:hover .scroll-top-btn-icon path {
    fill: var(--dark);
  }
}

.scroll-top-btn:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

/* ===== WhatsApp float — above scroll-top, fixed position ===== */
.whatsapp-float-btn {
  position: absolute;
  left: 0;
  bottom: 0;
  width: var(--float-btn-size);
  height: var(--float-btn-size);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #25d366;
  color: #fff;
  border: none;
  box-shadow:
    0 0 0 3px rgba(37, 211, 102, 0.28),
    0 8px 24px rgba(37, 211, 102, 0.35);
  text-decoration: none;
  pointer-events: auto;
  transition: bottom 0.35s ease, transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
  -webkit-tap-highlight-color: transparent;
}

.float-actions-bottom-left:has(.scroll-top-btn.is-shown:not([hidden])) {
  min-height: calc(var(--float-btn-size) * 2 + var(--float-btn-gap));
}

.float-actions-bottom-left:has(.scroll-top-btn.is-shown:not([hidden])) .whatsapp-float-btn {
  bottom: calc(var(--float-btn-size) + var(--float-btn-gap));
}

.whatsapp-float-btn svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.whatsapp-float-btn svg path {
  fill: currentColor;
}

@media (hover: hover) {
  .whatsapp-float-btn:hover {
    background: #20bd5a;
    transform: translateY(-2px) scale(1.05);
    box-shadow:
      0 0 0 4px rgba(37, 211, 102, 0.38),
      0 12px 28px rgba(37, 211, 102, 0.42);
  }
}

.whatsapp-float-btn:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

@media (max-width: 768px) {
  .float-actions-bottom-left {
    --float-btn-size: 48px;
    --float-btn-gap: 8px;
    left: max(14px, env(safe-area-inset-left));
    bottom: max(20px, env(safe-area-inset-bottom));
  }

  .whatsapp-float-btn svg {
    width: 26px;
    height: 26px;
  }
}

/* ===== Floating QR — fixed, visible from page load ===== */
.floating-qr {
  position: fixed;
  right: 24px;
  bottom: 28px;
  z-index: 899;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
  transition:
    opacity 0.28s ease,
    transform 0.28s ease,
    visibility 0.28s ease;
}

.floating-qr.is-scroll-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(14px) scale(0.94);
}

.floating-qr.is-shown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.floating-qr.is-shown.is-scroll-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(14px) scale(0.94);
}

.floating-qr-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: inherit;
}

.floating-qr-frame {
  position: relative;
  padding: 8px;
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 251, 235, 0.98) 100%);
  border: 2px solid transparent;
  background-clip: padding-box;
  box-shadow:
    0 0 0 1px rgba(234, 179, 8, 0.35),
    0 8px 28px rgba(234, 179, 8, 0.22),
    0 4px 14px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.floating-qr-frame::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 18px;
  background: linear-gradient(135deg, #CA8A04 0%, #EAB308 45%, #FDE047 100%);
  z-index: -1;
}

.floating-qr-canvas {
  display: block;
  width: 108px;
  height: 108px;
  border-radius: 10px;
}

.floating-qr-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--dark);
  text-align: center;
  line-height: 1.25;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(234, 179, 8, 0.35);
  box-shadow: 0 2px 10px rgba(234, 179, 8, 0.12);
}

@media (hover: hover) {
  .floating-qr-link:hover .floating-qr-frame {
    transform: translateY(-3px) scale(1.02);
    box-shadow:
      0 0 0 1px rgba(234, 179, 8, 0.5),
      0 12px 32px rgba(234, 179, 8, 0.28),
      0 6px 18px rgba(0, 0, 0, 0.1);
  }
}

.floating-qr-link:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 4px;
  border-radius: 18px;
}

@media (max-width: 768px) {
  .floating-qr {
    right: max(12px, env(safe-area-inset-right));
    bottom: max(20px, env(safe-area-inset-bottom));
  }

  .floating-qr-canvas {
    width: 92px;
    height: 92px;
  }

  .floating-qr-label {
    font-size: 0.66rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .floating-qr {
    transition: opacity 0.2s ease, visibility 0.2s ease;
  }

  .floating-qr.is-scroll-hidden,
  .floating-qr.is-shown.is-scroll-hidden {
    transform: none;
  }

  .floating-qr,
  .floating-qr-frame {
    transition: none;
  }
}

/* ===== Footer ===== */
.footer {
  padding-top: 56px;
  --footer-text: #c8c4bc;
  --footer-heading: var(--primary-light);
  --footer-link-size: 0.9rem;
  --footer-link-height: 36px;
}

.footer-inner,
.footer-bottom {
  position: relative;
  z-index: 1;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 0.85fr) minmax(0, 0.85fr);
  gap: clamp(20px, 2.8vw, 36px);
  padding-bottom: 44px;
  align-items: start;
}

.footer-col {
  min-width: 0;
  text-align: start;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  grid-column: 1;
  grid-row: 1 / span 2;
}

.footer-brand .logo {
  display: inline-flex;
}

.footer .logo-text {
  color: var(--white);
}

.footer .logo:hover .logo-text {
  color: var(--primary-light);
}

.footer-brand-tagline {
  margin: 14px 0 0;
  color: var(--footer-text);
  font-size: var(--footer-link-size);
  line-height: 1.5;
  max-width: 32ch;
}

.footer-brand-partners {
  width: 100%;
  margin-top: 22px;
}

.footer-brand-partners-title {
  margin: 0 0 12px;
  font-size: var(--footer-link-size);
  font-weight: 700;
  color: var(--footer-heading);
  text-align: start;
}

.footer-brand-partners-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-brand-partners-grid .footer-partner-item {
  width: 102px;
  min-height: 68px;
  padding: 8px 6px;
  gap: 6px;
}

.footer-brand-partners-grid .footer-partner-name {
  font-size: 0.68rem;
  line-height: 1.3;
}

.footer-brand-partners-grid .footer-partner-item > img {
  height: 28px;
  max-width: 84px;
}

.footer-partner-item--visa > img {
  height: 22px;
  max-width: 56px;
}

.footer-partner-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 0 0 auto;
  width: 118px;
  min-height: 76px;
  padding: 10px 8px;
  border-radius: 12px;
  text-align: center;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(234, 179, 8, 0.14);
  box-shadow: 0 2px 8px rgba(234, 179, 8, 0.08);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition), background var(--transition);
}

.footer-partner-item:hover {
  background: #fff;
  border-color: rgba(234, 179, 8, 0.42);
  box-shadow: 0 6px 18px rgba(234, 179, 8, 0.18);
  transform: translateY(-2px);
}

.footer-partner-item--shab {
  background: #0a0a0a;
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.footer-partner-item--shab .footer-partner-name {
  color: #fff;
}

.footer-partner-item--shab:hover {
  background: #141414;
  border-color: rgba(234, 179, 8, 0.38);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}

.footer-partner-item--fly {
  background: linear-gradient(145deg, #0d9488 0%, #0891b2 100%);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 2px 10px rgba(8, 145, 178, 0.35);
}

.footer-partner-item--fly .footer-partner-name {
  color: #fff;
}

.footer-partner-item--fly:hover {
  background: linear-gradient(145deg, #0f766e 0%, #0e7490 100%);
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 6px 18px rgba(8, 145, 178, 0.45);
}

.footer-partners img {
  display: block;
  height: 32px;
  width: auto;
  max-width: 96px;
  object-fit: contain;
  transition: transform var(--transition);
}

.footer-partner-item--fly img {
  height: 40px;
  max-width: 40px;
  border-radius: 8px;
}

.footer-partner-name {
  display: block;
  width: 100%;
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--dark-3);
}

.footer-partner-item:hover img {
  transform: scale(1.04);
}

.footer-col h4 {
  margin: 0 0 14px;
  font-size: var(--footer-link-size);
  font-weight: 700;
  color: var(--footer-heading);
}

.footer-contact {
  grid-column: 3;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-contact .footer-col-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  width: 100%;
}

.footer-contact .footer-col-list a {
  display: inline-block;
  width: auto;
  max-width: 100%;
  min-height: auto;
  padding: 3px 0;
  line-height: 1.55;
}

.footer-contact .footer-col-list a[dir="ltr"] {
  direction: ltr;
  unicode-bidi: isolate;
  text-align: left;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.footer-owner-sites {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-owner-sites .footer-col-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  width: 100%;
}

.footer-owner-sites .footer-col-list a {
  display: inline-block;
  width: auto;
  max-width: 100%;
  min-height: auto;
  padding: 3px 0;
  line-height: 1.55;
}

.footer-owner-sites .footer-col-list a[dir="ltr"] {
  direction: ltr;
  unicode-bidi: isolate;
  text-align: left;
  white-space: nowrap;
}

.footer-address {
  grid-column: 2 / -1;
  grid-row: 2;
  align-self: start;
  margin-top: 2px;
}

.footer-address-line {
  margin: 0;
  display: flex;
  flex-wrap: nowrap;
  align-items: baseline;
  gap: 0.45em;
  color: var(--footer-text);
  font-size: var(--footer-link-size);
  line-height: 1.55;
  white-space: nowrap;
}

.footer-address-line strong {
  color: var(--footer-heading);
  font-weight: 700;
  flex: 0 0 auto;
}

.footer-address-text {
  color: var(--footer-text);
}

.footer-col-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-col-list a {
  display: block;
  min-height: var(--footer-link-height);
  padding: 4px 0;
  color: var(--footer-text);
  font-size: var(--footer-link-size);
  line-height: var(--footer-link-height);
  text-align: inherit;
  transition: var(--transition);
}

.footer-col-list a[dir="ltr"] {
  unicode-bidi: plaintext;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.footer-col-list a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.14) 100%);
}

.footer-bottom-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 16px 24px;
}

.footer-enamad {
  justify-self: start;
  line-height: 0;
}

.footer-enamad a {
  display: inline-block;
  border-radius: 8px;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.footer-enamad a:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.footer-enamad img {
  display: block;
  width: 80px;
  height: 80px;
  min-height: 80px;
  cursor: pointer;
  object-fit: contain;
  background: rgba(15, 23, 42, 0.05);
  border-radius: 8px;
  transition: opacity 0.2s ease;
}

.footer-enamad img.is-loaded {
  background: transparent;
}

.footer-bottom p {
  margin: 0;
  justify-self: end;
  text-align: end;
  font-size: var(--footer-link-size);
  line-height: 1.5;
  color: #a8a49c;
}

@media (max-width: 992px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 36px;
    justify-items: center;
  }

  .footer-col {
    width: 100%;
    max-width: min(520px, 100%);
    text-align: center;
  }

  .footer-brand {
    align-items: center;
    grid-column: auto;
    grid-row: auto;
  }

  .footer-brand .logo {
    justify-content: center;
  }

  .footer-brand-tagline {
    max-width: none;
    margin-inline: auto;
  }

  .footer-brand-partners {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-brand-partners-title {
    text-align: center;
  }

  .footer-brand-partners-grid {
    justify-content: center;
    max-width: min(520px, 100%);
  }

  .footer-col h4 {
    margin-bottom: 10px;
  }

  .footer-contact {
    align-items: center;
    grid-column: auto;
    grid-row: auto;
  }

  .footer-contact .footer-col-list {
    align-items: center;
  }

  .footer-owner-sites {
    align-items: center;
    grid-column: auto;
    grid-row: auto;
  }

  .footer-owner-sites .footer-col-list {
    align-items: center;
  }

  .footer-address {
    grid-column: auto;
    grid-row: auto;
    text-align: center;
    width: 100%;
    max-width: min(520px, 100%);
    margin-top: 0;
  }

  .footer-address-line {
    flex-wrap: wrap;
    justify-content: center;
    white-space: normal;
    text-align: center;
  }
}

@media (min-width: 600px) and (max-width: 992px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    justify-items: stretch;
  }

  .footer-brand {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .footer-address {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .footer-col {
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .footer-partner-item:hover {
    transform: none;
  }

  .footer-partner-item:hover img {
    transform: none;
  }
}

@media (max-width: 768px) and (hover: none) {
  .footer {
    --footer-link-height: 44px;
  }

  .footer-partner-item {
    width: 104px;
    min-height: 68px;
    padding: 8px 6px;
  }
}

@media (max-width: 360px) {
  .footer-partner-item {
    width: 96px;
    min-height: 64px;
    padding: 8px 5px;
  }

  .hero-bottom-row {
    --hero-spacer-h: 44px;
  }

  .footer-partners-title {
    font-size: 0.82rem;
  }
}

@media (max-width: 480px) {
  .footer-bottom {
    padding-bottom: max(20px, env(safe-area-inset-bottom));
  }

  .footer-bottom-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .footer-enamad {
    justify-self: center;
  }

  .footer-bottom p {
    justify-self: center;
    text-align: center;
  }
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .hero-content,
  .about-inner,
  .currency-box {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-desc,
  .section-header .section-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-text {
    align-items: center;
  }

  .hero-buttons {
    justify-content: center;
    margin-inline: auto;
  }

  .hero-stats--en {
    margin-inline: auto;
    justify-content: center;
    width: 100%;
    max-width: 440px;
    transform: none;
    translate: none;
    box-sizing: border-box;
  }

  .about-services {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .about-visual {
    padding-top: 24px;
  }

  .currency-rates {
    grid-template-columns: repeat(2, 1fr);
  }

  .download-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .menu-toggle { display: flex; }
}
