:root {
  color: #262344;
  font-family:
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC",
    system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  --ink: #2c294e;
  --blue: #379adb;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.desktop-page {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background:
    radial-gradient(circle at 0% 101%, rgb(229 255 253 / 0.95) 0 0, transparent 10.5rem),
    radial-gradient(circle at 80% 20%, rgb(255 255 255 / 0.28), transparent 22rem),
    linear-gradient(112deg, #dcccff 0%, #cfc9f8 45%, #bec6ff 100%);
}

.desktop-header {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 84%;
  max-width: 1540px;
  width: min(84vw, 1540px);
  margin: 0 auto;
  padding-top: 36px;
  padding-top: clamp(22px, 2.5vw, 48px);
}

.desktop-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: #2c294e;
  font-size: 22px;
  font-size: clamp(18px, 1.25vw, 24px);
  font-weight: 800;
  letter-spacing: 0;
  color: var(--ink);
}

.desktop-logo {
  width: 56px;
  height: 56px;
  width: clamp(48px, 3.2vw, 64px);
  height: clamp(48px, 3.2vw, 64px);
  border-radius: 18px;
  object-fit: cover;
}

.desktop-nav {
  display: inline-flex;
  align-items: center;
  gap: 42px;
  gap: clamp(28px, 3vw, 56px);
  color: #2c294e;
  font-size: 22px;
  font-size: clamp(18px, 1.18vw, 24px);
  font-weight: 900;
  color: var(--ink);
}

.desktop-nav a {
  position: relative;
  padding-bottom: 8px;
}

.desktop-nav a.active::after {
  position: absolute;
  right: 1px;
  bottom: 2px;
  left: 1px;
  height: 5px;
  border-radius: 999px;
  background: #ffc134;
  content: "";
}

.desktop-main {
  position: relative;
  z-index: 2;
  min-height: calc(100vh - 88px);
  min-height: calc(100svh - 88px);
}

.desktop-hero {
  display: grid;
  grid-template-columns: minmax(400px, 0.86fr) minmax(520px, 1.14fr);
  align-items: center;
  width: 72%;
  max-width: 1320px;
  width: min(72vw, 1320px);
  min-height: calc(100vh - 96px);
  min-height: calc(100svh - 96px);
  margin: 0 auto;
  padding: 10vh 0 11vh;
  column-gap: 76px;
  column-gap: clamp(56px, 5vw, 96px);
  transform: translateY(6.4vh);
}

.hero-copy {
  position: relative;
  z-index: 3;
  justify-self: end;
}

.hero-heading-wrap {
  position: relative;
  width: max-content;
}

.hero-title {
  position: relative;
  z-index: 2;
  margin: 0;
  color: #2c294e;
  color: var(--ink);
  font-size: 60px;
  font-size: clamp(46px, 3.35vw, 66px);
  font-weight: 950;
  line-height: 1.42;
  letter-spacing: 0;
  text-shadow:
    0 5px 0 #ffffff,
    5px 0 0 #ffffff,
    -5px 0 0 #ffffff,
    0 -5px 0 #ffffff,
    4px 4px 0 #ffffff,
    -4px 4px 0 #ffffff,
    6px 12px 0 rgb(126 80 255 / 0.16);
}

.hero-title span {
  display: block;
  white-space: nowrap;
}

.hero-title-accent::after {
  position: absolute;
  right: 0.08em;
  bottom: 0.05em;
  left: 0.1em;
  z-index: -1;
  height: 0.42em;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff7ad8 0%, #94eff2 78%);
  content: "";
}

.hero-heart {
  position: absolute;
  top: -34px;
  right: -112px;
  width: 126px;
  height: 92px;
  pointer-events: none;
}

.heart {
  position: absolute;
  width: 72px;
  height: 72px;
  transform: rotate(-45deg);
  border-radius: 24px 24px 12px;
  filter: blur(0.2px) drop-shadow(0 12px 15px rgb(155 92 255 / 0.2));
}

.heart::before,
.heart::after {
  position: absolute;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  content: "";
}

.heart::before {
  top: -36px;
  left: 0;
}

.heart::after {
  top: 0;
  left: 36px;
}

.heart-primary,
.heart-primary::before,
.heart-primary::after {
  background: linear-gradient(145deg, #fff5ff 0%, #ff61ce 58%, #ff9bcf 100%);
}

.heart-primary {
  top: 5px;
  right: 0;
}

.heart-secondary,
.heart-secondary::before,
.heart-secondary::after {
  background: linear-gradient(145deg, #ffffff 0%, #d8adff 50%, #79ddff 100%);
}

.heart-secondary {
  bottom: 2px;
  left: 2px;
  width: 58px;
  height: 58px;
  border-radius: 18px 18px 10px;
}

.heart-secondary::before,
.heart-secondary::after {
  width: 58px;
  height: 58px;
}

.heart-secondary::before {
  top: -29px;
}

.heart-secondary::after {
  left: 29px;
}

.heart-bolt {
  position: absolute;
  bottom: 28px;
  left: 40px;
  color: #ffffff;
  font-size: 32px;
  font-weight: 900;
  text-shadow: 0 0 14px rgb(122 58 255 / 0.5);
}

.desktop-actions {
  display: flex;
  margin-top: 28px;
}

.desktop-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  height: 50px;
  gap: 9px;
  padding: 0 24px;
  border: 3px solid rgb(44 41 78 / 0.88);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.08);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.26);
  color: #2c294e;
  color: var(--ink);
  font-size: 16px;
  font-weight: 850;
  transition:
    transform 160ms ease,
    background-color 160ms ease,
    box-shadow 160ms ease;
}

.desktop-download:hover {
  background: rgb(255 255 255 / 0.24);
  box-shadow:
    inset 0 0 0 1px rgb(255 255 255 / 0.4),
    0 12px 28px rgb(68 54 130 / 0.13);
  transform: translateY(-2px);
}

.desktop-download svg {
  width: 20px;
  height: 20px;
}

.desktop-visual {
  width: 710px;
  width: min(44vw, 710px);
  max-width: none;
  align-self: center;
  justify-self: start;
  mix-blend-mode: normal;
  transform: translate(8px, 16px);
  user-select: none;
}

.desktop-footer {
  position: absolute;
  right: 0;
  bottom: 28px;
  left: 0;
  z-index: 4;
  display: grid;
  gap: 4px;
  padding: 0 24px;
  color: rgb(95 92 142 / 0.55);
  font-size: 14px;
  font-size: clamp(12px, 0.78vw, 15px);
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
}

.desktop-footer p {
  margin: 0;
}

.mobile-page {
  display: none;
}

.mobile-footer {
  display: none;
}

@media (max-width: 1180px) {
  .desktop-header {
    width: 88%;
    max-width: 1040px;
    width: min(88vw, 1040px);
  }

  .desktop-hero {
    width: 86%;
    max-width: 1040px;
    width: min(86vw, 1040px);
    grid-template-columns: minmax(360px, 0.84fr) minmax(430px, 1.16fr);
    column-gap: 36px;
  }

  .desktop-visual {
    width: 50vw;
  }
}

@media (max-width: 767px), (max-device-width: 767px) {
  body {
    background: #ffffff;
  }

  .desktop-page {
    display: none;
  }

  .mobile-page {
    display: block;
    display: flex;
    min-height: 100vh;
    min-height: 100svh;
    flex-direction: column;
    align-items: center;
    padding: 28px 0 88px;
    background: #ffffff;
    color: #222222;
  }

  .mobile-logo {
    width: 100px;
    height: 100px;
    object-fit: cover;
  }

  .mobile-title {
    margin: 45px 0 27px;
    color: #379adb;
    color: var(--blue);
    font-size: 48px;
    font-size: clamp(40px, 11vw, 48px);
    font-weight: 850;
    line-height: 1;
    letter-spacing: 0;
  }

  .mobile-download {
    display: block;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 74.5%;
    max-width: 336px;
    width: min(74.5vw, 336px);
    height: 42px;
    gap: 9px;
    margin-bottom: 40px;
    border-radius: 8px;
    background: #379adb;
    background: var(--blue);
    color: #ffffff;
    font-size: 30px;
    font-size: clamp(19px, 6vw, 30px);
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 7px 18px rgb(55 154 219 / 0.14);
  }

  .mobile-download svg {
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
  }

  .mobile-info {
    width: 74.5%;
    max-width: 336px;
    width: min(74.5vw, 336px);
    object-fit: contain;
  }

  .mobile-footer {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 20;
    display: block;
    padding: 8px 16px 10px;
    background: rgb(255 255 255 / 0.94);
    color: #8a8a8a;
    font-size: 11px;
    line-height: 1.45;
    text-align: center;
    box-shadow: 0 -1px 6px rgb(0 0 0 / 0.04);
  }

  .mobile-footer p {
    margin: 0;
  }

  .mobile-footer a {
    color: #8a8a8a;
  }
}

@media (max-width: 360px) {
  .mobile-download {
    font-size: 20px;
  }
}
