@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@900&family=Outfit:wght@600;700;800&display=swap");

:root {
  --color-primary: #ff6b35;
  --color-black: #040b12;
  --color-white: #fff;
}

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

body {
  font-family: "PingFang SC", -apple-system, BlinkMacSystemFont, "Microsoft YaHei", sans-serif;
  background: var(--color-white);
  color: var(--color-black);
}

.page {
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  background: var(--color-white);
}

.page::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../assets/mobile-bg.png") center top / cover no-repeat;
  pointer-events: none;
  z-index: 0;
}

@media (min-width: 901px) {
  .page::before {
    background-image: url("../assets/pc-bg.png");
  }
}

.wrap {
  width: min(1920px, 100%);
  margin: 0 auto;
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(520px, 47%) minmax(460px, 53%);
  align-items: start;
  gap: clamp(24px, 3vw, 48px);
  position: relative;
  z-index: 1;
  padding: 65px clamp(24px, 5vw, 98px) 48px;
}

.content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  padding-top: 0;
  isolation: isolate;
}

.hero-headline {
  position: relative;
  margin-top: 69px;
  min-height: 232px;
  isolation: isolate;
  overflow: hidden;
}

.brand {
  display: flex;
  align-items: center;
  gap: 18px;
  position: relative;
  top: auto;
  left: auto;
  z-index: 3;
}

.brand-logo {
  display: block;
  flex-shrink: 0;
}

.brand-logo img {
  display: block;
  width: auto;
  height: 60px;
  border-radius: 0;
  object-fit: contain;
}

.watermark {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 743px;
  max-width: 100%;
  height: 459px;
  overflow: hidden;
  display: flex;
  align-items: center;
  font-family: "Outfit", sans-serif;
  font-size: 200px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  background: linear-gradient(180deg, rgba(255, 107, 53, 0.06) 4.79%, rgba(255, 107, 53, 0) 132.57%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  z-index: 0;
}

.headline {
  position: relative;
  z-index: 1;
  margin-top: 0;
}

.headline-pc {
  display: block;
  font-family: "Noto Sans SC", "PingFang SC", sans-serif;
  font-weight: 900;
  font-size: 90px;
  line-height: 1.29;
  letter-spacing: 2px;
  color: var(--color-black);
}

.headline-line {
  display: block;
}

.headline-mobile {
  display: none;
}

.headline .accent {
  color: var(--color-primary);
}

.features {
  position: relative;
  z-index: 2;
  list-style: none;
  margin-top: 44px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  font-size: 26px;
  line-height: 1.54;
  letter-spacing: 3px;
  color: var(--color-black);
}

.features li strong {
  font-weight: 700;
}

.features li {
  font-weight: 400;
}

.highlights {
  position: relative;
  z-index: 2;
  margin-top: 56px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 56px;
  list-style: none;
  color: var(--color-black);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.67;
  letter-spacing: 0.5px;
}

.highlights li {
  position: relative;
  padding-left: 36px;
  white-space: nowrap;
}

.highlights li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 20px;
  height: 20px;
  transform: translateY(-50%);
  background: url("../assets/check-pc.svg") center/contain no-repeat;
}

.btns {
  display: flex;
  gap: 38px;
  margin-top: 58px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.btn {
  border: 0;
  color: var(--color-white);
  border-radius: 16px;
  cursor: pointer;
  height: 100px;
  width: 312px;
  max-width: 100%;
  padding: 0 24px;
}

.btn.is-disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.btn-desktop-inner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  width: 100%;
  height: 100%;
  font-family: "Outfit", sans-serif;
  font-size: 28px;
  font-weight: 600;
  line-height: 1;
  text-transform: capitalize;
}

.btn-desktop-inner picture,
.btn-mobile-inner picture {
  display: inline-flex;
  flex-shrink: 0;
}

.btn-desktop-inner img,
.btn-mobile-inner img {
  width: 36px;
  height: 36px;
  display: block;
}

.btn.windows {
  background: var(--color-primary);
  box-shadow: 0 0 36px rgba(237, 98, 20, 0.5);
}

.btn.macos {
  background: var(--color-black);
  box-shadow: 0 0 36px rgba(0, 0, 0, 0.4);
}

.btn.is-disabled.windows,
.btn.is-disabled.macos {
  box-shadow: none;
}

.btn-ios,
.btn-android {
  display: none;
}

.more {
  position: relative;
  z-index: 2;
  margin-top: 52px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 30px;
  font-weight: 600;
  line-height: 20px;
  color: var(--color-black);
  text-decoration: none;
  border: 0;
  outline: none;
}

.arrow-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  width: 45px;
  height: 23px;
}

.arrow-wrap picture {
  display: inline-flex;
}

.more .arrow {
  display: block;
  flex-shrink: 0;
  width: 23px;
  height: 45px;
  transform: rotate(90deg);
}

.hero-composite {
  display: block;
  width: min(989px, 100%);
}

.hero-composite img {
  width: 100%;
  height: auto;
  display: block;
}

.visual {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 216px;
  min-width: 0;
}

.android-modal {
  position: fixed;
  inset: 0;
  background: rgba(4, 11, 18, 0.4);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 24px;
}

.android-modal.open {
  display: flex;
}

.android-modal-card {
  position: relative;
  width: min(400px, 100%);
  background: var(--color-white);
  border-radius: 16px;
  overflow: hidden;
}

.android-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 20px;
  height: 20px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.android-modal-close img {
  display: block;
  width: 20px;
  height: 20px;
}

.android-modal-body {
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.android-modal-title {
  width: 100%;
  font-family: "Outfit", sans-serif;
  font-size: 20px;
  font-weight: 600;
  line-height: normal;
  text-align: center;
  color: var(--color-black);
  text-transform: capitalize;
}

.android-modal-options {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.android-modal-option {
  width: 100%;
  height: 60px;
  padding: 0 14px;
  border-radius: 16px;
  border: 1px solid #e2e0e0;
  background: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  text-align: left;
}

.android-modal-option.is-selected {
  border-color: var(--color-primary);
  background: rgba(255, 107, 53, 0.06);
}

.android-modal-option-main {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.android-modal-option-icon {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  display: block;
}

.android-modal-option-label {
  font-size: 16px;
  font-weight: 500;
  line-height: 20px;
  color: var(--color-black);
}

.android-modal-option.is-selected .android-modal-option-label {
  color: var(--color-primary);
}

.android-modal-radio {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  display: block;
  border-radius: 50%;
  border: 1px solid #ababab;
  box-sizing: border-box;
}

.android-modal-option.is-selected .android-modal-radio {
  border: 0;
  background: var(--color-primary);
  box-shadow: 0 0 3px rgba(255, 107, 53, 0.34);
}

.android-modal-download {
  width: 100%;
  height: 56px;
  border: 0;
  border-radius: 16px;
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 18px;
  font-weight: 600;
  line-height: 20px;
  cursor: pointer;
  box-shadow: 0 0 24px rgba(237, 98, 20, 0.35);
}

.android-modal-download.is-disabled {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none;
}

@media (max-width: 900px) {
  .page::before {
    background-image: url("../assets/mobile-bg.png");
  }

  .wrap {
    width: 100%;
    max-width: 390px;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 15px 8px 32px;
    min-height: auto;
  }

  .content {
    text-align: center;
    padding-top: 36px;
    max-width: none;
  }

  .brand {
    position: relative;
    top: auto;
    left: auto;
    justify-content: flex-start;
    margin-bottom: 0;
  }

  .brand-logo img {
    width: 84px;
    height: 20px;
  }

  .hero-headline {
    margin-top: 8px;
    min-height: 96px;
  }

  .watermark {
    left: 50%;
    top: 0;
    width: 420px;
    height: 61px;
    transform: translate(-50%, 0);
    justify-content: center;
    font-size: 70px;
    background: linear-gradient(180deg, rgba(255, 107, 53, 0.11) 21.38%, rgba(255, 107, 53, 0) 111.84%);
    -webkit-background-clip: text;
    background-clip: text;
  }

  .headline {
    margin-top: 24px;
  }

  .headline-pc {
    display: none;
  }

  .headline-mobile {
    display: block;
    font-family: "Noto Sans SC", "PingFang SC", sans-serif;
    font-weight: 900;
    font-size: 32px;
    line-height: 1.29;
    letter-spacing: 2px;
    color: var(--color-black);
    text-align: center;
  }

  .headline-mobile .headline-line {
    display: block;
  }

  .features {
    margin-top: 16px;
    gap: 6px;
    font-size: 12px;
    line-height: 1.67;
    letter-spacing: 3px;
    text-align: left;
    width: min(309px, 100%);
    margin-left: auto;
    margin-right: auto;
  }

  .features-dot {
    display: none;
  }

  .highlights {
    margin-top: 20px;
    justify-content: center;
    gap: 32px;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: 0;
  }

  .highlights li {
    padding-left: 18px;
  }

  .highlights li::before {
    width: 12px;
    height: 12px;
    background-image: url("../assets/check-mobile.svg");
  }

  .btns {
    margin-top: 24px;
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .btn {
    width: 300px;
    height: 48px;
    padding: 0 16px;
  }

  .btn.windows,
  .btn.macos {
    display: none;
  }

  .btn-ios,
  .btn-android {
    display: block;
  }

  .btn-desktop-inner {
    display: none;
  }

  .btn-mobile-inner {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    height: 100%;
    font-family: "Outfit", sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    text-transform: capitalize;
  }

  .btn-mobile-inner img {
    width: 16px;
    height: 16px;
    display: block;
    flex-shrink: 0;
  }

  .btn-ios {
    background: var(--color-primary);
    box-shadow: 0 0 24px rgba(255, 107, 53, 0.5);
  }

  .btn-android {
    background: var(--color-black);
    box-shadow: 0 0 24px rgba(0, 0, 0, 0.38);
  }

  .btn.is-disabled.btn-ios,
  .btn.is-disabled.btn-android {
    box-shadow: none;
  }

  .more {
    margin-top: 20px;
    font-size: 14px;
    font-weight: 600;
    gap: 12px;
    justify-content: center;
    width: 100%;
  }

  .arrow-wrap {
    width: 27px;
    height: 23px;
  }

  .more .arrow {
    width: 23px;
    height: 27px;
  }

  .hero-composite {
    width: min(360px, 100%);
    margin: 0 auto;
  }

  .visual {
    padding-top: 24px;
    width: 100%;
  }
}

@media (max-width: 1320px) and (min-width: 901px) {
  .headline-pc {
    font-size: clamp(56px, 6.8vw, 90px);
  }

  .features {
    font-size: clamp(20px, 2vw, 26px);
  }

  .highlights {
    font-size: clamp(18px, 1.8vw, 24px);
    gap: clamp(28px, 4vw, 56px);
  }

  .visual {
    padding-top: clamp(120px, 16vw, 216px);
  }

  .watermark {
    font-size: clamp(120px, 15vw, 200px);
    height: clamp(280px, 35vw, 459px);
  }

  .hero-composite {
    width: min(780px, 100%);
  }

  .highlights li {
    white-space: normal;
  }
}
