@font-face {
  font-family: 'SF Pro Rounded';
  font-weight: 900;
  src: url('../fonts/SF-Pro-Rounded-Heavy-26.otf');
}

body {
  font-family: sans-serif;
  padding-left: 40px;
  padding-right: 40px;
}

header {
  display: flex;
  flex-direction: row;
  position: relative;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 30px;
  margin-top: 40px;
  margin-left: auto;
  margin-right: auto;
  max-width: 1200px;
  padding-left: 20px;
  padding-right: 20px;
  min-width: 200px;
}

header .login {
  font-size: 14px;
  cursor: pointer;
  background-color: #61764B;
  color: white;
  padding: 8px 16px;
  border-radius: 50px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  text-decoration: none;
  font-weight: 600;
  margin-left: auto;
}

header a,
header a:visited,
header a:hover,
header a:active {
  background-color: #4e613a;
  color: white;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

header a:visited {
  color: white;
}

footer {
  text-align: left;
  font-size: 0.8rem;
  color: #61764B;
  display: flex;
  flex-direction: column;
  margin: 40px auto 40px auto;
  padding: 0 40px 0 40px;
  max-width: 1200px;
  min-width: 200px;
}

footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: left;
  display: flex;
  flex-direction: row;
  gap: 15px;
  /* margin-bottom: 20px; */
}

/* 应用于a的样式 */
.terms-container li a {
  text-decoration: none;
  height: 100%;
  vertical-align: middle;
  line-height: 20px;
}

a,
a:visited,
a:hover,
a:active {
  color: inherit;
  text-decoration: none;
}

footer .logo {
  font-family: 'SF Pro Rounded';
  display: flex;
  align-items: center;
  justify-content: flex-start;
  font-size: 25px;
  font-weight: 900;
  gap: 10px;
  color: black;
  margin-bottom: 20px;
}

footer .logo img {
  height: 40px;
}

.footer-row {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.phone {
  position: relative;
  width: 272px;
}

.phone .screen-content {
  position: relative;
  width: 100%;
  height: auto;
}


header .logo {
  font-family: 'SF Pro Rounded';
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  font-weight: 900;
  position: absolute;
  gap: 10px;
  left: 50%;
  transform: translateX(-50%);
}

.feature {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 60px;
  max-width: 740px;
  margin-left: auto;
  margin-right: auto;
}

.feature-image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-image img {
  transform: unset !important;
}

.feature.row.reverse {
  flex-direction: row-reverse;
}

.feature.column {
  flex-direction: column;
}

.feature .feature-content {
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;

  gap: 20px;
}

.feature .feature-content.center {
  align-items: center;
}

.feature .feature-content.center .slogan {
  text-align: center;
}

.feature .feature-content.center .introduction {
  text-align: center;
}

.feature .slogan {
  font-family: 'SF Pro Rounded';
  font-size: 60px;
  font-weight: 900;
  gap: 0px;
  columns: #0E2000;
  white-space: nowrap;
  line-height: 1.2em;
  text-align: left;
}

.feature .highlight {
  color: #61764B;
}

.feature .introduction {
  font-size: 1.5rem;
  font-weight: 500;
  color: #61764B;
  text-align: left;
  max-width: 580px;
}

.container {
  background-color: #F6FDEE;
  border-radius: 43px;
  text-align: center;
  margin: 40px;
  padding: 40px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.container.no-background {
  background-color: transparent;
}

.downloads-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.download-button img {
  height: 55px;
}

.downloads-container.column {
  display: none;
}

.apk-link {

  text-align: center;
  color: #61764B;
  text-decoration: none;
  font-size: 12px;
}

.row .apk-link {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -20px;
}

.column .download-button.google {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.column .download-button {
  width: 100%;
}

.column .download-button img {
  width: 45%;
  height: auto;
}

@media (max-width: 1010px) {


  header .logo {
    font-size: 20px;
  }

  header img {
    height: 40px;
  }

  .feature {
    gap: 30px;
  }

  .feature .slogan {
    font-size: 50px;
  }

  .feature .introduction {
    max-width: 400px;
  }

  .phone {
    width: 200px;
  }


  .download-button img {
    height: 45px;
  }


}

@media (max-width: 760px) {
  .feature .feature-image .hint {
    width: 80%;
  }

  body {
    padding-left: 20px;
    padding-right: 20px;
  }

  .container {
    margin: 20px;
    margin: 20px auto 20px auto;
  }

  .feature .introduction {
    max-width: 300px;
  }

  header .logo {
    font-size: 20px;
  }

  .feature .slogan {
    font-size: 40px;
  }

  .feature .introduction {
    font-size: 1.2rem;
  }

  .phone {
    width: 180px;
  }

  .downloads-container {
    gap: 10px;
  }

  .download-button img {
    height: 35px;
  }
}

@media (max-width: 560px) {

  .feature .slogan {
    font-size: 28px;
  }

  .feature .introduction {
    font-size: 0.9rem;
  }


  .feature .feature-image .hint {
    width: 80%;
  }

  .phone {
    width: 140px;
  }

  .footer-row {
    flex-direction: column;
    justify-content: normal;
    align-items: normal;
    gap: 20px;
  }

  .download-button img {
    height: 30px;
  }
}


@media (max-width: 470px) {
  body {
    padding-left: 20px;
    padding-right: 20px;
  }

  footer ul {
    flex-direction: column;
    gap: 10px;
  }

  .container {
    min-width: 200px;
    padding: 20px;
    margin: 20px auto 20px auto;
  }

  .phone {
    width: 80%;
  }

  .feature .introduction {
    max-width: 260px;
  }

  header {
    margin-bottom: 20px;
  }

  header .logo {
    font-size: 18px;
    transform: none;
    left: auto;
  }


  header img {
    height: 35px;
  }

  .feature {
    flex-direction: column;
  }

  .feature.row.reverse {
    flex-direction: column;
  }

  .feature .feature-content {
    align-items: center;
  }

  .feature .slogan {
    font-size: 30px;
    text-align: center;
  }

  .feature .introduction {
    font-size: 1.0rem;
    text-align: center;
  }

  .downloads-container.row {
    display: none;
  }

  .downloads-container.column {
    display: flex;
  }

  .downloads-container {
    flex-direction: column;
  }

  .download-button img {
    height: 40px;
  }
}