/* === Reset === */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* === Base === */
body {
  font-family: 'PingFang TC', 'Microsoft JhengHei', 'Noto Sans TC', sans-serif;
  background: #ff7500 url('../images/desktop-background.svg') center / cover no-repeat;
  min-height: 100vh;
}

img {
  display: block;
}

/* === Page / Hero Grid === */
main {
  display: grid;
  grid-template-columns: 42fr 58fr;
  align-items: center;
  min-height: 100vh;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 40px 30px;
}

/* === Content Area === */
.content-area {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 610px;
}

/* === Visual Area === */
.visual-area {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* === Logo === */
.logo {
  width: 100%;
  max-width: 440px;
  height: auto;
}

/* === Description === */
.description {
  color: #ffffff;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.6;
}

/* === Download Section === */
.download-section {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.download-label {
  color: #1a1a1a;
  font-size: 22px;
  font-weight: 600;
  line-height: normal;
}

.download-row {
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

.store-buttons {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.store-link {
  display: block;
}

.store-btn {
  width: 200px;
  height: auto;
}

.qr-code-wrapper {
  background: #fff;
  border-radius: 10px;
  padding: 8px;
  display: inline-flex;
}

.qr-code {
  width: 144px;
  height: 144px;
}

/* === Mobile Visual (hidden on desktop) === */
.visual-mobile {
  display: none;
}

/* === Main Visual === */
.main-visual {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* === Mobile (≤ 1024px) === */
@media (max-width: 1024px) {
  body {
    background-image: url('../images/mobile-background.svg');
  }

  main {
    grid-template-columns: 1fr;
    align-content: center;
    padding: 40px 16px;
    row-gap: 0;
  }

  .visual-area {
    display: none;
  }

  .visual-mobile {
    display: block;
    width: 100%;
  }

  .content-area {
    align-items: center;
    gap: 20px;
    max-width: 660px;
    width: 100%;
    margin: 0 auto;
  }

  .logo {
    max-width: 224px;
  }

  .description {
    font-size: 16px;
    line-height: 1.75;
    text-align: center;
    max-width: 100%;
  }

  .download-section {
    align-items: center;
    gap: 14px;
  }

  .download-label {
    font-size: 18px;
  }

  .download-row {
    justify-content: center;
  }

  .store-buttons {
    gap: 14px;
  }

  .qr-code-wrapper {
    display: none;
  }

  .store-btn {
    width: 178px;
  }

  .main-visual {
    max-width: 80%;
    margin: 0 auto;
  }
}
