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

:root { --page-bg: #f7f7f8; --text: #111522; }
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--page-bg);
  color: var(--text);
}
.page {
  min-height: 100vh;
  display: grid;
  place-items: start center;
  padding: 40px 22px 22px;
  overflow-x: hidden;
  overflow-y: visible;
  position: relative;
  background: #fff;
}
.page::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../assets/pc-bg.svg") center/cover no-repeat;
  z-index: 0;
}
.wrap {
  width: min(1680px, 100%);
  display: grid;
  grid-template-columns: minmax(520px, 44%) minmax(460px, 56%);
  align-items: start;
  gap: clamp(18px, 2.6vw, 52px);
  position: relative;
  z-index: 1;
}
.content {
  position: relative;
  padding-left: clamp(18px, 3vw, 56px);
  padding-top: 116px;
  z-index: 2;
  max-width: 780px;
}
.logo {
  width: min(240px, 32vw);
  display: block;
  margin: 0 0 20px;
  transform: none;
}
.pc-wordmark {
  position: absolute;
  left: 10px;
  top: 84px;
  width: min(760px, 62vw);
  opacity: 0.4;
  display: block;
  pointer-events: none;
  user-select: none;
  z-index: 1;
}
.pc-text {
  width: min(680px, 100%);
  display: block;
  margin-top: 82px;
  position: relative;
  z-index: 2;
}
.subline {
  margin-top: 44px;
  font-size: clamp(20px, 1.15vw, 30px);
  letter-spacing: 0.64em;
  color: #1a202d;
  white-space: nowrap;
  line-height: 1.5;
  position: relative;
  z-index: 2;
  width: min(680px, 100%);
  text-align: left;
  margin-left: 0;
}
.highlights {
  margin-top: 30px;
  display: flex;
  align-items: center;
  gap: 34px;
  list-style: none;
  color: #171d29;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.2;
}
.highlights li {
  position: relative;
  padding-left: 34px;
  white-space: nowrap;
}
.highlights li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 24px;
  height: 24px;
  transform: translateY(-50%);
  background: url("../assets/Frame.svg") center/contain no-repeat;
}
.btns {
  display: flex;
  gap: 22px;
  margin-top: 56px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.btn {
  border: 0;
  color: #fff;
  border-radius: 16px;
  font-size: clamp(20px, 1.2vw, 32px);
  font-weight: 700;
  padding: 20px 40px;
  min-width: 230px;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.16);
}
.btn.is-disabled {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none !important;
}
.btn-desktop-inner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.btn-desktop-inner img {
  width: 36px;
  height: 36px;
  display: block;
}
.btn.windows {
  background: #ff6b35;
  box-shadow: 0 0 36px rgba(237, 98, 20, 0.5);
}
.btn.macos {
  background: linear-gradient(180deg, #071023 0%, #020916 100%);
  box-shadow: 0 0 36px rgba(0, 0, 0, 0.4);
}
.more {
  margin-top: 44px;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-size: clamp(24px, 1.45vw, 34px);
  color: #181e2a;
  text-decoration: none;
  font-weight: 500;
}
.more img {
  width: 28px;
  height: auto;
  display: block;
}
.visual {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-right: clamp(8px, 2.2vw, 30px);
  min-width: 0;
}
.desktop-composite {
  width: min(780px, 100%);
  height: auto;
  display: block;
  filter: drop-shadow(0 20px 34px rgba(0, 0, 0, 0.18));
}
.mobile-text,
.mobile-composite,
.mobile-topline,
.mobile-watermark { display: none; }
.btn-ios, .btn-android { display: none; }
.btn-mobile-inner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.btn-mobile-inner span {
  font-family: "Outfit", -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-weight: 600;
  line-height: 20px;
  letter-spacing: 0;
}
.btn-mobile-inner img {
  width: 22px;
  height: 22px;
  display: block;
}
.ios-modal {
  position: fixed;
  inset: 0;
  background: rgba(2, 9, 22, 0.88);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 24px;
}
.ios-modal.open {
  display: flex;
}
.ios-modal-card {
  width: min(340px, 100%);
  background: #fff;
  border-radius: 16px;
  padding: 34px 20px 26px;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.28);
}
.ios-modal-title {
  font-size: 22px;
  font-weight: 600;
  color: #141922;
  line-height: 1.35;
}
.ios-modal-desc {
  margin-top: 18px;
  font-size: 12px;
  line-height: 1.8;
  color: #2b303d;
}
.ios-modal-btns {
  margin-top: 24px;
  display: grid;
  gap: 14px;
}
.ios-modal-btn {
  border: 0;
  border-radius: 16px;
  padding: 12px 0;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 0 24px rgba(255, 107, 53, 0.5);
  display: block;
}
.ios-modal-btn.is-disabled {
  opacity: 0.45;
  pointer-events: none;
  box-shadow: none !important;
}
.ios-modal-btn.primary {
  background: #ff6b35;
}
.ios-modal-btn.secondary {
  background: #020916;
  box-shadow: 0 0 24px rgba(0, 0, 0, 0.38);
}

@media (max-width: 900px) {
  .page { padding: 10px 14px 30px; align-items: flex-start; }
  .page::before { background-image: url("../assets/mobile-bg.svg"); }
  .wrap {
    width: min(460px, 100%);
    grid-template-columns: 1fr;
    gap: 0;
  }
  .logo {
    width: 150px;
    margin: 20px auto 18px;
    transform: none;
  }
  .content { text-align: center; padding-left: 0; padding-top: 0; }
  .pc-wordmark, .pc-text { display: none; }
  .mobile-topline {
    display: block;
    margin-top: 18px;
    font-size: clamp(11px, 3.1vw, 16px);
    letter-spacing: 0.28em;
    color: #171d29;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: clip;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  .mobile-watermark {
    display: block;
    position: absolute;
    left: 50%;
    top: 78px;
    transform: translateX(-50%);
    font-size: 84px;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: rgba(255, 107, 53, 0.08);
    pointer-events: none;
    user-select: none;
    white-space: nowrap;
  }
  .mobile-text {
    width: min(380px, 96%);
    margin: 56px auto 0;
    display: block;
  }
  .mobile-text,
  .highlights,
  .btns,
  .more {
    position: relative;
    top: -20px;
  }
  .highlights {
    margin-top: 20px;
    justify-content: center;
    gap: 16px;
    font-size: clamp(12px, 3.4vw, 28px);
    font-weight: 500;
  }
  .highlights li {
    padding-left: 22px;
  }
  .highlights li::before {
    width: 18px;
    height: 18px;
  }
  .subline { display: none; }
  .btns {
    margin-top: 24px;
    gap: 20px;
    align-items: center;
    justify-content: center;
  }
  .btn {
    width: 350px;
    max-width: 100%;
    min-width: auto;
    padding: 16px 0;
    font-size: 22px;
    border-radius: 16px;
  }
  .btn.windows, .btn.macos { display: none; }
  .btn-ios, .btn-android { display: inline-block; }
  .btn-ios {
    background: #ff6b35;
    box-shadow: 0 0 24px rgba(255, 107, 53, 0.5);
  }
  .btn-android {
    background: linear-gradient(180deg, #071023 0%, #020916 100%);
    box-shadow: 0 0 24px rgba(0, 0, 0, 0.38);
  }
  .btn-mobile-inner img {
    width: 20px;
    height: 20px;
  }
  .btn-desktop-inner { display: none; }
  .more {
    margin-top: 28px;
    font-size: 20px;
  }
  .more img {
    width: 20px;
  }
  .visual {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    position: relative;
    height: 680px;
    margin-top: 14px;
    padding: 0 4px;
    width: 100%;
    overflow-x: hidden;
  }
  .desktop-composite { display: none; }
  .mobile-composite {
    display: block;
    width: min(520px, 100%);
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    transform: scale(1.06);
    transform-origin: top center;
    filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.18));
  }
}

@media (max-width: 1320px) {
  .pc-text {
    width: min(620px, 100%);
  }
  .subline {
    font-size: clamp(20px, 1.25vw, 28px);
    letter-spacing: 0.42em;
    white-space: normal;
  }
  .desktop-composite {
    width: min(700px, 100%);
  }
}
