/* Easy Fly marketing — layout mirrored from I Need Help; brand sky #1cbafd */
:root {
  --sky: #1cbafd;
  --sky-deep: #0ea5e9;
  --sky-light: #4fc9ff;
  --muted: rgba(255, 255, 255, 0.85);
  --white: #ffffff;
  --page-pad: clamp(2rem, 4.5vw, 4rem);
  --font-he: "Heebo", system-ui, sans-serif;
  --font-en: "Sora", system-ui, sans-serif;
  --badge-h: 48px;
}

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

html,
body {
  margin: 0;
  height: 100%;
  overflow: hidden;
  font-family: var(--font-en);
  font-weight: 400;
  color: var(--white);
  background: var(--sky);
}

html[lang="he"],
html[lang="he"] body {
  font-family: var(--font-he);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.page {
  position: relative;
  height: 100svh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.page-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 85% 20%, rgba(255, 255, 255, 0.18), transparent 55%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(14, 165, 233, 0.35), transparent 60%),
    linear-gradient(145deg, #12b0f5 0%, var(--sky) 45%, #0ea5e9 100%);
  z-index: 0;
}

/* Same strip style as footer, a bit taller */
.top-bar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem var(--page-pad);
  background: rgba(0, 0, 0, 0.18);
  direction: ltr;
}

.app-icon {
  width: 66px;
  height: 66px;
  border-radius: 22%;
  object-fit: cover;
  background: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  flex-shrink: 0;
  margin-left: 100px;
}

.lang-bar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem;
  direction: ltr;
  margin-left: auto;
  margin-right: 100px;
}

.lang-btn {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: transparent;
  color: rgba(255, 255, 255, 0.75);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.lang-btn:hover {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.8);
}

.lang-btn.is-active {
  background: rgba(255, 255, 255, 0.22);
  color: var(--white);
  border-color: var(--white);
  font-weight: 600;
}

.top {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: clamp(0.25rem, 0.8vh, 0.55rem) var(--page-pad) 0.15rem;
  animation: fadein 0.7s ease both;
  flex-shrink: 0;
}

.brand {
  margin: 0 0 0.25rem;
  font-family: var(--font-en);
  font-weight: 800;
  font-size: clamp(1.75rem, 3.6vw, 2.7rem);
  letter-spacing: 0.02em;
  line-height: 1.1;
  color: var(--white);
}

.top h1 {
  margin: 0;
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  font-weight: 700;
  line-height: 1.3;
  color: var(--white);
}

.layout {
  position: relative;
  z-index: 1;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: clamp(2rem, 4vw, 3.5rem);
  padding: clamp(0.25rem, 1vh, 0.7rem) var(--page-pad) 0.25rem;
  overflow: hidden;
  min-height: 0;
}

/* LTR (EN/ES): text left, phone right — clear gap, no overlap */
html[dir="ltr"] .copy-col {
  position: relative;
  left: -100px;
  right: 0;
  flex: 1 1 28rem;
  max-width: min(32rem, 42vw);
  text-align: left;
  animation: fadein 0.75s ease both;
}

html[dir="ltr"] .slider-wrap {
  position: relative;
  left: 100px;
  right: 0;
  flex: 0 0 auto;
}

html[dir="ltr"] .lead,
html[dir="ltr"] .bullets,
html[dir="ltr"] .closing {
  font-size: clamp(0.84rem, 1.1vw, 0.98rem);
  line-height: 1.48;
}

html[dir="ltr"] .top h1 {
  font-size: clamp(0.98rem, 1.85vw, 1.35rem);
}

/* RTL (HE): real flex gap — left offsets were clipped and text looked stuck */
html[dir="rtl"] .layout {
  gap: 250px;
  overflow: visible;
}

html[dir="rtl"] .copy-col {
  position: relative;
  left: 0;
  right: 0;
  flex: 0 1 32rem;
  max-width: min(32rem, 40vw);
  text-align: right;
  animation: fadein 0.75s ease both;
}

html[dir="rtl"] .slider-wrap {
  position: relative;
  left: 0;
  right: 0;
  flex: 0 0 auto;
}

.lead {
  margin: 0 0 0.5rem;
  font-size: clamp(0.92rem, 1.25vw, 1.08rem);
  font-weight: 400;
  line-height: 1.5;
  opacity: 0.96;
  color: var(--white);
}

.bullets {
  margin: 0 0 0.5rem;
  padding: 0;
  list-style: disc;
  font-size: clamp(0.88rem, 1.15vw, 1rem);
  font-weight: 400;
  line-height: 1.5;
  opacity: 0.96;
  color: var(--white);
}

html[dir="ltr"] .bullets {
  padding-left: 1.25rem;
}

html[dir="rtl"] .bullets {
  padding-right: 1.25rem;
}

.bullets li {
  margin-bottom: 0.12rem;
  padding-inline-start: 0.15rem;
  font-weight: 400;
}

.closing {
  margin: 0.4rem 0 0;
  font-size: clamp(0.9rem, 1.2vw, 1.05rem);
  font-weight: 400;
  line-height: 1.5;
  color: var(--white);
  opacity: 0.96;
}

.closing-strong {
  font-weight: 700;
}

.copy-col strong {
  font-weight: 700;
}

.slider-wrap {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 0;
  overflow: visible;
  animation: rise 0.8s ease both;
}

.iphone {
  position: relative;
  width: min(28vw, 260px, calc(min(58svh, 540px) * 389 / 800));
  aspect-ratio: 389 / 800;
  max-height: min(58svh, 540px);
  overflow: visible;
  filter: none;
}

.iphone-screen {
  position: absolute;
  z-index: 1;
  top: 1.75%;
  left: 4.37%;
  width: 91.26%;
  height: 96.5%;
  border-radius: 12.8% / 5.9%;
  overflow: hidden;
  background: #000;
}

.iphone-frame {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: fill;
  pointer-events: none;
  user-select: none;
}

.slider {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.55s ease;
  pointer-events: none;
}

.slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.slide img {
  width: 100%;
  height: 100%;
  max-width: none;
  border-radius: 0;
  object-fit: cover;
  object-position: center center;
  background: #1cbafd;
}

.dots {
  display: flex;
  gap: 0.45rem;
  margin-top: 0.75rem;
}

.dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
}

.dots button.is-active {
  background: var(--white);
  transform: scale(1.2);
}

.stores {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 1.25rem;
  padding: 0.55rem var(--page-pad) 0.85rem;
  animation: fadein 0.8s ease both;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  height: var(--badge-h);
  transition: transform 0.2s ease;
}

.store-badge:hover {
  transform: translateY(-2px);
}

.badge-img {
  height: var(--badge-h);
  width: auto;
  max-height: var(--badge-h);
  object-fit: contain;
}

.footer {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding: 1rem var(--page-pad) 1.1rem;
  background: rgba(0, 0, 0, 0.18);
  font-size: calc(0.9rem - 2pt);
  font-weight: 400;
  color: var(--white);
  direction: ltr;
}

.copyright {
  margin: 0 100px 0 0;
  opacity: 0.92;
  line-height: 1.5;
  color: var(--white);
  font-weight: 400;
  order: 2;
}

.legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  margin-left: 100px;
  order: 1;
}

.legal a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
  opacity: 0.92;
  line-height: 1.5;
  font-weight: 400;
}

.legal a:hover {
  opacity: 1;
}

@keyframes fadein {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 900px) {
  html,
  body {
    overflow: auto;
  }

  .page {
    height: auto;
    min-height: 100svh;
  }

  .layout {
    flex-direction: column;
    gap: 1.25rem;
    padding: 0.75rem var(--page-pad) 0.5rem;
  }

  .copy-col,
  html[dir="ltr"] .copy-col,
  html[dir="rtl"] .copy-col {
    max-width: none;
    width: 100%;
    left: 0;
    right: 0;
  }

  .slider-wrap,
  html[dir="ltr"] .slider-wrap,
  html[dir="rtl"] .slider-wrap {
    order: -1;
    left: 0;
    right: 0;
  }

  .iphone {
    width: min(58vw, 260px);
    max-height: 52svh;
  }

  .stores {
    padding-bottom: 1rem;
  }

  .footer {
    justify-content: center;
    text-align: center;
  }

  .app-icon,
  .lang-bar,
  .legal,
  .copyright {
    margin-left: 0;
    margin-right: 0;
  }

  .legal,
  .copyright {
    order: unset;
  }
}

@media (prefers-reduced-motion: reduce) {
  .slide {
    transition: none;
  }
}
