/* Avy App Download Page Stylesheet */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Remove @import since we're adding it to HTML head */
/* @import url('https://fonts.googleapis.com/css2?family=Inter+Tight:wght@400;600&display=swap'); */

/* Import fonts in HTML head */
html, body {
  height: 100%;
}

body {
  font-family: 'Inter Tight', sans-serif;
  color: #FFFFFF;
  background-color: #1D3233;
  line-height: 1.6;
  min-height: 100vh;
}

.main-container {
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.inner-container {
  max-width: 1440px;
  width: 100%;
  height: 100vh;
  margin: 0 auto;
  display: flex;
  align-items: center;
}

/* Desktop Layout */
.desktop-layout {
  display: none;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  height: 100vh;
  width: 100%;
  padding-left: 8rem;
}

@media (min-width: 1024px) {
  .desktop-layout {
    display: flex;
  }
  
  .mobile-layout {
    display: none;
  }
}

.content-container {
  flex: 1;
  max-width: 480px;
  display: inline-flex;
  padding: 40px 40px 48px 40px;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
  border-radius: 24px;
  background: #F9F9F9;
}

/* Landscape mode for mobile */
@media (max-width: 1023px) and (orientation: landscape) {
  .content-container, 
  .content-drawer {
    width: 480px;
    max-width: 480px;
  }
}

.app-screen-container {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.app-screen {
  height: 80%;
  max-height: 600px;
  object-fit: contain;
}

/* Mobile Layout */
.mobile-layout {
  position: relative;
  min-height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

@media (min-width: 1024px) {
  .mobile-layout {
    display: none;
  }
}

.app-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
}

.app-screen-bg {
  height: 80%;
  object-fit: contain;
}

.content-drawer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: 100%;
  max-width: 100%;
  background-color: #F9F9F9;
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  padding: 40px 40px 48px 40px;
  z-index: 2;
  box-sizing: border-box;
}

@media (max-width: 1023px) {
  .content-drawer {
    width: 100%;
    max-width: 375px;
    padding: 32px 16px 64px 16px;
    margin: 0 auto;
  }
  
  .content-drawer .content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
  }
  
  .content-drawer .download-buttons {
    display: flex;
    height: 54px;
    justify-content: space-between;
    align-items: center;
    align-self: stretch;
    flex-direction: row;
  }
  
  .download-button img {
    height: 54px;
  }
  
  .content p {
    color: #1C1B1B;
    text-align: center;
    font-family: 'Inter Tight', sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: 0.5px;
  }
}

.content-drawer .content {
  max-width: 350px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

/* Content */
.content {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.content h1 {
  align-self: stretch;
  color: #1C1B1B;
  text-align: center;
  font-family: 'Inter Tight', sans-serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 600;
  line-height: 32px;
}

.content p {
  align-self: stretch;
  color: #1C1B1B;
  text-align: center;
  font-family: 'Inter Tight', sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: 0.5px;
  margin-bottom: 0;
}

/* Download Buttons */
.download-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  align-self: stretch;
  margin-top: 14px;
}

.download-button img {
  height: 50px;
  width: auto;
}

@media (max-width: 480px) {
  .download-buttons {
    flex-direction: row;
    align-items: center;
    gap: 16px;
  }
}

.qr-code-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
}

.qr-image {
  width: auto;
  height: 200px;
  border-radius: 8px;
  background-color: white;
  padding: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Landscape mode for mobile - override max-width only for specific screen sizes */
@media (max-width: 1023px) {
  .content-drawer {
    width: 100%;
    max-width: 100%;
  }
}

/* Special case for landscape orientation on tablets */
@media (max-width: 1023px) and (orientation: landscape) and (max-height: 600px) {
  .content-container, 
  .content-drawer {
    width: 480px;
    max-width: 480px;
  }
} 