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

:root {
  --slate: #4a5b96;
  --dark: #2b3a5c;
  --green: #1ea94a;
  --orange: #e8873a;
  --red: #d0342c;
}

html, body {
  height: 100%;
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", -apple-system, sans-serif;
  background: #dfe6f5;
}

.phone {
  position: relative;
  width: 100%;
  max-width: 768px;
  min-height: 100vh;
  margin: 0 auto;
  padding: 20px 24px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: url("../images/landing/bg.webp") center top / cover no-repeat #dfe6f5;
  overflow: hidden;
}

/* language pill (bootstrap dropdown) */
.lang-wrap {
  position: absolute;
  top: 20px;
  left: 24px;
  z-index: 10;
}

.lang {
  padding: 5px 16px;
  border: none;
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(226, 130, 45, .4);
  cursor: pointer;
}

.lang.dropdown-toggle::after { display: none; } /* remove caret arrow */

.lang-wrap .dropdown-menu {
  min-width: 90px;
  background: var(--orange);
  border: none;
  padding: 4px;
  box-shadow: 0 4px 10px rgba(226, 130, 45, .4);
}

.lang-wrap .dropdown-item {
  color: #fff;
  font-weight: 700;
  border-radius: 6px;
  font-size: 14px;
}

.lang-wrap .dropdown-item:hover,
.lang-wrap .dropdown-item:focus {
  background: rgba(255, 255, 255, .25);
  color: #fff;
}

/* top block */
.top {
  text-align: center;
  padding-top: 44px;
}

.logo {
  width: 70%;
  max-width: 300px;
  height: auto;
}

.tagline {
  margin-top: 12px;
  color: var(--dark);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 1px;
}

/* bottom block */
.bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

/* CTAs use the glowing pill image as background */
.cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  background: url("../images/landing/btn.webp") center / contain no-repeat;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .35);
  transition: color .2s;
}

.cta:hover { color: var(--orange); }

.cta--primary {
  width: 70%;
  max-width: 300px; /* keep mobile proportion on tablet/wide */
  aspect-ratio: 420 / 143; /* match btn.webp so the glow pill never distorts */
  font-size: 24px;
  letter-spacing: 4px;
}

.cta--download {
  /* width: 100%; */
  min-height: 60px;
  font-size: 19px;
  letter-spacing: 2px;
  /* flat blue gradient pill, not the glowing btn.webp */
  background: linear-gradient(180deg, #3f8bff 0%, #2f6fe0 55%, #1f4fb0 100%);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(31, 79, 176, .4);
  padding: 0px 15px;
}

.dl-icon {
  width: 20px;
  height: 20px;
}

.hint {
  color: var(--dark);
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}

/* mirror grid */
.mirrors {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  width: 100%;
}

.mirror {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 8px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 3px 10px rgba(70, 90, 150, .18);
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  border: 1px solid #b1bce0;
}

.route { color: var(--slate); }
.sep { color: #c2c9d8; font-weight: 400; }
.ms--green { color: var(--green); }
.ms--orange { color: var(--orange); }
.ms--red { color: var(--red); }
