/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  font-family: 'Segoe UI', sans-serif;
  background-color: #44A2B9;
  color: #333;
  overflow: auto;
}

/* Main section */
.hero-section {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-color: #44A2B9;
  padding-bottom: 100px; /* make room for footer */
}

/* Layout wrapper */
.hero-content {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 40px;
  padding: 40px;
  flex: 1;
  flex-wrap: nowrap;
}

/* Left column - 65% */
.left-column {
  flex: 0 0 65%;
  max-width: 65%;
  display: flex;
  align-items: center;
}

.combined-image img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  display: block;
}

/* Right column - 35% */
.right-column {
  flex: 0 0 35%;
  max-width: 35%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.content {
  display: flex;
  flex-direction: column;
  height: 100%;
  max-width: 400px;
  color: #fff;
}

/* Logo and app name */
.logo-title {
  display: flex;
  align-items: flex-end;
  gap: 10px;
}

.logo {
  width: clamp(40px, 10vw, 70px);
  height: auto;
  margin-bottom: 10px;
}

h1 {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(36px, 5vw, 56px);
  text-transform: none;
  margin: 0;
  color: #fff;
}

/* Tagline */
.tagline {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(24px, 6vw, 50px);
  text-transform: none;
  line-height: 1.1;
  color: #fff;
  margin-top: 20px;
  padding-bottom: 40px;
}

/* Spacer pushes CTA row down */
/* .cta-spacer {
  flex-grow: 1;
} */

/* CTA section */
.cta-section {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cta {
  font-size: clamp(20px, 4.5vw, 35px);
  font-weight: bold;
  margin: 0;
  padding-bottom: 20px;
  color: #fff;
}

/* Store buttons */
.store-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.store-buttons img {
  width: clamp(120px, 40vw, 180px);
  height: auto;
  transition: transform 0.3s ease;
}

.store-buttons img:hover {
  transform: scale(1.05);
}

/* Footer */
.footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.03);
  color: #e0f3fa;
  text-align: center;
  font-size: 0.9rem;
  padding: 15px 0;
  z-index: 1000;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 5px;
}

.footer-links a {
  color: #e0f3fa;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

/* CTA section default visibility */
.cta-section.mobile-only {
  display: none;
}


@media (max-width: 768px) {
  .right-column .cta-section {
    display: none; /* hide original on mobile */
  }

  .hero-content {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
  }

  .right-column {
    order: 1; 
    width: 100%;
    max-width: 100%;
    justify-content: flex-start;
    align-items: flex-start;
    text-align: left;
  }

.left-column {
   order: 3;
    width: 100%;
    max-width: 100%;
    justify-content: center;
  }
  
  .logo-title {
     order: 1;
    justify-content: flex-start;
  }

  .tagline {
     order: 2;
    text-align: left;
  }
.combined-image {
    order: 3;
    width: 100%;
  }

  .cta-spacer {
    flex-grow: 1;
  }

  .cta-section {
     order: 4;
    margin-top: auto;
    width: 100%;
    align-items: flex-start;
  }
.cta-section.mobile-only {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
    width: 100%;
    align-items: flex-start;
  }

  .store-buttons {
    justify-content: flex-start;
    flex-wrap: wrap;
  }
  .content {
     max-width: 100%;
    width: 100%;
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    height: auto;
  }
}
