* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  background-color: #94c82b;
  font-family: Arial, Helvetica, sans-serif;
  background-image: url("./assets/bg-effect.svg");
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 100vh;
}

/* ── page wrapper ── */
.page {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 1.5rem 4rem;
}

/* ── hero ── */
.logo {
  height: 5rem;
  object-fit: contain;
  margin-top: 3rem;
}
.hero-title {
  color: #fff;
  font-size: 2rem;
  text-align: center;
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  line-height: 1.3;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
}
.presenting-img {
  height: 20rem;
  object-fit: contain;
  margin-bottom: 3.5rem;
  filter: drop-shadow(0 12px 32px rgba(0, 0, 0, 0.18));
  -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
}

/* ── section label ── */
.section-label {
  color: #fff;
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 2rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
}

/* ── cards row ── */
.apps {
  display: flex;
  gap: 2rem;
  justify-content: center;
  align-items: stretch;
  width: 100%;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
}

/* ── card ── */
.app-card {
  flex: 1 1 300px;
  max-width: 420px;
  background: #fff;
  border-radius: 28px;
  padding: 2rem 1.75rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.14);
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.55s ease,
    transform 0.55s ease,
    box-shadow 0.25s ease;
}
.app-card.visible {
  opacity: 1;
  transform: translateY(0);
}
.app-card:hover {
  box-shadow: 0 16px 56px rgba(0, 0, 0, 0.2);
}
.app-card:nth-child(2) {
  transition-delay: 0.12s;
}
.app-card h3 {
  color: #2d2d2d;
  font-size: 1.5rem;
  font-weight: 700;
}
.app-desc {
  color: #2d2d2d;
  font-size: 1rem;
  text-align: center;
  line-height: 1.5;
}

/* ── store badges ── */
.store-links {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}
.store-links a {
  line-height: 0;
  border-radius: 10px;
  transition:
    transform 0.18s ease,
    filter 0.18s ease;
}
.store-links a:hover {
  transform: scale(1.05);
  filter: brightness(1.08);
}
.store-links img {
  height: 2.6rem;
  object-fit: contain;
}
.store-links img.gplay {
  height: 3.8rem;
  margin: -0.6rem 0;
}

/* ── card divider ── */
.card-divider {
  width: 100%;
  height: 1px;
  background: rgba(0, 0, 0, 0.08);
  border-radius: 1px;
}

/* ── carousel ── */
.carousel {
  position: relative;
  width: 240px;
  user-select: none;

  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.25)) drop-shadow(0 8px 16px rgba(0, 0, 0, 0.2));
}
.carousel-frame {
  position: relative;
  width: 240px;
}
.carousel-frame img.frame {
  width: 100%;
  display: block;
  pointer-events: none;
  position: relative;
  z-index: 2;
}
.carousel-screens {
  position: absolute;
  top: 3.2%;
  left: 6%;
  width: 88%;
  height: 93.5%;
  overflow: hidden;
  border-radius: 28px;
  z-index: 1;
}
.carousel-island {
  position: absolute;
  top: calc(3.2% + 8px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  pointer-events: none;
  width: 80px;
}
.carousel-screens img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.carousel-screens img.active {
  opacity: 1;
}
.carousel-btn,
.carousel-dots {
  display: none;
}
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  background: rgba(255, 255, 255, 0.35);
  border: none;
  border-radius: 50%;
  width: 2rem;
  height: 2rem;
  font-size: 1rem;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  color: #fff;
  backdrop-filter: blur(4px);
  transition: background 0.2s;
}
.carousel-btn:hover {
  background: rgba(255, 255, 255, 0.55);
}
.carousel-btn.prev {
  left: -1.25rem;
}
.carousel-btn.next {
  right: -1.25rem;
}
.carousel-dots {
  gap: 0.4rem;
  justify-content: center;
  margin-top: 0.75rem;
}
.carousel-dots span {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  transition: background 0.2s;
  cursor: pointer;
}
.carousel-dots span.active {
  background: #ffffff;
}

/* ── contact ── */
.contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
}
.contact p {
  color: rgb(255, 255, 255);
  font-size: 1rem;
}
.contact a {
  color: #fff;
  font-weight: 700;
  font-size: 1.25rem;
  text-decoration: none;
  border-bottom: 2px solid rgba(255, 255, 255, 0.4);
  padding-bottom: 2px;
  transition: border-color 0.2s;
}
.contact a:hover {
  border-color: #fff;
}

@media (max-width: 700px) {
  .apps {
    flex-direction: column;
    align-items: center;
  }
  .app-card {
    max-width: 100%;
  }
  .hero-title {
    font-size: 1.6rem;
  }
}
