@import url("https://fonts.googleapis.com/css2?family=Heebo:wght@400;500;700;800;900&display=swap");

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  font-family: "Heebo", Arial, sans-serif;
  background: #05070b;
  color: #ffffff;
  overflow-x: hidden;
}

body {
  direction: rtl;
}

a {
  color: inherit;
}

.page-bg {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(
      circle at 20% 18%,
      rgba(255, 255, 255, 0.03),
      transparent 20%
    ),
    radial-gradient(
    circle at 78% 16%,
    rgba(255, 255, 255, 0.02),
    transparent 18%
  ),
    radial-gradient(
    circle at 50% 55%,
    rgba(91, 124, 255, 0.04),
    transparent 28%
  ),
    linear-gradient(180deg, #04060a 0%, #06090f 42%, #04060a 100%);
  z-index: -2;
}

.landing-page {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 36px 28px 96px;
}

.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(420px, 1fr) minmax(460px, 620px);
  align-items: center;
  justify-content: space-between;
  gap: 84px;
  padding-top: 10px;
  direction: ltr;
}

.hero-copy {
  max-width: 620px;
  padding-top: 0;
  transform: translateY(-40px);
  direction: rtl;
}

.brand-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
  width: 100%;
  text-align: center;
  direction: ltr;
}

.brand-logo {
  width: 110px;
  height: auto;
  margin-bottom: 2px;
}

.brand-name {
  font-size: 4.8rem;
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 0.9;
  color: #ffffff;
  text-align: center;
  margin-bottom: 8px;
}

.eyebrow {
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.62);
  font-weight: 700;
  font-size: 1.08rem;
  line-height: 1.5;
  letter-spacing: 0;
}

.hero h1 {
  margin: 0;
  font-size: clamp(3.2rem, 6.3vw, 6.2rem);
  line-height: 0.92;
  font-weight: 900;
  letter-spacing: -2.2px;
  color: #f5f7fb;
}

.hero h1 span {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  background: none;
  -webkit-background-clip: initial;
  -webkit-text-fill-color: initial;
  background-clip: initial;
}

.subtitle {
  margin: 30px 0 0;
  max-width: 590px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 1.18rem;
  font-weight: 500;
  line-height: 1.95;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 240px;
  padding: 19px 36px;
  border-radius: 999px;
  text-decoration: none;
  color: #05070b;
  font-weight: 900;
  font-size: 1.12rem;
  line-height: 1;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24);
  transition: transform 0.18s ease, opacity 0.18s ease, box-shadow 0.18s ease;
}

.download-btn:hover {
  transform: translateY(-2px);
  opacity: 0.94;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.apk-badge {
  padding: 13px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.72);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
}

.install-note {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.8;
}

.feature-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.feature-pills span {
  padding: 11px 15px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.055);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1;
}

.hero-visual {
  position: relative;
  min-height: 760px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 0px;
  direction: ltr;
}

.phone-stack {
  position: relative;
  width: min(100%, 760px);
  height: 760px;
  margin-top: 18px;
}

.phone-shot {
  position: absolute;
  border-radius: 38px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.48),
    0 0 0 1px rgba(255, 255, 255, 0.02);
}

.phone-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.shot-main {
  width: 330px;
  height: 670px;
  top: 34px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  animation: floatMain 6s ease-in-out infinite;
}

.shot-back-left {
  width: 250px;
  height: 520px;
  top: 122px;
  left: 34px;
  transform: rotate(-12deg);
  opacity: 0.82;
  z-index: 1;
  animation: floatLeft 7s ease-in-out infinite;
}

.shot-back-right {
  width: 250px;
  height: 520px;
  top: 112px;
  right: 34px;
  transform: rotate(11deg);
  opacity: 0.86;
  z-index: 2;
  animation: floatRight 7.5s ease-in-out infinite;
}

.highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 8px;
}

.highlight-card {
  position: relative;
  padding: 26px 24px 24px;
  border-radius: 28px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.03) 0%,
    rgba(255, 255, 255, 0.018) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    0 18px 40px rgba(0, 0, 0, 0.18);
  overflow: hidden;
}

.highlight-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 24px;
  width: 72px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #37e7d7 0%, #ff4db8 100%);
  opacity: 0.9;
}

.highlight-card h2 {
  margin: 10px 0 12px;
  font-size: 1.34rem;
  font-weight: 900;
  line-height: 1.2;
  color: #f8fafc;
  letter-spacing: -0.4px;
}

.highlight-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.8;
  font-size: 1rem;
  font-weight: 500;
}
.showcase {
  margin-top: 54px;
  display: grid;
  grid-template-columns: minmax(380px, 520px) minmax(420px, 1fr);
  gap: 42px;
  align-items: center;
}

.showcase-copy {
  padding: 8px 4px;
}

.section-tag {
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.48);
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: 0;
}

.showcase-copy h2 {
  margin: 0;
  font-size: clamp(2.4rem, 4.6vw, 4.2rem);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -1.4px;
  color: #f5f7fb;
}

.showcase-copy p {
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.95;
  font-size: 1.08rem;
  font-weight: 500;
}

.mini-steps {
  margin-top: 32px;
  display: grid;
  gap: 12px;
}

.mini-step {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  padding: 18px 20px;
  border-radius: 20px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.03) 0%,
    rgba(255, 255, 255, 0.018) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    0 14px 30px rgba(0, 0, 0, 0.18);
  text-align: right;
  flex-direction: row; /* חשוב */
}

.mini-step::before {
  content: "";
  position: absolute;
  top: 0;
  right: 20px;
  width: 56px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #37e7d7 0%, #ff4db8 100%);
  opacity: 0.9;
}

.mini-step strong {
  order: 1; /* המספר ראשון (ימין) */
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-size: 1rem;
  font-weight: 900;
}

.mini-step span {
  order: 2;
  flex: 1;
  text-align: right;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.5;
}

.showcase-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 18px;
  align-items: end;
}

.showcase-shot {
  border-radius: 32px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.065);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.38);
}

.showcase-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.showcase-shot.tall {
  height: 680px;
}

.showcase-shot.short {
  height: 560px;
  transform: translateY(34px);
}

.bottom-cta {
  margin-top: 72px;
}

.bottom-cta-box {
  position: relative;
  padding: 54px 30px;
  text-align: center;
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
  overflow: hidden;
}

.bottom-cta-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 260px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #37e7d7 0%, #ff4db8 100%);
  opacity: 0.95;
}

.bottom-cta-box h2 {
  margin: 0;
  font-size: clamp(2.3rem, 4vw, 4rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -1.4px;
}

.bottom-cta-box p {
  margin: 16px auto 0;
  max-width: 680px;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.9;
  font-size: 1.08rem;
  font-weight: 500;
}

.bottom-cta-box .download-btn {
  margin-top: 28px;
}

@keyframes floatMain {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(-12px);
  }
}

@keyframes floatLeft {
  0%, 100% {
    transform: rotate(-12deg) translateY(0);
  }
  50% {
    transform: rotate(-12deg) translateY(14px);
  }
}

@keyframes floatRight {
  0%, 100% {
    transform: rotate(11deg) translateY(0);
  }
  50% {
    transform: rotate(11deg) translateY(-12px);
  }
}

@media (max-width: 1180px) {
  .landing-page {
    padding: 28px 20px 84px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 20px;
    padding-top: 4px;
  }

  .hero-copy {
    max-width: 100%;
    text-align: center;
    margin: 0 auto;
  }

  .brand-row,
  .hero-actions,
  .feature-pills {
    justify-content: center;
  }

  .subtitle,
  .install-note {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-visual {
    min-height: 760px;
  }

  .highlights,
  .showcase {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .landing-page {
    padding: 0px 16px 72px;
  }

  .hero {
    gap: 10px;
  }

  .hero h1 {
    font-size: clamp(2.5rem, 10vw, 4.3rem);
    line-height: 0.98;
    letter-spacing: -1.6px;
  }

  .subtitle {
    font-size: 1rem;
    line-height: 1.85;
  }

  .hero-visual {
    min-height: 560px;
  }

  .phone-stack {
    width: 100%;
    height: 560px;
  }

  .shot-main {
    width: 220px;
    height: 450px;
    top: 36px;
  }

  .shot-back-left,
  .shot-back-right {
    width: 160px;
    height: 330px;
    top: 110px;
  }

  .shot-back-left {
    left: 0;
  }

  .shot-back-right {
    right: 0;
  }

  .highlight-card {
    padding: 26px 20px;
    border-radius: 22px;
  }

  .highlight-card h2 {
    font-size: 1.24rem;
  }

  .showcase-grid {
    grid-template-columns: 1fr;
  }

  .showcase-shot.tall,
  .showcase-shot.short {
    height: auto;
    transform: none;
  }

  .showcase-shot img {
    height: auto;
    object-fit: contain;
  }

  .download-btn {
    width: 100%;
    max-width: 340px;
  }

  .hero-actions {
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .brand-logo {
    width: 72px;
  }

  .brand-name {
    font-size: 2.6rem;
  }

  .eyebrow {
    font-size: 0.9rem;
  }

  .hero-visual {
    min-height: 500px;
  }

  .phone-stack {
    height: 500px;
  }

  .shot-main {
    width: 190px;
    height: 390px;
  }

  .shot-back-left,
  .shot-back-right {
    width: 132px;
    height: 270px;
    top: 110px;
  }

  .showcase-copy h2,
  .bottom-cta-box h2 {
    line-height: 1.08;
  }
}
@media (min-width: 821px) {
  .showcase-shot:has(img[src*="app-screen-5"]) {
    height: 760px;
    width: 110%;
  }
}

#rotating-text {
  display: block;
  min-height: 2.4em;
  line-height: 1.05;
  transition: opacity 0.25s ease;
}

@media (max-width: 520px) {
  #rotating-text {
    min-height: 2.6em;
  }
}
