html {
  scroll-behavior: smooth;
  background-color: #ffffff;
}

body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: #ffffff;
  color: #1f2937;
}

/* Language Switcher Styles */
.language-switcher {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  /* Ensure it's always visible and on the right side */
}

.lang-dropdown {
  position: relative;
}

.lang-btn {
  background-color: #ffffff;
  border: 2px solid #4ed6cf;
  color: #1f2937;
  padding: 10px 15px;
  border-radius: 25px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  transition: all 0.3s ease;
  min-width: 120px;
}

.lang-btn:hover {
  background-color: #eafaf9;
  color: #1f2937;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(78, 214, 207, 0.25);
}

.lang-flag {
  font-size: 16px;
}

.lang-arrow {
  font-size: 10px;
  transition: transform 0.3s ease;
}

.lang-dropdown:hover .lang-arrow {
  transform: rotate(180deg);
}

.lang-options {
  position: absolute;
  top: 100%;
  right: 0;
  background-color: #ffffff;
  border: 2px solid #d1d5db;
  border-radius: 10px;
  padding: 8px 0;
  margin-top: 5px;
  min-width: 140px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
}

.lang-options.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-option {
  padding: 10px 15px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background-color 0.3s ease;
  font-size: 14px;
  color: #1f2937;
}

.lang-option:hover {
  background-color: #f3f4f6;
  color: #0f766e;
}

.lang-option:first-child {
  border-radius: 8px 8px 0 0;
}

.lang-option:last-child {
  border-radius: 0 0 8px 8px;
}

/* RTL Support for Arabic */
.rtl {
  direction: rtl;
  text-align: right;
}

/* Language switcher always stays on the right side */

/* Language dropdown always opens from the right side */

.rtl .footer-links a {
  margin: 0 0.5rem;
}

/* Mobile Responsive for Language Switcher */
@media (max-width: 768px) {
  .language-switcher {
    top: 10px;
    right: 10px;
  }
  
  /* Language switcher always stays on the right side */
  
  .lang-btn {
    padding: 8px 12px;
    min-width: 100px;
    font-size: 12px;
  }
  
  .lang-options {
    min-width: 120px;
  }
  
  .lang-option {
    padding: 8px 12px;
    font-size: 12px;
  }
  
  .footer-sections {
    flex-direction: column;
    gap: 0;
    align-items: stretch;
  }

  .footer-section {
    text-align: left;
    min-width: auto;
  }

  .footer-links {
    align-items: stretch;
  }
  
  .content-container {
    padding: 1.5rem;
    margin: 0 0.5rem;
  }
  
  .page-title {
    font-size: 2rem;
  }
  
  .content-section h2 {
    font-size: 1.3rem;
  }
  
  .content-section h3 {
    font-size: 1.1rem;
  }
  
  .content-section p,
  .content-section ul {
    font-size: 1rem;
  }
}

header {
  position: relative;
  text-align: center;
  padding: 4rem 1rem;
  background: url('assets/images/cover.jpg') center/cover no-repeat;
  overflow: hidden;
  border-radius: 0 0 1.25rem 1.25rem;
  box-shadow:
    0 4px 6px rgba(15, 23, 42, 0.06),
    0 14px 36px rgba(15, 23, 42, 0.14);
}

header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 0;
}

header::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 -28px 56px rgba(0, 0, 0, 0.12);
}

/* Index hero (.hero-bg + .hero-inner) — do not override stacking/sizing on every descendant */
header.hero::before,
header.hero::after {
  content: none;
  display: none;
}

.logo {
  width: 400px;
  height: auto;
}

header h1 {
  font-size: 5rem;
  margin-bottom: 0.5rem;
  font-weight: lighter;
}

header p#typing-text {
  font-size: 2.5rem;
  color: #4ed6cf;
  white-space: nowrap;
  overflow: hidden;
  border-right: 0.15em solid #4ed6cf;
  width: 0;
  animation: typing 4s steps(40, end) forwards, blink-caret 0.75s step-end infinite;
}

@keyframes typing {
  from { width: 0 }
  to { width: 100% }
}

@keyframes blink-caret {
  from, to { border-color: transparent }
  50% { border-color: #4ed6cf; }
}

/* ========== Index: Top nav, hero ========== */
.top-nav {
  --top-nav-pad-x: 1.5rem;
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1100px, calc(100% - 32px));
  max-width: calc(100vw - 16px);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 0.8rem var(--top-nav-pad-x) 0.8rem;
  background-color: rgba(13, 13, 13, 0.95);
  border: 1px solid #1f1f1f;
  border-radius: 9999px;
  min-height: 52px;
  box-sizing: border-box;
  backdrop-filter: blur(4px);
  transition: border-radius 0.25s ease, padding-bottom 0.25s ease;
}

.top-nav.top-nav--menu-open {
  border-radius: 22px;
  padding-bottom: 0.65rem;
}

.top-nav-inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-width: 0;
  gap: 0.75rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  min-width: 0;
  color: #fff;
  text-decoration: none;

  font-size: 0.8rem;
  font-weight: 100;

  transition: color 0.3s;
  letter-spacing: 0.02em;
}

.nav-brand > span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 1rem;
}

.nav-brand:hover {
  color: #4ed6cf;
}

.nav-logo-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-shrink: 0;
}

/* Language switcher inside index top bar (not fixed overlay) */
.lang-switcher-host .language-switcher {
  position: static;
  top: auto;
  right: auto;
  z-index: 1;
}

.top-nav .lang-btn {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
  padding: 0.35rem 0.65rem;
  min-width: auto;
  font-size: 0.95rem;
  font-weight: 500;
  color: #111827;
  border-radius: 9999px;
}

.top-nav .lang-btn:hover {
  background: #ffffff;
  color: #0f766e;
  border-color: #d1d5db;
  transform: none;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

.top-nav .lang-options {
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background-color: #ffffff;
}

/* Compact language in top bar: flag + En / Fr / Ar */
.top-nav .lang-btn.lang-btn--compact {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.55rem;
}

.top-nav .lang-btn.lang-btn--compact .lang-code {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* Index: in-page section menu + animated hamburger (Icon 2) */
.index-nav-wrap {
  position: relative;
  flex-shrink: 0;
}

.index-nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem;
  margin: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: 10px;
  color: inherit;
  line-height: 0;
}

.index-nav-toggle:focus-visible {
  outline: 2px solid #0f766e;
  outline-offset: 2px;
}

.index-section-menu {
  position: static;
  width: calc(100% + 2 * var(--top-nav-pad-x));
  max-width: none;
  margin: 0.5rem calc(-1 * var(--top-nav-pad-x)) 0;
  padding: 0.55rem var(--top-nav-pad-x) 0.15rem;
  box-sizing: border-box;
  background: transparent;
  border: none;
  border-top: 1px solid rgba(229, 231, 235, 0.85);
  border-radius: 0;
  box-shadow: none;
  z-index: 1;
  display: flex;
  flex-direction: column;
}

.index-section-menu[hidden] {
  display: none !important;
}

.index-section-menu:not([hidden]) {
  display: flex;
}

.index-section-menu a {
  display: block;
  padding: 0.55rem 0.35rem;
  color: #111827;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
}

.index-section-menu a:hover,
.index-section-menu a:focus-visible {
  background: rgba(243, 244, 246, 0.95);
  color: #0f766e;
}

.index-section-menu > .index-section-menu-external:first-child {
  border-top: none;
  margin-top: 0;
  padding-top: 0.55rem !important;
}

.index-section-menu-external {
  border-top: 1px solid rgba(229, 231, 235, 0.65);
  margin-top: 0.25rem;
  padding-top: 0.65rem !important;
}

.index-section-menu-external + .index-section-menu-external {
  border-top: none;
  margin-top: 0;
  padding-top: 0.5rem !important;
}

.menu-lang-block {
  margin-top: 0.5rem;
  padding: 0.65rem;
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.menu-lang-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  width: 100%;
  padding: 0.55rem 0.35rem;
  margin: 0;
  border: none;
  border-radius: 8px;
  background-color: #ffffff;
  color: #111827;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  text-align: start;
  transition: background 0.15s, color 0.15s;
}

.menu-lang-trigger:hover,
.menu-lang-trigger:focus-visible {
  background: rgba(243, 244, 246, 0.95);
  color: #0f766e;
  outline: none;
}

.menu-lang-trigger:focus-visible {
  outline: 2px solid #0f766e;
  outline-offset: 1px;
}

.menu-lang-flag {
  font-size: 1.15rem;
  line-height: 1;
  flex-shrink: 0;
}

.menu-lang-name {
  flex: 1;
  min-width: 0;
}

.menu-lang-chevron {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  color: #6b7280;
  line-height: 1;
  transition: transform 0.2s ease;
}

.menu-lang-chevron-icon {
  width: 0.95rem;
  height: 0.95rem;
  display: block;
  color: inherit;
}

.menu-lang-trigger:hover .menu-lang-chevron,
.menu-lang-trigger.is-open .menu-lang-chevron {
  color: #0f766e;
}

.menu-lang-trigger.is-open .menu-lang-chevron {
  transform: rotate(-180deg);
}

.menu-lang-sub {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.35rem 0 0.15rem 0.75rem;
  margin-top: 0.15rem;
}

.menu-lang-sub[hidden] {
  display: none !important;
}

.menu-lang-choice {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.5rem 0.35rem;
  margin: 0;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: #111827;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  text-align: start;
  transition: background 0.15s, color 0.15s;
}

.menu-lang-choice:hover,
.menu-lang-choice:focus-visible {
  background: rgba(243, 244, 246, 0.95);
  color: #0f766e;
}

.menu-lang-choice:focus-visible {
  outline: 2px solid #0f766e;
  outline-offset: 1px;
}

.menu-lang-choice-flag {
  font-size: 1.05rem;
  line-height: 1;
}

.rtl .menu-lang-trigger,
.rtl .menu-lang-choice {
  text-align: right;
}

.rtl .menu-lang-sub {
  padding-left: 0;
  padding-right: 0.75rem;
}

/* Icon 2 — compact six-bar hamburger → X (scoped to top nav) */
.top-nav #nav-icon2 {
  width: 22px;
  height: 20px;
  position: relative;
}

.top-nav #nav-icon2 span {
  display: block;
  position: absolute;
  height: 4px;
  width: 50%;
  background: #111827;
  opacity: 1;
  transform: rotate(0deg);
  transition: 0.25s ease-in-out;
}

.top-nav #nav-icon2 span:nth-child(even) {
  left: 50%;
  border-radius: 0 4px 4px 0;
}

.top-nav #nav-icon2 span:nth-child(odd) {
  left: 0;
  border-radius: 4px 0 0 4px;
}

.top-nav #nav-icon2 span:nth-child(1),
.top-nav #nav-icon2 span:nth-child(2) {
  top: 0;
}

.top-nav #nav-icon2 span:nth-child(3),
.top-nav #nav-icon2 span:nth-child(4) {
  top: 8px;
}

.top-nav #nav-icon2 span:nth-child(5),
.top-nav #nav-icon2 span:nth-child(6) {
  top: 16px;
}

.top-nav #nav-icon2.open span:nth-child(1),
.top-nav #nav-icon2.open span:nth-child(6) {
  transform: rotate(45deg);
}

.top-nav #nav-icon2.open span:nth-child(2),
.top-nav #nav-icon2.open span:nth-child(5) {
  transform: rotate(-45deg);
}

.top-nav #nav-icon2.open span:nth-child(1) {
  left: 2px;
  top: 2px;
}

.top-nav #nav-icon2.open span:nth-child(2) {
  left: calc(50% - 2px);
  top: 2px;
}

.top-nav #nav-icon2.open span:nth-child(3) {
  left: -50%;
  opacity: 0;
}

.top-nav #nav-icon2.open span:nth-child(4) {
  left: 100%;
  opacity: 0;
}

.top-nav #nav-icon2.open span:nth-child(5) {
  left: 2px;
  top: 11px;
}

.top-nav #nav-icon2.open span:nth-child(6) {
  left: calc(50% - 2px);
  top: 11px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #4ed6cf;
}

.rtl .top-nav-inner {
  flex-direction: row-reverse;
}

/* Hero (index only) */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 7.5rem 1.5rem 4rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  max-width: 1320px;
  width: 100%;
  margin: 0 auto;
}

.hero-copy {
  flex: 1;
  min-width: 0;
  text-align: left;
}

.hero-title {
  font-size: clamp(2.1rem, 4.8vw, 3.42rem);
  font-weight: 700;
  color: #0a0a0a;
  letter-spacing: 0.02em;
  margin: 0 0 1.2rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: clamp(1.2rem, 2.16vw, 1.44rem);
  font-weight: 400;
  color: #f4f6f8;
  line-height: 1.65;
  margin: 0 0 2.1rem;
  max-width: 43.2rem;
}

.hero-visual {
  flex: 0 1 42%;
  max-width: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Phone frame around hero screen recording */
.hero-phone-frame {
  width: 100%;
  max-width: 300px;
  aspect-ratio: 9 / 19.5;
  border-radius: 50px;
  overflow: hidden;
  background: #0a0a0a;
  border: 2px solid #1a1a1a;
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(78, 214, 207, 0.15);
}

.hero-phone-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
}

/* Agency index: copy left, preview + badges stacked on the right */
/* Wider column so the YouTube embed can scale up on large screens */
.agency-hero-right {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1 1 48%;
  max-width: min(800px, 100%);
  min-width: 0;
}

.agency-hero .agency-hero-badges-row {
  margin: 0;
  width: 100%;
  max-width: min(500px, 66vw);
  justify-content: center;
}

.agency-hero .agency-hero-badges-row .hero-download-badges {
  width: 100%;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  padding: 0.65rem 1rem;
  border-radius: 14px;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.2);
}

figure.hero-visual.agency-hero-visual {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  border: none;
  width: 100%;
  max-width: min(850px, 100%);
}

.agency-hero-preview-frame {
  width: 100%;
  max-width: 100%;
  border-radius: 28px;
  overflow: hidden;
  line-height: 0;
  background: #0f172a;
  box-shadow:
    0 24px 52px rgba(15, 23, 42, 0.22),
    0 0 0 1px rgba(78, 214, 207, 0.28);
}

/* Hero YouTube: relative box with explicit aspect ratio so iframe always has area to paint */
.agency-hero-preview-frame .video-section {
  margin: 0;
  padding: 0;
  background: transparent;
  border: none;
  text-align: start;
  width: 100%;
  display: block;
}

.agency-hero-preview-frame .video-container-main {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-height: 13rem;
  background: #000;
  overflow: hidden;
  border-radius: inherit;
  aspect-ratio: 16 / 9;
}

.agency-hero-preview-frame .video-container-main iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  z-index: 1;
}

/* No aspect-ratio (legacy): content-box + padding hack avoids 0-height border-box bugs */
@supports not (aspect-ratio: 16 / 9) {
  .agency-hero-preview-frame .video-container-main {
    box-sizing: content-box;
    height: 0;
    min-height: 0;
    padding-bottom: 56.25%;
    aspect-ratio: auto;
  }
}

.agency-hero-video-wrap {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 fallback when aspect-ratio is ignored */
  background: #000;
  overflow: hidden;
}

@supports (aspect-ratio: 16 / 9) {
  .agency-hero-video-wrap {
    height: auto;
    padding-bottom: 0;
    aspect-ratio: 16 / 9;
  }
}

.agency-hero-youtube {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.rtl .hero-inner {
  flex-direction: row-reverse;
}

.rtl .hero-copy {
  text-align: right;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.8rem;
}

.hero-get-app-row {
  align-items: flex-start;
}

/* Get App: single button grows smoothly; QR lives inside .hero-cta-main above the label row */
.hero-get-app-btn {
  overflow: hidden;
  text-align: center;
  transition:
    padding 0.5s cubic-bezier(0.4, 0, 0.2, 1),
    background-color 0.45s ease,
    color 0.45s ease,
    border-color 0.45s ease,
    box-shadow 0.45s ease,
    border-radius 0.45s ease,
    transform 0.25s ease,
    min-width 0.45s ease;
}

.hero-cta-main {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  min-width: 16rem;
  gap: 0;
}

.hero-qr-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  padding: 0;
  margin: 0;
  transition:
    max-height 0.55s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.45s ease,
    padding 0.45s ease,
    margin 0.45s ease;
}

.hero-get-app-btn.has-qr {
  background-color: #ffffff !important;
  color: #111827;
  border-color: #e5e7eb !important;
  min-width: 18.5rem;
  padding: 1.4rem 1.75rem 1.55rem;
  border-radius: 22px;
  box-shadow: 0 10px 32px rgba(15, 23, 42, 0.12);
}

.hero-get-app-btn.has-qr:hover {
  background-color: #fafafa !important;
  border-color: #d1d5db !important;
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.14);
}

.hero-get-app-btn.has-qr .hero-qr-inner {
  max-height: 336px;
  opacity: 1;
  padding: 0;
  margin: 0;
}

.hero-cta-label-row {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 1.35em;
  max-height: 4.25rem;
  opacity: 1;
  overflow: hidden;
  padding: 0.15rem 0;
  margin: 0;
  transition:
    max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.35s ease,
    padding 0.35s ease,
    margin 0.35s ease;
}

.hero-get-app-btn.has-qr .hero-cta-label-row {
  max-height: 0;
  min-height: 0;
  opacity: 0;
  padding: 0;
  margin: 0;
  pointer-events: none;
}

.hero-qr-inner img {
  display: block;
  width: 182px;
  height: auto;
  max-width: 100%;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 0;
  box-shadow: none;
  background: none;
  outline: none;
  object-fit: contain;
}

.hero-qr-caption {
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.35;
  color: #374151;
  max-width: 14rem;
}

.hero-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 1.25rem 2.6rem;
  min-width: 15rem;
  border-radius: 9999px;
  font-size: 1.375rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.hero-get-app-btn.hero-cta {
  flex-direction: column;
  align-items: stretch;
}

button.hero-cta,
a.hero-cta {
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  border-style: solid;
  box-sizing: border-box;
}

button.hero-cta-primary,
a.hero-cta-primary {
  border-width: 2px;
}

.hero-cta:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 3px;
}

.hero-cta .hero-cta-label {
  transition: opacity 0.2s ease;
}

/* Loading: three dots (same motion as get-app page), not a spinner ring */
.hero-cta-dots {
  display: none;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  pointer-events: none;
}

.hero-cta-dot {
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: #121212;
  flex-shrink: 0;
  animation: get-app-dot-bounce 1.05s ease-in-out infinite;
}

.hero-cta-dot:nth-child(2) {
  animation-delay: 0.15s;
}

.hero-cta-dot:nth-child(3) {
  animation-delay: 0.3s;
}

.hero-get-app-btn.is-loading .hero-cta-label {
  opacity: 0;
}

.hero-get-app-btn.is-loading .hero-cta-dots {
  display: inline-flex;
}

.hero-get-app-btn.has-qr .hero-cta-dot {
  background: #111827;
}

.hero-get-app-btn.is-loading.hero-cta-secondary .hero-cta-dot {
  background: #111827;
}

.hero-cta-primary {
  background-color: #4ed6cf;
  color: #121212;
  border: 2px solid #4ed6cf;
}

.hero-cta-primary:hover {
  background-color: #ffffff;
  border-color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(78, 214, 207, 0.35);
}

.hero-cta-secondary {
  background-color: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.55);
}

.hero-cta-secondary:hover {
  border-color: #4ed6cf;
  color: #4ed6cf;
  transform: translateY(-2px);
}

.hero-trust-line {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.88);
}

.hero-trust-line li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

/* ---------- Landing page (index) ---------- */
.landing-main {
  overflow-x: hidden;
}

.landing-section {
  padding: 4rem 1.25rem;
  scroll-margin-top: 5.5rem;
}

.landing-section-alt {
  background: linear-gradient(180deg, rgba(78, 214, 207, 0.06) 0%, transparent 100%);
}

.landing-wrap {
  max-width: 1100px;
  margin: 0 auto;
}

.landing-wrap-narrow {
  max-width: 720px;
}

.landing-section-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.landing-badge {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(78, 214, 207, 0.25), rgba(78, 214, 207, 0.08));
  border: 1px solid rgba(78, 214, 207, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Section titles on landing: neutral; brand teal reserved for primary CTAs / hero accents. */
.landing-h2 {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 700;
  color: #111827;
  letter-spacing: 0.02em;
}

.landing-h3 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  font-weight: 600;
  color: #111827;
}

.landing-lead {
  font-size: 1.1rem;
  line-height: 1.65;
  color: #374151;
  margin: 0 0 1.5rem;
  max-width: 52rem;
}

.landing-note {
  font-weight: 600;
  color: #111827;
  margin: 1rem 0 1.5rem;
}

.landing-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.75rem;
  border-radius: 9999px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.landing-btn-primary {
  background-color: #4ed6cf;
  color: #121212;
  border: 2px solid #4ed6cf;
}

.landing-btn-primary:hover {
  background-color: #3bc4bd;
  border-color: #3bc4bd;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(78, 214, 207, 0.3);
}

.landing-btn-secondary {
  background: transparent;
  color: #111827;
  border: 2px solid #4ed6cf;
}

.landing-btn-secondary:hover {
  background: rgba(78, 214, 207, 0.12);
  transform: translateY(-2px);
}

button.landing-btn {
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  text-align: center;
  border-style: solid;
}

.landing-btn.hero-get-app-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: stretch;
  box-sizing: border-box;
}

.download-btn-text-row {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

button.download-btn {
  cursor: pointer;
  font: inherit;
  color: inherit;
  border-style: solid;
  border-color: transparent;
}

.download-btn.hero-get-app-btn {
  flex-direction: column;
  align-items: stretch;
}

.download-btn.hero-get-app-btn .hero-cta-main {
  width: 100%;
}

.landing-grid {
  display: grid;
  gap: 1.5rem;
}

.landing-grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.landing-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.landing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.1);
}

.landing-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(78, 214, 207, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.landing-card p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.55;
  color: #4b5563;
}

.landing-steps {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.landing-step {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.25rem 1.5rem;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.05);
}

.landing-step-num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #4ed6cf;
  color: #121212;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.landing-step p {
  margin: 0.35rem 0 0;
  color: #4b5563;
  line-height: 1.55;
}

.landing-split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-bottom: 0.5rem;
}

.landing-panel {
  padding: 1.5rem;
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  background: #fff;
}

.landing-panel p {
  margin: 0;
  color: #4b5563;
  line-height: 1.55;
}

.landing-checklist {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.landing-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 1.05rem;
  color: #374151;
  line-height: 1.5;
}

/* Agency site index — about block (matches main landing theme) */
.landing-about-secondary {
  font-size: 1.05rem;
  line-height: 1.65;
  color: #4b5563;
  margin: -0.5rem 0 2rem;
  max-width: 52rem;
}

.agency-about-split {
  margin-bottom: 0.25rem;
}

.agency-about-steps-head {
  margin-top: 2rem;
}

#about .landing-lead a,
#about .landing-about-secondary a,
#about .landing-panel a {
  color: #0f766e;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(15, 118, 110, 0.35);
  transition: color 0.2s ease, border-color 0.2s ease;
}

#about .landing-lead a:hover,
#about .landing-about-secondary a:hover,
#about .landing-panel a:hover {
  color: #115e59;
  border-bottom-color: rgba(17, 94, 89, 0.55);
}

.agency-try-panel {
  margin-top: 0.25rem;
  border-inline-start: 4px solid #4ed6cf;
  background: linear-gradient(90deg, rgba(78, 214, 207, 0.1), #fff 18%);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
}

.rtl .agency-try-panel {
  background: linear-gradient(270deg, rgba(78, 214, 207, 0.1), #fff 18%);
}

#about .landing-step div > p:only-child {
  margin-top: 0;
}

/* Customer reviews — horizontal marquee */
.landing-reviews-sub {
  margin: -0.25rem 0 1.25rem;
  text-align: center;
  font-size: 1.05rem;
  color: #6b7280;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

/* Full-bleed marquee: do not use max-width: 100% here — it resolves against .landing-wrap
   (1100px) and prevents true edge-to-edge width on large desktops. */
.landing-reviews-viewport {
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  overflow: hidden;
  padding: 0.5rem 0 1rem;
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 2.5%,
    #000 97.5%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 2.5%,
    #000 97.5%,
    transparent
  );
}

.landing-reviews-track {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 1.25rem;
  width: max-content;
  animation: landing-reviews-marquee var(--landing-reviews-duration, 75s) linear infinite;
  will-change: transform;
}

.landing-reviews-track--paused {
  animation-play-state: paused;
}

.landing-reviews-marquee-interactive {
  cursor: pointer;
}

.landing-reviews-viewport:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 4px;
}

.landing-reviews-track--static {
  animation: none;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1rem;
  box-sizing: border-box;
}

.landing-reviews-track--static .landing-review-card {
  flex: 1 1 min(100%, 340px);
  max-width: 400px;
}

@keyframes landing-reviews-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .landing-reviews-track:not(.landing-reviews-track--static) {
    animation: none;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    scroll-snap-type: x mandatory;
    max-width: 100%;
    margin: 0 auto;
    width: 100%;
    flex-wrap: nowrap;
    justify-content: flex-start;
    -webkit-overflow-scrolling: touch;
  }

  .landing-reviews-viewport {
    mask-image: none;
    -webkit-mask-image: none;
    overflow-x: auto;
  }

  .landing-review-card {
    scroll-snap-align: start;
  }
}

.landing-review-card {
  flex: 0 0 auto;
  width: min(360px, 85vw);
  max-width: 360px;
  margin: 0;
  padding: 1.35rem 1.4rem 1.45rem;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #e5e7eb;
  box-shadow:
    0 4px 6px -1px rgba(15, 23, 42, 0.07),
    0 10px 24px -6px rgba(15, 23, 42, 0.12);
  box-sizing: border-box;
}

.landing-review-who {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
  text-align: left;
  margin-bottom: 0.65rem;
}

.landing-review-name {
  font-weight: 700;
  font-size: 1.05rem;
  color: #111827;
  line-height: 1.25;
}

.landing-review-country {
  font-size: 0.875rem;
  color: #6b7280;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.landing-review-flag {
  font-size: 1rem;
  line-height: 1;
}

.landing-review-stars {
  display: flex;
  align-items: center;
  gap: 0.12rem;
  margin: 0 0 0.65rem;
  font-size: 1rem;
  line-height: 1;
}

.landing-star {
  display: inline-block;
  line-height: 1;
  font-size: 1.05rem;
}

.landing-star--filled {
  color: #f59e0b;
}

.landing-star--empty {
  color: #d1d5db;
}

.landing-review-quote {
  margin: 0;
  padding: 0;
  border: none;
}

.landing-review-quote p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.58;
  color: #374151;
  font-style: italic;
}

.rtl .landing-review-who {
  text-align: right;
}

/* SVG-style icons (no emoji) */
.landing-icon {
  display: inline-block;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  background-color: #0f766e;
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
}

.landing-badge .landing-icon {
  width: 24px;
  height: 24px;
}

.landing-icon-check {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
}

.landing-icon-spark {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M12 2l1.5 4.5L18 8l-4.5 1.5L12 14l-1.5-4.5L6 8l4.5-1.5L12 2z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M12 2l1.5 4.5L18 8l-4.5 1.5L12 14l-1.5-4.5L6 8l4.5-1.5L12 2z'/%3E%3C/svg%3E");
}

.landing-icon-bolt {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M13 2L3 14h8l-1 8 10-12h-8l1-8z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M13 2L3 14h8l-1 8 10-12h-8l1-8z'/%3E%3C/svg%3E");
}

.landing-icon-coin {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm.31-8.86c-1.77-.45-2.34-.94-2.34-1.67 0-.84.79-1.43 2.1-1.43 1.38 0 1.9.66 1.94 1.64h1.71c-.05-1.34-.87-2.57-2.49-2.97V5H10.9v1.69c-1.51.32-2.72 1.3-2.72 2.81 0 1.79 1.49 2.69 3.66 3.21 1.95.46 2.34 1.15 2.34 1.87 0 .53-.39 1.45-2.1 1.45-1.6 0-2.23-.72-2.32-1.64H8.04c.1 1.7 1.36 2.66 2.86 2.97V19h2.34v-1.67c1.52-.29 2.72-1.16 2.73-2.77-.01-2.2-1.9-2.96-3.66-3.42z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm.31-8.86c-1.77-.45-2.34-.94-2.34-1.67 0-.84.79-1.43 2.1-1.43 1.38 0 1.9.66 1.94 1.64h1.71c-.05-1.34-.87-2.57-2.49-2.97V5H10.9v1.69c-1.51.32-2.72 1.3-2.72 2.81 0 1.79 1.49 2.69 3.66 3.21 1.95.46 2.34 1.15 2.34 1.87 0 .53-.39 1.45-2.1 1.45-1.6 0-2.23-.72-2.32-1.64H8.04c.1 1.7 1.36 2.66 2.86 2.97V19h2.34v-1.67c1.52-.29 2.72-1.16 2.73-2.77-.01-2.2-1.9-2.96-3.66-3.42z'/%3E%3C/svg%3E");
}

.landing-icon-camera {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M9 2L7.17 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2h-3.17L15 2H9zm3 15c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M9 2L7.17 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2h-3.17L15 2H9zm3 15c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5z'/%3E%3C/svg%3E");
}

.landing-icon-pin {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5S10.62 6.5 12 6.5s2.5 1.12 2.5 2.5S13.38 11.5 12 11.5z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5S10.62 6.5 12 6.5s2.5 1.12 2.5 2.5S13.38 11.5 12 11.5z'/%3E%3C/svg%3E");
}

.landing-icon-shield {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M12 1L3 5v6c0 5.55 3.84 10.74 9 12 5.16-1.26 9-6.45 9-12V5l-9-4zm0 10.99h7c-.53 4.12-3.28 7.79-7 8.94V12H5V6.3l7-3.11v8.8z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M12 1L3 5v6c0 5.55 3.84 10.74 9 12 5.16-1.26 9-6.45 9-12V5l-9-4zm0 10.99h7c-.53 4.12-3.28 7.79-7 8.94V12H5V6.3l7-3.11v8.8z'/%3E%3C/svg%3E");
}

.landing-icon-car {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M18.92 6.01C18.72 5.42 18.16 5 17.5 5h-11c-.66 0-1.21.42-1.42 1.01L3 12v8c0 .55.45 1 1 1h1c.55 0 1-.45 1-1v-1h12v1c0 .55.45 1 1 1h1c.55 0 1-.45 1-1v-8l-2.08-5.99zM6.5 16c-.83 0-1.5-.67-1.5-1.5S5.67 13 6.5 13s1.5.67 1.5 1.5S7.33 16 6.5 16zm11 0c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5zM5 11l1.5-4.5h11L19 11H5z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M18.92 6.01C18.72 5.42 18.16 5 17.5 5h-11c-.66 0-1.21.42-1.42 1.01L3 12v8c0 .55.45 1 1 1h1c.55 0 1-.45 1-1v-1h12v1c0 .55.45 1 1 1h1c.55 0 1-.45 1-1v-8l-2.08-5.99zM6.5 16c-.83 0-1.5-.67-1.5-1.5S5.67 13 6.5 13s1.5.67 1.5 1.5S7.33 16 6.5 16zm11 0c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5zM5 11l1.5-4.5h11L19 11H5z'/%3E%3C/svg%3E");
}

.landing-icon-box {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M21 16V8c0-1.1-.9-2-2-2h-1V4c0-1.1-.9-2-2-2H8c-1.1 0-2 .9-2 2v2H5c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2zM8 4h8v2H8V4zm8 11H8v-2h8v2zm0-4H8v-2h8v2z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M21 16V8c0-1.1-.9-2-2-2h-1V4c0-1.1-.9-2-2-2H8c-1.1 0-2 .9-2 2v2H5c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2zM8 4h8v2H8V4zm8 11H8v-2h8v2zm0-4H8v-2h8v2z'/%3E%3C/svg%3E");
}

.landing-icon-star {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z'/%3E%3C/svg%3E");
}

.landing-icon-chat {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M20 2H4c-1.1 0-2 .9-2 2v18l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm0 14H6l-2 2V4h16v12z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M20 2H4c-1.1 0-2 .9-2 2v18l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm0 14H6l-2 2V4h16v12z'/%3E%3C/svg%3E");
}

.landing-icon-map {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M20.5 3l-.16.03L15 5.1 9 3 3.36 4.9c-.21.07-.36.25-.36.48V20.5c0 .28.22.5.5.5l.16-.03L9 18.9l6 2.1 5.64-1.9c.21-.07.36-.25.36-.48V3.5c0-.28-.22-.5-.5-.5zM15 19l-6-2.11V5l6 2.11V19z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M20.5 3l-.16.03L15 5.1 9 3 3.36 4.9c-.21.07-.36.25-.36.48V20.5c0 .28.22.5.5.5l.16-.03L9 18.9l6 2.1 5.64-1.9c.21-.07.36-.25.36-.48V3.5c0-.28-.22-.5-.5-.5zM15 19l-6-2.11V5l6 2.11V19z'/%3E%3C/svg%3E");
}

.landing-icon-building {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M12 7V3H2v18h20V7H12zM6 19H4v-2h2v2zm0-4H4v-2h2v2zm0-4H4V9h2v2zm0-4H4V5h2v2zm4 12H8v-2h2v2zm0-4H8v-2h2v2zm0-4H8V9h2v2zm0-4H8V5h2v2zm10 12h-8v-2h2v-2h-2v-2h2v-2h-2V9h8v10zm-2-8h-2v2h2v-2zm0 4h-2v2h2v-2z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M12 7V3H2v18h20V7H12zM6 19H4v-2h2v2zm0-4H4v-2h2v2zm0-4H4V9h2v2zm0-4H4V5h2v2zm4 12H8v-2h2v2zm0-4H8v-2h2v2zm0-4H8V9h2v2zm0-4H8V5h2v2zm10 12h-8v-2h2v-2h-2v-2h2v-2h-2V9h8v10zm-2-8h-2v2h2v-2zm0 4h-2v2h2v-2z'/%3E%3C/svg%3E");
}

.landing-icon-quote {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M6 17h3l2-4V7H5v6h3zm8 0h3l2-4V7h-6v6h3z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M6 17h3l2-4V7H5v6h3zm8 0h3l2-4V7h-6v6h3z'/%3E%3C/svg%3E");
}

.hero-trust-line .landing-icon-check {
  background-color: #4ed6cf;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

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

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 768px) {
  .top-nav {
    --top-nav-pad-x: 1.15rem;
    top: max(8px, env(safe-area-inset-top, 0px));
    width: calc(100% - 24px);
    max-width: calc(100vw - 16px);
    padding: 0.65rem var(--top-nav-pad-x) 0.65rem;
    min-height: 52px;
    border-radius: 9999px;
  }

  .top-nav-inner {
    flex-wrap: nowrap;
    gap: 0.5rem;
  }
  .nav-right {
    gap: 0.75rem;
  }
  .nav-logo-img {
    width: 28px;
    height: 28px;
  }
  .nav-brand {
    font-size: 1.2rem;
  }
  .nav-links {
    gap: 0.85rem;
  }
  .nav-links a {
    font-size: 0.85rem;
  }
  .top-nav .lang-btn {
    padding: 0.28rem 0.5rem;
    min-width: auto;
    font-size: 0.85rem;
  }
  .hero {
    min-height: 75vh;
    padding: 5rem 1rem 3rem;
  }
  .hero-inner {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }
  /* RTL: override desktop row-reverse so hero stacks vertically on phones like EN/FR */
  .rtl .hero-inner {
    flex-direction: column;
  }
  .hero-copy {
    text-align: center;
  }
  .rtl .hero-copy {
    text-align: center;
  }
  .agency-hero-right,
  figure.hero-visual.agency-hero-visual,
  .agency-hero .agency-hero-badges-row {
    max-width: min(800px, 100%);
    flex: 1 1 auto;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-visual {
    flex: 1 1 auto;
    max-width: 280px;
  }
  .hero-phone-frame {
    max-width: 260px;
    border-radius: 30px;
    border-width: 3px;
  }
  .hero-cta-row {
    justify-content: center;
  }
  .hero-get-app-row {
    align-items: center;
  }
  .hero-trust-line {
    justify-content: center;
  }
}

/* Index: vertical stack of feature cards (no section background) */
.images-section {
  margin: 2.5rem 0 2rem;
  padding: 0 1rem;
  background: transparent;
}

.images-section-title {
  text-align: center;
  font-size: clamp(1.2rem, 4.2vw, 1.65rem);
  font-weight: 700;
  color: #111827;
  margin: 0 auto 0.35rem;
  padding: 0;
  max-width: 40rem;
  line-height: 1.25;
}

.images-section-sub {
  text-align: center;
  font-size: clamp(0.85rem, 2.8vw, 0.95rem);
  color: #6b7280;
  margin: 0 auto 1.25rem;
  padding: 0;
  max-width: 36rem;
  line-height: 1.45;
}

.images-feature-stack {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1.25rem;
  max-width: 42rem;
  margin: 0 auto;
  padding: 0;
}

/* Odd: text top, image bottom. Even: image top, text bottom (alternating stack). */
.image-feature-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.85rem;
  padding: 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  background: #ffffff;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.06);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.image-feature-card:nth-child(even) {
  flex-direction: column-reverse;
}

.image-feature-card:hover {
  border-color: #c4fcf8;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}

.image-feature-media {
  flex-shrink: 0;
  line-height: 0;
  background: transparent;
}

.image-feature-media img {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(52vw, 260px);
  object-fit: contain;
  object-position: center top;
  background: transparent;
  border-radius: 0.75rem;
}

.image-box-content {
  flex: 1 1 auto;
  min-width: 0;
  max-width: none;
}

.image-box-content h3 {
  color: #0f766e;
  margin: 0 0 0.4rem;
  font-size: clamp(1rem, 3.2vw, 1.15rem);
  font-weight: 700;
  line-height: 1.3;
}

.image-box-content p {
  color: #4b5563;
  font-size: clamp(0.88rem, 2.9vw, 0.98rem);
  line-height: 1.55;
  margin: 0;
}

/* Tablet+: odd = text left / image right; even = image left / text right */
@media (min-width: 640px) {
  .images-feature-stack {
    max-width: min(56rem, 100%);
    gap: 1.5rem;
  }

  .image-feature-card {
    flex-direction: row;
    align-items: center;
    gap: 1.25rem;
  }

  .image-feature-card:nth-child(even) {
    flex-direction: row-reverse;
  }

  .image-box-content {
    flex: 1 1 52%;
  }

  .image-feature-media {
    flex: 0 1 44%;
    max-width: 320px;
  }

  .image-feature-media img {
    max-height: 260px;
  }
}

@media (min-width: 900px) {
  .images-section {
    margin: 3rem 0 2.5rem;
    padding: 0 1.5rem;
  }

  .images-feature-stack {
    max-width: min(60rem, 100%);
  }

  .image-feature-media {
    max-width: 340px;
  }

  .image-feature-media img {
    max-height: 280px;
  }
}

/* RTL: swap row alternation so “zigzag” follows reading direction */
@media (min-width: 640px) {
  .rtl .image-feature-card:nth-child(odd) {
    flex-direction: row-reverse;
  }

  .rtl .image-feature-card:nth-child(even) {
    flex-direction: row;
  }
}


.download-section {
  text-align: center;
  margin: 3rem 1rem;
  scroll-margin-top: 5.5rem;
}

.download-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1rem;
}

.download-store-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.25rem 1.5rem;
  margin-top: 1.25rem;
}

.download-store-link {
  display: inline-block;
  line-height: 0;
  border-radius: 0.5rem;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.download-store-link:hover {
  transform: translateY(-2px);
  opacity: 0.92;
}

.download-store-link:focus-visible {
  outline: 3px solid #4ed6cf;
  outline-offset: 4px;
}

.download-store-badge {
  display: block;
  width: auto;
  height: clamp(44px, 9vw, 54px);
  max-width: min(200px, 46vw);
  object-fit: contain;
}

.download-btn {
  text-decoration: none;
  color: white;
  background-color: #4ed6cf;
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 160px;
}

.download-btn:hover {
  background-color: #4ed6cf;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 209, 178, 0.2);
}

.platform-icon {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
}

.download-btn:hover .platform-icon {
  transform: scale(1.2);
}

.download-btn span {
  font-weight: 500;
}

footer {
  text-align: center;
  padding: 2rem;
  background-color: #ffffff;
  color: #6b7280;
  font-size: 0.9rem;
  border-top: 1px solid #e5e7eb;
}

.footer-sections {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 2rem;
  margin-bottom: 2rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.footer-section {
  flex: 1;
  min-width: 250px;
  text-align: left;
}

.footer-section h4 {
  color: #000000;
  margin-bottom: 1rem;
  font-size: 1.1rem;
  font-weight: 600;
}

/* Footer: collapsible sections on small screens */
details.footer-accordion {
  margin: 0;
}

.footer-accordion-summary {
  list-style: none;
  cursor: pointer;
  user-select: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  padding: 0.65rem 0;
  margin: 0 0 0.25rem;
  text-align: left;
  box-sizing: border-box;
}

.footer-accordion-summary::-webkit-details-marker {
  display: none;
}

.footer-accordion-title {
  color: #000000;
  font-size: 1.1rem;
  font-weight: 600;
  flex: 1;
}

.footer-accordion-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  color: #111827;
}

/* Chevron icons (SVG data URIs) — closed: ▼, open: ▲ */
.footer-accordion-icon::before {
  content: "";
  display: block;
  width: 1.25rem;
  height: 1.25rem;
  background: center / contain no-repeat
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111827' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  transition: transform 0.2s ease, opacity 0.2s ease;
}

details.footer-accordion[open] .footer-accordion-icon::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111827' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 15l6-6 6 6'/%3E%3C/svg%3E");
}

.rtl .footer-accordion-summary {
  flex-direction: row-reverse;
}

.rtl .footer-accordion-title {
  text-align: right;
}

@media (max-width: 768px) {
  .footer-section {
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 0.25rem;
    margin-bottom: 0.25rem;
  }

  .footer-section:last-of-type {
    border-bottom: none;
  }

  details.footer-accordion:not([open]) .footer-links {
    display: none;
  }

  details.footer-accordion[open] .footer-links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    text-align: left;
    margin-bottom: 0.75rem;
  }

  .rtl details.footer-accordion[open] .footer-links {
    text-align: right;
  }

  .footer-sections {
    flex-direction: column;
    gap: 0;
    align-items: stretch;
  }
}

@media (min-width: 769px) {
  .footer-accordion-summary {
    pointer-events: none;
    cursor: default;
    padding: 0 0 0.75rem;
  }

  /* Chevron hidden on large screens; links always visible (see languages.js: details.open on wide) */
  .footer-accordion-icon,
  .footer-accordion-icon::before {
    display: none !important;
    content: none !important;
  }

  details.footer-accordion {
    border: none;
  }

  details.footer-accordion .footer-links {
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
  }
}

.footer-links {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  color: #111827;
  text-decoration: none;
  margin: 0;
  position: relative;
  transition: color 0.3s;
  padding: 0.25rem 0;
}

.footer-links a::after {
  content: '';
  position: absolute;
  width: 50%;
  height: 1px;
  bottom: -2px;
  left: 0;
  background-color: #4ed6cf;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.footer-links a:hover {
  color: #0f766e;
}

.footer-links a:hover::after {
  transform: scaleX(1);
}

.business-info {
  margin: 1.5rem 0;
  line-height: 1.6;
}

.business-info p {
  margin: 0.5rem 0;
}

.business-info a {
  color: #4ed6cf;
  text-decoration: none;
  transition: color 0.3s;
}

.business-info a:hover {
  color: #0f766e;
}

.copyright {
  margin-top: 1.5rem;
  color: #6b7280;
}

.early-access-section {
  text-align: center;
  padding: 4rem 1rem;
  margin-top: 4rem;
}

.early-access-content {
  max-width: 1000px;
  margin: 0 auto;
}

.early-access-content h2 {
  font-size: 3rem;
  color: #111827;
  margin-bottom: 1rem;
}

.early-access-content .subtitle {
  font-size: 1.5rem;
  color: #374151;
  margin-bottom: 2rem;
}

.get_started_btn {
  display: inline-block;
  background-color: #4ed6cf;
  color: white;
  text-decoration: none;
  padding: 1rem 2.5rem;
  border-radius: 2rem;
  font-size: 1.2rem;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 2px solid #4ed6cf;
}

.get_started_btn:hover {
  background-color: transparent;
  color: #4ed6cf;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(78, 214, 207, 0.2);
}

/* Content Page Styles */
.content-page {
  min-height: 60vh;
  /* Clear fixed home button (50px + 20px offset) + language switcher */
  padding: 5.75rem 1rem 2rem;
  background-color: #ffffff;
}

.content-container {
  max-width: 800px;
  margin: 0 auto;
  background-color: #ffffff;
  border-radius: 1rem;
  padding: 2rem;
  border: 1px solid #e5e7eb;
  box-shadow: 0 6px 24px rgba(15, 23, 42, 0.08);
}

/* Main document title only — section headings use neutral dark (see .content-section h2). */
.page-title {
  color: #4ed6cf;
  font-size: 2.5rem;
  margin-bottom: 2rem;
  text-align: center;
  font-weight: 600;
}

.content-section {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #e5e7eb;
}

.content-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.content-section h2 {
  color: #111827;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.content-section h3 {
  color: #111827;
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.content-section p {
  color: #374151;
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.content-section ul {
  color: #374151;
  font-size: 1.1rem;
  line-height: 1.6;
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.content-section li {
  margin-bottom: 0.5rem;
}

/* RTL Support for content section lists */
.rtl .content-section ul {
  margin-left: 0;
  margin-right: 1.5rem;
}

.content-section a {
  color: #4ed6cf;
  text-decoration: none;
  transition: color 0.3s;
}

.content-section a:hover {
  color: #0f766e;
  text-decoration: underline;
}

.content-section strong {
  color: #111827;
  font-weight: 600;
}

/* Home Button */
.home-button {
  position: fixed;
  left: 20px;
  top: 20px;
  z-index: 1000;
  background: linear-gradient(135deg, #4ed6cf, #2a9d8f);
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(78, 214, 207, 0.3);
  transition: all 0.3s ease;
  text-decoration: none;
}

.home-button:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(78, 214, 207, 0.4);
  background: linear-gradient(135deg, #2a9d8f, #4ed6cf);
}

.home-button::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, #4ed6cf, #2a9d8f, #4ed6cf);
  border-radius: 50%;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.home-button:hover::before {
  opacity: 1;
}

.home-icon {
  width: 24px;
  height: 24px;
  fill: white;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .home-button {
    left: 15px;
    top: 15px;
    width: 45px;
    height: 45px;
  }

  .home-icon {
    width: 20px;
    height: 20px;
  }

  .content-page {
    padding-top: 5rem;
  }

  .policy-content {
    padding-top: 5rem;
  }
}

/* Social Media Section */
.social-media-section {
  text-align: center;
  padding: 1.5rem 0;
  border-top: 1px solid #e5e7eb;
}

.social-media-section p {
  color: #111827;
  margin-bottom: 1rem;
  font-size: 1rem;
  font-weight: 500;
}

.social-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.social-icons a {
  display: inline-block;
  text-decoration: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.social-icons a:hover {
  transform: scale(1.1);
  opacity: 0.8;
}

.social-icons img {
  width: 24px;
  height: 24px;
  border-radius: 4px;
}

/* Policy Pages Styles */
.policy-content {
  max-width: 800px;
  margin: 2rem auto;
  padding: 5.75rem 2rem 2rem;
  background-color: #ffffff;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 6px 24px rgba(15, 23, 42, 0.08);
}

/* Policy / legal: brand color on the page title (h1) only; h2+ use neutral text. */
.policy-content h1 {
  color: #4ed6cf;
  margin-bottom: 2rem;
}

.policy-content h2 {
  color: #111827;
  margin: 2rem 0 1rem;
}

.policy-content p {
  margin-bottom: 1rem;
  line-height: 1.6;
  color: #374151;
}

.home-button {
  position: fixed;
  left: 20px;
  top: 20px;
  z-index: 1000;
  background: linear-gradient(135deg, #4ed6cf, #2a9d8f);
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(78, 214, 207, 0.3);
  transition: all 0.3s ease;
  text-decoration: none;
}

.home-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 209, 178, 0.4);
}

.home-icon {
  width: 24px;
  height: 24px;
  fill: white;
}

.effective-date {
  color: #6b7280;
  font-style: italic;
  margin-bottom: 2rem;
}

.responsibility-list {
  list-style-type: none;
  padding-left: 1rem;
}

.responsibility-list li {
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: 1.5rem;
}

.responsibility-list li::before {
  content: "•";
  color: #6b7280;
  position: absolute;
  left: 0;
}

/* RTL Support for responsibility lists */
.rtl .responsibility-list {
  padding-left: 0;
  padding-right: 1rem;
}

.rtl .responsibility-list li {
  padding-left: 0;
  padding-right: 1.5rem;
}

.rtl .responsibility-list li::before {
  left: auto;
  right: 0;
}

.refund-list {
  list-style-type: none;
  padding-left: 1rem;
}

.refund-list li {
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: 1.5rem;
}

.refund-list li::before {
  content: "•";
  color: #6b7280;
  position: absolute;
  left: 0;
}

/* RTL Support for lists */
.rtl .refund-list {
  padding-left: 0;
  padding-right: 1rem;
}

.rtl .refund-list li {
  padding-left: 0;
  padding-right: 1.5rem;
}

.rtl .refund-list li::before {
  left: auto;
  right: 0;
}

.refund-type {
  font-weight: bold;
  color: #111827;
}

/* Delete Account Page Styles */
.delete-account-page {
  padding: 40px 20px;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}

.delete-account-page .header {
  text-align: center;
  margin-bottom: 3rem;
}

.delete-account-page .header img {
  width: 200px;
  height: auto;
  margin-bottom: 1rem;
}

.delete-account-page h1 {
  color: #4ed6cf;
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.delete-account-page h2 {
  color: #111827;
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.delete-account-page section {
  margin-bottom: 2.5rem;
  background-color: #ffffff;
  padding: 2rem;
  border-radius: 1rem;
  border: 1px solid #e5e7eb;
  box-shadow: 0 6px 24px rgba(15, 23, 42, 0.08);
  transition: transform 0.3s ease;
}

.delete-account-page section:hover {
  transform: translateY(-2px);
}

.delete-account-page .contact-box {
  background-color: #f9fafb;
  padding: 1.5rem;
  border-left: 5px solid #4ed6cf;
  border-radius: 0.5rem;
  margin-top: 1rem;
  border: 1px solid #e5e7eb;
}

.delete-account-page .steps-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.delete-account-page .step {
  background-color: #f9fafb;
  padding: 1.5rem;
  border-radius: 0.5rem;
  border: 1px solid #e5e7eb;
}

.delete-account-page .step-number {
  display: inline-block;
  background-color: #4ed6cf;
  color: #121212;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  text-align: center;
  line-height: 30px;
  font-weight: bold;
  margin-right: 1rem;
}

.delete-account-page .step h3 {
  color: #111827;
  margin: 0 0 0.5rem 0;
  display: inline-block;
}

.delete-account-page ul {
  color: #374151;
  padding-left: 1.5rem;
}

.delete-account-page li {
  margin-bottom: 0.5rem;
}

.delete-account-page .warning-box {
  background-color: rgba(255, 193, 7, 0.1);
  border: 1px solid rgba(255, 193, 7, 0.3);
  padding: 1rem;
  border-radius: 0.5rem;
  margin: 1rem 0;
}

.delete-account-page .warning-box h4 {
  color: #ffc107;
  margin: 0 0 0.5rem 0;
}

.delete-account-page .warning-box p {
  color: #374151;
  margin: 0;
}

/* Mobile Responsive for Delete Account Page */
@media (max-width: 768px) {
  .delete-account-page {
    padding: 20px 15px;
  }
  
  .delete-account-page h1 {
    font-size: 2rem;
  }
  
  .delete-account-page h2 {
    font-size: 1.5rem;
  }
  
  .delete-account-page section {
    padding: 1.5rem;
  }
}

/* ========== White Theme Overrides ========== */
header:not(.hero)::before,
.hero-bg::after {
  background: rgba(255, 255, 255, 0.3);
}

header::after {
  box-shadow:
    inset 0 1px 0 rgba(255, 200, 255, 0.55),
    inset 0 -28px 56px rgba(15, 23, 42, 0.08);
}

header {
  box-shadow:
    0 4px 8px rgba(15, 23, 42, 0.06),
    0 18px 42px rgba(15, 23, 42, 0.1);
}

.hero-title {
  color: #0a0a0a;
  font-weight: 700;
}

.hero-subtitle {
  color: #f4f6f8;
  font-weight: 400;
}

.hero-cta-secondary {
  color: #111827;
  border-color: #4ed6cf;
}

.hero-trust-line {
  color: #4b5563;
}

.hero-qr-caption {
  color: #374151;
}

.hero-get-app-btn.has-qr .hero-qr-inner img {
  border: none;
  box-shadow: none;
  background: none;
}

.top-nav {
  background-color: rgba(255, 255, 255, 0.95);
  border-color: #e5e7eb;
  border-radius: 9999px;
}

.nav-brand,
.nav-links a,
.top-nav .lang-btn {
  color: #111827;
}

.nav-brand:hover,
.nav-links a:hover,
.top-nav .lang-btn:hover {
  color: #0f766e;
}

.image-box-content p,
.content-section p,
.content-section ul,
.delete-account-page ul,
.delete-account-page li,
.policy-content p {
  color: #374151;
}

.content-section strong,
.policy-content strong {
  color: #111827;
}

.content-page {
  background-color: #ffffff;
}

.content-container,
.policy-content,
.delete-account-page section {
  background-color: #ffffff;
  box-shadow: 0 6px 24px rgba(15, 23, 42, 0.08);
}

.delete-account-page .step,
.delete-account-page .contact-box {
  background-color: #f8fafc;
  border-color: #e5e7eb;
}

.social-media-section {
  border-top-color: #e5e7eb;
}

.social-media-section p {
  color: #111827;
}

footer {
  background-color: #ffffff;
  color: #6b7280;
  border-top: 1px solid #e5e7eb;
}

.footer-links a {
  color: #111827;
}

.footer-links a:hover {
  color: #0f766e;
}

@media (max-width: 768px) {
  footer .footer-section {
    border-bottom-color: #e5e7eb;
  }
}

/* ========== get-app.html (store redirect) — plain white page, black text/dots, no glass card ========== */
body.get-app-page {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  box-sizing: border-box;
  background: #ffffff;
  color: #111827;
}

.get-app-redirect {
  text-align: center;
  width: 100%;
  max-width: 22rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.get-app-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0;
  margin: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
}

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

.get-app-icon {
  display: block;
  width: 7rem;
  height: 7rem;
  max-width: 100%;
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
  background: none;
}

.get-app-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 1.25rem;
  margin-bottom: 1rem;
}

.get-app-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #000000;
  box-shadow: none;
  animation: get-app-dot-bounce 1.05s ease-in-out infinite;
}

.get-app-dot:nth-child(2) {
  animation-delay: 0.15s;
}

.get-app-dot:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes get-app-dot-bounce {
  0%,
  80%,
  100% {
    transform: translateY(0);
    opacity: 0.35;
  }
  40% {
    transform: translateY(-0.35rem);
    opacity: 1;
  }
}

.get-app-msg {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 500;
  color: #111827;
  letter-spacing: normal;
  line-height: 1.4;
  max-width: none;
  white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  .get-app-dot,
  .hero-cta-dot {
    animation: none;
    opacity: 1;
  }
}

/* ========== FAQs.html — fixed bottom bar (snackbar position) ========== */
body.faq-page .content-page {
  padding-bottom: 10.5rem;
}

.faq-app-actions {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9998;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem 1rem max(1rem, env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid #e5e7eb;
  box-shadow: 0 -8px 32px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(12px);
  pointer-events: none;
}

.faq-app-actions-inner {
  width: 100%;
  max-width: 26rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.45rem;
  pointer-events: auto;
}

.faq-app-actions-head {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  color: #111827;
  letter-spacing: 0.01em;
}

.faq-app-actions-sub {
  margin: 0 0 0.35rem;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.45;
  color: #6b7280;
  max-width: 22rem;
}

.faq-app-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.75rem 1.35rem 0.75rem 1.25rem;
  border-radius: 9999px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: #0f172a;
  background: linear-gradient(180deg, #5eead4 0%, #4ed6cf 100%);
  border: 2px solid rgba(45, 212, 191, 0.65);
  box-shadow: 0 4px 16px rgba(78, 214, 207, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.faq-app-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(78, 214, 207, 0.4);
}

.faq-app-btn:focus-visible {
  outline: 2px solid #0f766e;
  outline-offset: 3px;
}

.faq-app-btn-icons {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.faq-app-btn-icons img {
  display: block;
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.faq-lang-switch {
  margin: -0.5rem 0 1.5rem;
  text-align: center;
  font-size: 0.95rem;
}

.faq-lang-switch a {
  color: #4ed6cf;
  font-weight: 600;
  text-decoration: none;
}

.faq-lang-switch a:hover {
  text-decoration: underline;
}

.content-page .content-container .faq-lang-switch a {
  color: #0f766e;
}

.faq-item h2 {
  font-size: 1.2rem;
  line-height: 1.35;
}
