:root {
  color-scheme: light;
  --ink: #07162f;
  --muted: #61718a;
  --blue: #087cf0;
  --blue-deep: #005dd8;
  --line: rgba(19, 91, 180, .13);
  --surface: rgba(255, 255, 255, .92);
  font-family: "Avenir Next", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: #eaf2fb; }
body { margin: 0; color: var(--ink); background: #eaf2fb; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }

.site {
  width: min(100%, 520px);
  min-height: 100vh;
  margin: 0 auto;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 0 42px rgba(15, 46, 90, .12);
}

.hero {
  position: relative;
  min-height: 810px;
  padding: 22px 18px 26px;
  overflow: hidden;
  isolation: isolate;
}
.hero::before, .hero::after {
  position: absolute;
  z-index: -1;
  content: "";
  border-radius: 50%;
  pointer-events: none;
}
.hero::before { width: 360px; height: 360px; top: -170px; right: -170px; }
.hero::after { width: 290px; height: 290px; left: -170px; bottom: 110px; }

.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  margin-bottom: 18px;
}
.brand img { width: 52px; height: 52px; border-radius: 14px; box-shadow: 0 8px 22px rgba(4, 79, 169, .2); }
.brand-copy strong { display: block; font-size: 28px; line-height: 1; letter-spacing: -.05em; }
.brand-copy span { display: block; margin-top: 5px; color: var(--muted); font-size: 12px; letter-spacing: .08em; }

.hero-copy { position: relative; z-index: 3; text-align: center; }
.hero h1 { margin: 0; font-size: clamp(34px, 10.4vw, 50px); line-height: 1.08; letter-spacing: -.065em; }
.hero h1 em { color: var(--blue); font-style: normal; }
.hero-lead { max-width: 360px; margin: 11px auto 0; color: var(--muted); font-size: 14px; line-height: 1.65; }

.download-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 18px auto 0; }
.download-btn {
  min-width: 0;
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 8px 10px;
  border: 1px solid rgba(7, 100, 218, .16);
  border-radius: 16px;
  color: #10203a;
  background: rgba(255,255,255,.94);
  box-shadow: 0 10px 24px rgba(5, 71, 151, .12);
  transition: transform .2s ease, box-shadow .2s ease;
}
.download-btn:active { transform: scale(.97); }
.download-btn svg { flex: 0 0 auto; width: 27px; height: 27px; }
.download-btn.android svg { color: #39b54a; }
.download-copy { min-width: 0; text-align: left; line-height: 1.1; }
.download-copy strong { display: block; white-space: nowrap; font-size: 14px; font-weight: 850; }
.download-copy small { display: block; margin-top: 4px; color: #77859a; white-space: nowrap; font-size: 9px; font-weight: 650; }
.download-btn.recommended { color: #fff; border-color: transparent; background: linear-gradient(135deg, #1798ff, #0768ee); box-shadow: 0 13px 30px rgba(0, 101, 236, .28); animation: recommend 2.2s ease-in-out infinite; }
.download-btn.recommended small, .download-btn.recommended.android svg { color: rgba(255,255,255,.8); }

.phone-pair { position: relative; height: 385px; margin: 16px -2px 0; }
.phone {
  position: absolute;
  width: 162px;
  aspect-ratio: 71.5 / 149.6;
  overflow: visible;
  isolation: isolate;
  padding: 4px;
  border: 1px solid #222b35;
  border-radius: 37px;
  background: linear-gradient(115deg, #eef2f5 0%, #77828d 12%, #202934 27%, #0b1017 52%, #9ca6ae 80%, #303a45 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.65), inset 0 0 0 3px rgba(6,10,15,.55), 0 24px 44px rgba(7, 43, 91, .28);
}
.phone::before {
  position: absolute;
  z-index: 3;
  top: 10px;
  left: 50%;
  width: 30%;
  height: 15px;
  content: "";
  transform: translateX(-50%);
  border-radius: 999px;
  border: 1px solid rgba(25,31,39,.9);
  background: radial-gradient(circle at 80% 50%, #173a62 0 2px, #07090d 3px 100%);
  box-shadow: inset 0 1px 1px rgba(255,255,255,.08), 0 1px 2px rgba(0,0,0,.35);
}
.phone::after {
  position: absolute;
  z-index: 0;
  top: 67px;
  left: -4px;
  width: 3px;
  height: 29px;
  content: "";
  border-radius: 2px 0 0 2px;
  background: linear-gradient(#9da7b1, #202a35 32%, #596570 78%, #151c24);
  box-shadow: 0 38px 0 #394550;
}
.phone.two::after {
  top: 85px;
  right: -4px;
  left: auto;
  height: 46px;
  border-radius: 0 2px 2px 0;
  box-shadow: none;
}
.phone img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border: 1px solid #05070a;
  border-radius: 31px;
  background: #080d14;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}
.phone.one { left: calc(50% - 150px); top: 20px; transform: rotate(-5deg); }
.phone.two { right: calc(50% - 150px); top: 20px; transform: rotate(5deg); }

.capabilities {
  position: relative;
  z-index: 3;
  margin-top: 4px;
  padding: 15px 12px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: 0 18px 45px rgba(18, 81, 160, .1);
  backdrop-filter: blur(14px);
}
.cap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px 6px; }
.cap-item { display: grid; grid-template-columns: 34px minmax(0,1fr); align-items: center; gap: 7px; min-width: 0; }
.cap-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #087bef;
  background: #eaf5ff;
}
.cap-icon svg { width: 19px; height: 19px; }
.cap-item > span:last-child { min-width: 0; }
.cap-item > span:last-child > strong { display: block; white-space: nowrap; font-size: 11px; }
.cap-item > span:last-child > span { display: block; margin-top: 2px; overflow: hidden; color: #8190a6; white-space: nowrap; text-overflow: ellipsis; font-size: 8px; }

.experience { position: relative; padding: 54px 14px 48px; text-align: center; background: #fff; }
.section-kicker { color: var(--blue); font-size: 11px; font-weight: 850; letter-spacing: .18em; }
.section-title { margin: 7px 0 0; font-size: 28px; line-height: 1.18; letter-spacing: -.05em; }
.section-lead { margin: 9px auto 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.screen-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin-top: 27px; align-items: end; }
.screen-card { margin: 0; min-width: 0; }
.screen-label { min-height: 42px; margin-bottom: 9px; text-align: left; }
.screen-label b { display: block; font-size: 12px; }
.screen-label span { display: block; margin-top: 3px; color: #8190a6; font-size: 9px; }
.screen-frame {
  position: relative;
  aspect-ratio: 71.5 / 149.6;
  overflow: visible;
  isolation: isolate;
  padding: 2.45px;
  border: 1px solid #202a35;
  border-radius: 26px 26px 17px 17px;
  background: linear-gradient(125deg, #edf1f4 0%, #697580 16%, #151d26 42%, #929da6 74%, #222c36 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.55), inset 0 0 0 2px rgba(6,10,15,.45), 0 15px 28px rgba(9, 39, 79, .18);
}
.screen-frame::before { position: absolute; z-index: 3; top: 7px; left: 50%; width: 31%; height: 10px; content: ""; transform: translateX(-50%); border-radius: 99px; background: radial-gradient(circle at 80% 50%, #173553 0 1px, #06080b 2px 100%); }
.screen-frame::after { position: absolute; z-index: 0; top: 48px; left: -3px; width: 2px; height: 20px; content: ""; border-radius: 2px 0 0 2px; background: #3b4651; box-shadow: 0 26px 0 #3b4651; }
.screen-frame img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: contain; border: 1px solid #05070a; border-radius: 21px 21px 12px 12px; background: #080d14; }

.closing {
  position: relative;
  padding: 54px 18px 40px;
  overflow: hidden;
  text-align: center;
}
.closing h2 { margin: 0; font-size: 29px; letter-spacing: -.05em; }
.closing p { margin: 8px 0 0; color: var(--muted); font-size: 13px; }
.closing .download-row { margin-top: 22px; }
.closing-brand { display: flex; align-items: center; justify-content: center; gap: 9px; margin-top: 28px; }
.closing-brand img { width: 38px; height: 38px; border-radius: 11px; }
.closing-brand strong { font-size: 19px; }
.footer { padding: 18px 20px 28px; text-align: center; color: #8b98aa; font-size: 10px; background: #fff; }

/* Light blue product page */
.theme-light .hero { background: radial-gradient(circle at 80% 18%, #c5e7ff 0, transparent 35%), linear-gradient(150deg, #f6fbff 0%, #e5f4ff 56%, #d9efff 100%); }
.theme-light .hero::before { background: rgba(62, 169, 255, .16); }
.theme-light .hero::after { border: 1px solid rgba(0, 112, 239, .22); background: rgba(255,255,255,.25); }
.theme-light .hero h1 { font-size: clamp(35px, 10.8vw, 51px); }
.theme-light .closing { background: linear-gradient(160deg, #edf8ff 0%, #dceeff 100%); }

/* Dark technology page */
.theme-deep { --ink: #f5f9ff; --muted: #a9c1e4; --blue: #36a8ff; --line: rgba(63, 164, 255, .35); --surface: rgba(3, 35, 82, .78); color-scheme: dark; }
.theme-deep .site { background: #00183a; box-shadow: 0 0 48px rgba(0,0,0,.45); }
.theme-deep .hero { min-height: 0; background: radial-gradient(circle at 50% 34%, rgba(0, 139, 255, .42), transparent 34%), radial-gradient(circle at 12% 2%, rgba(0, 112, 255, .35), transparent 25%), linear-gradient(180deg, #001a43 0%, #00102d 100%); }
.theme-deep .hero::before { border: 1px solid rgba(50, 168, 255, .2); box-shadow: 0 0 90px rgba(0, 143, 255, .3); }
.theme-deep .hero::after { background: rgba(0, 100, 255, .12); filter: blur(12px); }
.theme-deep .brand img { border: 1px solid rgba(76, 177, 255, .8); box-shadow: 0 0 24px rgba(0, 150, 255, .55); }
.theme-deep .brand-copy span { color: #a7c9f0; }
.theme-deep .hero h1 { color: #fff; text-shadow: 0 3px 25px rgba(61, 175, 255, .28); }
.theme-deep .download-btn { color: #fff; border-color: rgba(74, 180, 255, .7); background: rgba(0, 64, 132, .68); box-shadow: inset 0 0 18px rgba(42, 165, 255, .18), 0 0 22px rgba(0, 132, 255, .22); }
.theme-deep .download-btn small, .theme-deep .download-btn.android svg { color: #b8d9ff; }
.theme-deep .phone { border-color: #152f4a; box-shadow: 0 0 0 1px rgba(93, 193, 255, .8), 0 22px 50px rgba(0, 139, 255, .35); }
.theme-deep .cap-icon { color: #4bb8ff; background: rgba(0, 122, 239, .2); box-shadow: inset 0 0 12px rgba(55, 178, 255, .2); }
.theme-deep .experience { color: #f5f9ff; background: linear-gradient(180deg, #00102d 0%, #001941 55%, #001331 100%); }
.theme-deep .screen-label span { color: #91afd4; }
.theme-deep .screen-frame { border-color: #07111f; box-shadow: 0 0 0 1px rgba(63, 166, 255, .55), 0 16px 32px rgba(0,0,0,.35); }
.theme-deep .closing { background: radial-gradient(circle at 50% 15%, rgba(0, 144, 255, .32), transparent 42%), #00102d; }
.theme-deep .closing .download-btn { background: rgba(0, 74, 151, .75); }
.theme-deep .footer { color: #6685aa; background: #000d24; }

/* Warm lifestyle page */
.theme-warm { --ink: #101d32; --muted: #6e7785; --blue: #0b78ee; --line: rgba(192, 143, 92, .16); }
.theme-warm .site { background: #fffaf5; }
.theme-warm .hero { min-height: 0; background: radial-gradient(circle at 86% 10%, rgba(255, 200, 132, .33), transparent 29%), radial-gradient(circle at 10% 50%, rgba(255,255,255,.92), transparent 30%), linear-gradient(150deg, #fffdf9 0%, #fff5e9 60%, #f6e5cf 100%); }
.theme-warm .hero::before { background: rgba(255, 187, 107, .2); filter: blur(2px); }
.theme-warm .hero::after { border: 1px solid rgba(215, 144, 70, .18); background: rgba(255,255,255,.3); }
.theme-warm .hero-copy { text-align: left; }
.theme-warm .hero h1 { max-width: 340px; font-size: clamp(37px, 11.6vw, 54px); }
.theme-warm .hero-lead { margin-left: 0; }
.theme-warm .download-row { margin-left: 0; }
.theme-warm .phone.one { left: calc(50% - 148px); top: 20px; transform: rotate(-4deg); }
.theme-warm .phone.two { right: calc(50% - 148px); top: 20px; transform: rotate(5deg); }
.theme-warm .capabilities { border-color: rgba(207, 154, 97, .15); box-shadow: 0 18px 45px rgba(122, 82, 37, .1); }
.theme-warm .cap-icon { color: #117cef; background: linear-gradient(145deg, #e5f4ff, #f5fbff); }
.theme-warm .cap-item:nth-child(2) .cap-icon { color: #24a865; background: #eaf9ef; }
.theme-warm .cap-item:nth-child(3) .cap-icon { color: #ef7256; background: #fff0e9; }
.theme-warm .cap-item:nth-child(4) .cap-icon { color: #7c5df3; background: #f1edff; }
.theme-warm .cap-item:nth-child(5) .cap-icon { color: #e9951c; background: #fff4db; }
.theme-warm .experience { background: linear-gradient(180deg, #fffaf5 0%, #fff 100%); }
.theme-warm .closing { background: linear-gradient(145deg, #f7e4cb 0%, #fff8ed 52%, #dfefff 100%); }

@keyframes recommend { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.035); } }

@media (max-width: 370px) {
  .hero { padding-left: 13px; padding-right: 13px; }
  .brand img { width: 47px; height: 47px; }
  .brand-copy strong { font-size: 25px; }
  .download-row { gap: 7px; }
  .download-btn { min-height: 54px; padding: 7px 6px; gap: 6px; }
  .download-btn svg { width: 23px; height: 23px; }
  .download-copy strong { font-size: 12px; }
  .phone-pair { height: 350px; }
  .phone { width: 146px; }
  .phone.one { left: calc(50% - 136px); }
  .phone.two { right: calc(50% - 136px); }
  .cap-item { grid-template-columns: 30px minmax(0,1fr); gap: 5px; }
  .cap-icon { width: 30px; height: 30px; }
  .cap-item > span:last-child > strong { font-size: 10px; }
}

@media (min-width: 521px) {
  body { padding: 24px 0; }
  .site { border-radius: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .download-btn.recommended { animation: none; }
}
