/* === Base === */
html {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}
body {
  margin: 0;
  font-family: 'Futura', sans-serif;
  color: #fff;
  background-color: #000;
  min-height: 100%;
  height: auto;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
.bg-image {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  object-fit: cover;
  height: 600vh; /* default for small screens */
}

@media (min-height: 800px) {
  .bg-image {
    height: 380vh;
  }
}
@media (min-height: 1000px) {
  .bg-image {
    height: 200vh;
  }
}
@media (min-height: 1300px) {
  .bg-image {
    height: 250vh;
  }
}

.menu {
  display: flex;
  justify-content: flex-end;
  padding: 20px 2%;
  position: fixed;
  top: 0;
  left: 0;
  width: 90%;
  max-width: 100vw;
  box-sizing: border-box;
  overflow-x: hidden;
  gap: 5%;
  z-index: 1000;
}
.menu a {
  display: inline-block;
  font-size: clamp(1rem, 2.5vw, 1.8rem);
  padding: 12px 20px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: clip;
  font-family: 'futura';
  max-width: 100%;
}
.menu a:hover {
  background-color: rgba(255, 255, 255, 0.14);
  padding: 12px 20px;
  border-radius: 15px;
  transform: scale(1.3);
}
.intro {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  padding: 3rem 5%;
  gap: 2rem;
  overflow-x: hidden;
  max-width: 100%;
}

.intro-content {
  flex: 1 1 45%;
  padding-left: 2%;
}

.screenshot-wrapper {
  flex: 1 1 45%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  position: relative;
  margin-top: 7rem;
  max-width: 100%;
  min-height: 350px;
}

.screenshot-container {
  position: relative;
  width: 100%;
  max-width: 400px;
  padding-top: 120%; /* maintains aspect ratio of the full image group */
}

.screenshot {
  position: absolute;
  border-radius: 20px;
  width: auto;
  height: auto;
  max-width: 100%;
  display: block;
}

.screenshot-1 {
  top: 0;
  left: 0;
  width: 60%;
  z-index: 1;
}

.screenshot-2 {
  top: 5%;
  left: 33%;
  width: 90%;
  z-index: 2;
}


/* Optional: Stack vertically on small screens */
@media (max-width: 768px) {
  .screenshot-wrapper {
    margin-top: 3rem;
    margin-bottom: 2rem;
  }

  .screenshot-container {
    max-width: 320px;
    aspect-ratio: 1 / 1.2;
  }

  .screenshot-1 {
    width: 65%;
    left: 5%;
  }

  .screenshot-2 {
    width: 80%;
    left: 25%;
    bottom: 8%;
  }
}

.logo {
  max-width: 80%;
  width: 400px;
  height: auto;
  margin-bottom: 30px;
}
.subtitle {
  font-size: 1.75rem;
  font-weight: 400;
  margin-bottom: 40px;
  max-width: 800px;
  color: #C7D9F3;
  font-family: 'futura';
}
.cta {
  display: inline-block;
  background-color: #9F6A91;
  color: #fff;
  font-weight: bold;
  border-radius: 40px;
  padding: 18px 32px;
  font-size: 1.5rem;
  margin-bottom: 20px;
  max-width: 450px;
  min-width: 240px;
  text-align: center;
  transition: transform 0.2s ease;
  font-family: 'futura';
}
.cta:hover {
  transform: scale(1.15);
}
.store-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
}
.store-links img {
  width: min(32vw, 260px);
  height: min(11vw, 92px);
  object-fit: contain;
  transition: transform 0.2s ease;
  max-width: 100%;
  max-height: 100px;
}
.store-links img:hover {
  transform: scale(1.15);
}
.feature-desktop {
  display: flex;
  justify-content: center;
  gap: 3vw;
  flex-wrap: nowrap;
  overflow: hidden;
}
.feature-carousel {
  display: none;
}
.features {
  padding: 60px 1ch;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 3vw;
  position: relative;
  height: 100vh;
}
.feature-card {
  flex: 0 0 clamp(221px, 21vw, 389px);
  border-radius: 20px;
  padding: clamp(28px, 5vw, 64px);
  text-align: center;
  transition: transform 0.2s ease;
}
.feature-card:hover {
  transform: scale(1.05);
}

.feature-image {
  background-color: #745A8B;
  border-radius: 20px;
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  margin-bottom: 10px;
}
.feature-heading {
  font-size: 2.25rem;
  font-weight: bold;
  margin: 1rem 0;
  color: #fff;
  max-width: 90%;
  font-family: 'futura';
}
.feature-description {
  font-size: 1.5rem;
  color: #C7D9F3;
  max-width: 90%;
  font-family: 'futura';
}
.carousel-dot-container {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
}
.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #ccc;
  opacity: 0.4;
  transition: opacity 0.2s ease;
  cursor: pointer;
}
.carousel-dot.active {
  opacity: 1;
  background-color: #fff;
}
.feature-carousel {
  display: none;
}

@media (max-width: 1100px) {
  .feature-desktop {
    display: none;
  }

  .feature-carousel {
    display: block;
  }

  .carousel-container {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    gap: 24px;
    padding: 20px 5%;
  }

  .carousel-container::-webkit-scrollbar {
    display: none;
  }

  .carousel-item {
    flex: 0 0 100%;
    scroll-snap-align: center;
    display: flex;
    justify-content: center;
  }

  .carousel-item .feature-card {
    width: 90%;
    max-width: 400px;
  }
}

.contact {
  padding: 60px 5%;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact-container {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  width: 100%;
  max-width: 1200px;
  gap: 40px;
}

.contact-left {
  flex: 1 1 40%;
  color: #fff;
}

.contact-left h2 {
  font-size: 3rem;
  margin-bottom: 12%;
  margin-top: 12%;
  font-family: 'futura';
}

.contact-left p {
  font-size: 1.5rem;
  color: #fff;
  font-family: 'futura';
}

.contact form {
  flex: 1 1 50%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 600px;
  width: 100%;
}
.contact input,
.contact textarea {
  border: none;
  border-radius: 28px;
  padding: 26px 22px;
  background-color: rgba(255,255,255,0.4);
  color: #fff;
  font-size: 1.5rem;
  backdrop-filter: blur(7px);
}
.contact input::placeholder,
.contact textarea::placeholder {
  color: #fff;
  font-size: 1.5rem;
  font-family: 'futura';
}
.contact textarea {
  resize: none;
  min-height: 120px;
}
.contact button {
  align-self: flex-start;
  background-color: #37316D;
  color: #fff;
  font-weight: bold;
  border-radius: 30px;
  padding: 12px 44px;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.2s ease;
  border: none; /* Add this line to remove the border */
  font-family: 'futura';
}
.contact button:hover {
  transform: scale(1.15);
}
footer {
  text-align: center;
  padding: 40px 20px;
  color: #888;
  font-size: 0.9rem;
}
.not-found-heading {
  font-size: 2.5rem;
  font-weight: bold;
  margin: 2rem 0 1rem;
}
