/* ========================================
   WASH24H HOMEPAGE STYLES
   Mobile-First Responsive Design with BEM Methodology
   ======================================== */

/* ========================================
   RESET & BASE STYLES
   ======================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #333;
  background-color: #fff;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(180deg, #4ECDC4 0%, #44A5DE 100%);
  background-image: url("/assets/images/section-bg-mobile.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px 40px;
  overflow: hidden;
}

.hero__container {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero__logo {
  display: none; /* Hidden on mobile */
  width: 120px;
  height: 120px;
  margin: 0 auto 20px;
}

.hero__logo-image {
  width: 100%;
  height: 100%;
  background-image: url("/assets/images/logo-small.png");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.hero__title {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.2;
}

.hero__description {
  font-size: 14px;
  color: #fff;
  margin-bottom: 24px;
  line-height: 1.6;
  opacity: 0.95;
}

.hero__cta-button {
  display: inline-block;
  background: linear-gradient(90deg, #FF6B6B 0%, #FF8E53 100%);
  color: #fff;
  padding: 14px 32px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.hero__cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

.hero__brand {
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 40px;
  line-height: 1.2;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.hero__images {
  position: relative;
  width: 100%;
  height: 400px;
  margin-top: 40px;
}

.hero__image {
  position: absolute;
  width: 160px;
  height: 320px;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.hero__image--left {
  left: 0;
  top: 40px;
  background-image: url("/assets/images/screenshot1.png");
  z-index: 1;
}

.hero__image--center {
  left: 50%;
  transform: translateX(-50%);
  top: 0;
  background-image: url("/assets/images/screenshot2.png");
  z-index: 2;
}

.hero__image--right {
  right: 0;
  top: 40px;
  background-image: url("/assets/images/screenshot3.png");
  z-index: 1;
}

/* ========================================
   FEATURES SECTION
   ======================================== */
.features {
  padding: 60px 20px;
  background-color: #fff;
}

.features__container {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
}

.features__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.feature-card {
  text-align: center;
  padding: 20px;
}

.feature-card__icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-card__icon svg {
  width: 100%;
  height: 100%;
}

.feature-card__title {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin-bottom: 12px;
  line-height: 1.3;
}

.feature-card__description {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

/* ========================================
   DOWNLOAD SECTION
   ======================================== */
.download {
  position: relative;
  padding: 40px 20px 40px;
  background-color: rgb(255, 222, 89);
  text-align: center;
  overflow: hidden;
}

.download__container {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.download__content {
  width: 100%;
  text-align: center;
}

.download__title {
  font-size: 28px;
  font-weight: 700;
  color: rgb(238, 15, 111);
  margin-bottom: 16px;
  line-height: 1.2;
}

.download__description {
  font-size: 14px;
  color: rgb(238, 15, 111);
  margin-bottom: 30px;
  line-height: 1.6;
}

.download__badges {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
}

.download__badge {
  display: block;
  width: 150px;
  height: 50px;
  transition: transform 0.3s ease;
}

.download__badge:hover {
  transform: scale(1.05);
}

.download__badge-image {
  display: block;
  width: 100%;
  height: 100%;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.download__badge--google .download__badge-image {
  background-image: url("/assets/images/google-play-badge.png");
}

.download__badge--apple .download__badge-image {
  background-image: url("/assets/images/app-store-badge.svg");
}

.download__phone-image {
  width: 200px;
  height: 400px;
  margin: 0 auto;
  background-image: url("/assets/images/logo-large.png");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

/* ========================================
   FOOTER SECTION
   ======================================== */
.footer {
  padding: 40px 20px;
  background: linear-gradient(rgb(255, 255, 255), rgba(255, 255, 255, 0.8));
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.footer__container {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
}

.footer__content {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-bottom: 30px;
}

.footer__company-name,
.footer__policies-title {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-bottom: 12px;
}

.footer__company-details,
.footer__policies-list {
  font-size: 13px;
  color: #666;
  line-height: 1.8;
}

.footer__company-detail,
.footer__policy-item {
  margin-bottom: 6px;
}

.footer__policy-link {
  color: #666;
  transition: color 0.3s ease;
}

.footer__policy-link:hover {
  color: #4ECDC4;
}

.footer__policy-link--highlighted {
  color: #4ECDC4;
  font-weight: 500;
}

.footer__divider {
  height: 1px;
  background-color: rgba(0, 0, 0, 0.1);
  margin: 30px 0 20px;
}

.footer__copyright {
  font-size: 12px;
  color: #999;
  text-align: center;
  line-height: 1.6;
}

/* ========================================
   TABLET STYLES (768px and up)
   ======================================== */
@media (min-width: 768px) {
  .hero {
    padding: 80px 40px 60px;
  }

  .hero__container {
    max-width: 960px;
  }

  .hero__logo {
    display: block;
    width: 150px;
    height: 150px;
    margin-bottom: 30px;
  }

  .hero__title {
    font-size: 48px;
    margin-bottom: 24px;
  }

  .hero__description {
    font-size: 18px;
    margin-bottom: 32px;
  }

  .hero__cta-button {
    font-size: 16px;
    padding: 16px 40px;
  }

  .hero__brand {
    font-size: 56px;
    margin-bottom: 60px;
  }

  .hero__images {
    height: 500px;
  }

  .hero__image {
    width: 220px;
    height: 440px;
  }

  .hero__image--left {
    left: 100px;
  }

  .hero__image--right {
    right: 100px;
  }

  .features {
    padding: 0 40px;
  }

  .features__container {
    max-width: 960px;
  }

  .features__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .feature-card {
    padding: 30px;
  }

  .feature-card__icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
  }

  .feature-card__title {
    font-size: 20px;
    margin-bottom: 16px;
  }

  .feature-card__description {
    font-size: 15px;
  }

  .download {
    padding: 0;
  }

  .download__container {
    max-width: 960px;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
  }

  .download__content {
    flex: 1;
    text-align: left;
  }

  .download__title {
    font-size: 42px;
    margin-bottom: 24px;
    color: rgb(238, 15, 111);
  }

  .download__description {
    font-size: 18px;
    margin-bottom: 40px;
    color: rgb(238, 15, 111);
  }

  .download__badges {
    flex-direction: row;
    justify-content: flex-start;
    gap: 20px;
  }

  .download__badge {
    width: 200px;
    height: 70px;
  }

  .download__phone-image {
    width: 300px;
    height: 501px;
    flex-shrink: 0;
  }

  .footer {
    padding: 60px 40px;
  }

  .footer__container {
    max-width: 960px;
  }

  .footer__content {
    flex-direction: row;
    justify-content: space-between;
    gap: 60px;
  }

  .footer__company,
  .footer__policies {
    flex: 1;
  }

  .footer__company-name,
  .footer__policies-title {
    font-size: 18px;
    margin-bottom: 16px;
  }

  .footer__company-details,
  .footer__policies-list {
    font-size: 14px;
  }

  .footer__copyright {
    font-size: 13px;
  }
}

/* ========================================
   DESKTOP STYLES (1024px and up)
   ======================================== */
@media (min-width: 1024px) {
  .hero__container {
    max-width: 1200px;
  }

  .hero__images {
    height: 600px;
  }

  .hero__image {
    width: 260px;
    height: 520px;
  }

  .hero__image--left {
    left: 150px;
  }

  .hero__image--right {
    right: 150px;
  }

  .features__container {
    max-width: 1200px;
  }

  .features__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
  }

  .download__container {
    max-width: 780px;
  }

  .footer__container {
    max-width: 1200px;
  }
}
