@charset "UTF-8";

/* lk美化助手 · 紫调皮肤库版式 */

:root {
  --violet: #4A2FE0;
  --violet-deep: #2E1BA8;
  --violet-soft: #EFEAFF;
  --lilac: #F7F4FF;
  --ink: #1B1730;
  --ink-mid: #4B4568;
  --muted: #77708F;
  --line: #E4DFF5;
  --radius: 18px;
  --shell: 1200px;
  --header-height: 72px;
  --shadow: 0 18px 38px rgba(74, 47, 224, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: #FFFFFF;
  font-family: "HarmonyOS Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

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

button {
  color: inherit;
  font: inherit;
}

a,
button {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid #A08CFF;
  outline-offset: 3px;
}

.page-shell {
  width: min(calc(100% - 48px), var(--shell));
  margin: 0 auto;
}

.icon {
  display: inline-block;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  vertical-align: middle;
}

.icon::before {
  display: block;
  width: 100%;
  height: 100%;
  content: "";
  background: center / contain no-repeat;
}

.icon-download::before { background-image: url("../icons/download.svg"); }
.icon-menu::before { background-image: url("../icons/menu.svg"); }
.icon-close::before { background-image: url("../icons/close.svg"); }
.icon-arrow::before { background-image: url("../icons/arrow.svg"); }
.icon-globe::before { background-image: url("../icons/globe.svg"); }
.icon-plus::before { background-image: url("../icons/plus.svg"); }
.icon-shield::before { background-image: url("../icons/shield.svg"); }
.icon-bolt::before { background-image: url("../icons/bolt.svg"); }
.icon-book::before { background-image: url("../icons/book.svg"); }

/* ---------- 导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.nav-shell {
  display: flex;
  align-items: center;
  width: min(calc(100% - 48px), var(--shell));
  min-height: var(--header-height);
  margin: 0 auto;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.4px;
  white-space: nowrap;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  object-fit: contain;
  box-shadow: 0 4px 12px rgba(74, 47, 224, 0.22);
}

.primary-nav ul,
.site-footer ul {
  display: flex;
  padding: 0;
  margin: 0;
  list-style: none;
}

.primary-nav {
  margin: 0 auto;
}

.primary-nav ul {
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: var(--lilac);
}

.primary-nav a {
  display: block;
  padding: 6px 15px;
  border-radius: 999px;
  color: var(--ink-mid);
  font-size: 13.5px;
  font-weight: 600;
  transition: background-color 160ms ease, color 160ms ease;
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
  color: var(--violet-deep);
  background: #FFFFFF;
}

.nav-download,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  transition: background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.nav-download {
  min-height: 42px;
  padding: 0 20px;
  color: #FFFFFF;
  background: linear-gradient(135deg, #5B3FF5 0%, #3A22C4 100%);
  box-shadow: 0 8px 18px rgba(74, 47, 224, 0.28);
}

.nav-download .icon,
.button-primary .icon {
  filter: brightness(0) invert(1);
}

.nav-download:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 22px rgba(74, 47, 224, 0.34);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #FFFFFF;
  cursor: pointer;
}

/* ---------- 英雄区 ---------- */
.hero {
  position: relative;
  padding: 62px 0 68px;
  overflow: hidden;
  color: #F4F1FF;
  scroll-margin-top: calc(var(--header-height) + 14px);
  background:
    radial-gradient(circle at 86% 8%, rgba(160, 140, 255, 0.55) 0%, transparent 42%),
    radial-gradient(circle at 4% 92%, rgba(120, 90, 255, 0.4) 0%, transparent 46%),
    linear-gradient(150deg, #2A1885 0%, #3A22B4 58%, #2A1885 100%);
}

.hero::after {
  position: absolute;
  right: -80px;
  bottom: -120px;
  width: 340px;
  height: 340px;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 500px);
  align-items: center;
  gap: 48px;
}

.hero-copy {
  max-width: 510px;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 14px;
  padding: 3px 12px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  color: #D9D0FF;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 2px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(40px, 5.2vw, 66px);
  font-weight: 800;
  letter-spacing: -1.4px;
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.hero-title {
  margin: 14px 0 14px;
  color: #FFFFFF;
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 700;
  letter-spacing: 0.6px;
}

.hero-summary {
  max-width: 450px;
  margin: 0 0 28px;
  color: #CFC6F5;
  font-size: 15px;
}

.button {
  min-height: 50px;
  padding: 0 28px;
}

.button-primary {
  color: #FFFFFF;
  background: linear-gradient(135deg, #7A5CFF 0%, #4A2FE0 100%);
  box-shadow: 0 14px 28px rgba(20, 8, 90, 0.4);
}

.button-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(20, 8, 90, 0.46);
}

/* 英雄组件：两列不等高皮肤卡瀑布 */
.hero-masonry {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
  max-width: 500px;
  margin-left: auto;
}

.hm-col {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 16px;
}

.hm-offset {
  margin-top: 38px;
}

.hm-card {
  padding: 13px 13px 15px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(6px);
  overflow: hidden;
}

.hm-card b {
  display: block;
  margin-top: 11px;
  color: #FFFFFF;
  font-size: 13.5px;
  letter-spacing: 0.4px;
}

.hm-card small {
  display: block;
  margin-top: 3px;
  color: #BDB0F0;
  font-size: 10.5px;
}

.hm-card img {
  width: 100%;
  height: 96px;
  border-radius: 10px;
  object-fit: cover;
  object-position: top center;
}

.hm-a img {
  height: 116px;
}

.hm-c img {
  height: 88px;
}

.hm-swatch {
  height: 52px;
  margin-bottom: 10px;
  border-radius: 10px;
}

.hm-purple {
  background: linear-gradient(120deg, #8E74FF 0%, #4A2FE0 60%, #2A1885 100%);
}

.hm-mint {
  background: linear-gradient(120deg, #8FE8CE 0%, #43BFA0 55%, #1E7A66 100%);
}

.hm-lines {
  display: grid;
  gap: 7px;
  padding: 4px 0;
}

.hm-lines i {
  display: block;
  height: 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.32);
}

.hm-lines i:nth-child(1) { width: 76%; }
.hm-lines i:nth-child(2) { width: 92%; background: rgba(255, 255, 255, 0.2); }
.hm-lines i:nth-child(3) { width: 54%; background: rgba(255, 255, 255, 0.14); }

.hm-rings {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 60px;
}

.hm-rings i {
  display: block;
  width: 42px;
  height: 42px;
  border: 5px solid rgba(255, 255, 255, 0.42);
  border-radius: 50%;
}

.hm-rings i:last-child {
  width: 30px;
  height: 30px;
  border-color: rgba(255, 255, 255, 0.22);
}

/* ---------- 核心特色 ---------- */
.routes {
  padding: 76px 0 78px;
  background: #FFFFFF;
  scroll-margin-top: calc(var(--header-height) + 14px);
}

.section-heading {
  max-width: 660px;
  margin-bottom: 38px;
}

.routes .eyebrow,
.screens .eyebrow,
.reviews .eyebrow {
  border-color: var(--line);
  color: var(--violet);
  background: var(--violet-soft);
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(27px, 3.1vw, 38px);
  font-weight: 800;
  letter-spacing: -0.8px;
  line-height: 1.25;
}

.section-heading > p:last-child {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.fours {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.four {
  padding: 26px 26px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, #FBF9FF 0%, #FFFFFF 58%);
  transition: box-shadow 180ms ease, transform 180ms ease;
}

.four:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(74, 47, 224, 0.1);
}

.four .n {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 14px;
  border-radius: 11px;
  color: #FFFFFF;
  background: linear-gradient(135deg, #7A5CFF 0%, #4A2FE0 100%);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.four h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.four p {
  margin: 0;
  color: var(--ink-mid);
  font-size: 14px;
}

/* ---------- 界面展示 ---------- */
.screens {
  padding: 74px 0 80px;
  background: var(--lilac);
  scroll-margin-top: calc(var(--header-height) + 14px);
}

.covers {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.covers figure {
  min-width: 0;
  margin: 0;
  padding: 10px 10px 14px;
  border-radius: 20px;
  background: #FFFFFF;
  box-shadow: 0 12px 26px rgba(74, 47, 224, 0.09);
}

.covers img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top center;
  border-radius: 13px;
  background: var(--violet-soft);
}

.covers b {
  display: block;
  margin-top: 11px;
  padding-left: 4px;
  font-size: 13px;
  font-weight: 700;
}

.covers small {
  display: block;
  padding-left: 4px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}

/* ---------- FAQ ---------- */
.faq {
  padding: 78px 0 24px;
  scroll-margin-top: calc(var(--header-height) + 14px);
}

.faq .section-heading {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.faq-list {
  display: grid;
  max-width: 880px;
  margin: 0 auto;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #FFFFFF;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.faq-item[open] {
  border-color: #C9BCFF;
  box-shadow: 0 12px 26px rgba(74, 47, 224, 0.08);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 60px;
  padding: 4px 20px;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  text-align: left;
}

.faq-item summary .icon {
  flex: none;
  width: 22px;
  height: 22px;
  padding: 3px;
  border-radius: 8px;
  background: var(--violet-soft);
  transition: transform 180ms ease;
  filter: invert(19%) sepia(88%) saturate(4500%) hue-rotate(246deg) brightness(88%) contrast(92%);
}

.faq-item[open] summary .icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 22px 18px;
}

.faq-answer p {
  margin: 0;
  color: var(--ink-mid);
  font-size: 14px;
}

/* ---------- 官方入口 ---------- */
.official {
  padding: 30px 0 78px;
  scroll-margin-top: calc(var(--header-height) + 14px);
}

.official .section-heading {
  max-width: 720px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.official-fold {
  max-width: 880px;
  margin: 0 auto;
  border: 1px solid #C9BCFF;
  border-radius: 16px;
  background: var(--violet-soft);
  overflow: hidden;
}

.official-fold summary {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 20px;
  cursor: pointer;
  list-style: none;
  color: var(--violet-deep);
  font-size: 14px;
  font-weight: 700;
}

.official-fold summary::-webkit-details-marker {
  display: none;
}

.official-fold summary::after {
  margin-left: auto;
  content: "＋";
  font-size: 17px;
  font-weight: 700;
}

.official-fold[open] summary::after {
  content: "－";
}

.official-link {
  padding: 0 20px 16px;
  border-top: 1px dashed #C9BCFF;
}

.official-link p {
  margin: 13px 0 0;
  color: var(--ink-mid);
  font-size: 14px;
}

.official-link a {
  color: var(--violet-deep);
  font-weight: 700;
  word-break: break-all;
}

/* ---------- 用户评价 ---------- */
.reviews {
  padding: 76px 0 80px;
  background: linear-gradient(180deg, #FFFFFF 0%, #F6F3FF 100%);
  scroll-margin-top: calc(var(--header-height) + 14px);
}

.rgrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.review-card {
  display: flex;
  min-height: 200px;
  flex-direction: column;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #FFFFFF;
}

.review-card header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.review-card .who {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 9px;
}

.review-card .who::before {
  display: grid;
  flex: none;
  place-items: center;
  width: 30px;
  height: 30px;
  content: "L";
  border-radius: 50%;
  color: #FFFFFF;
  background: linear-gradient(135deg, #8B6CFF, #4A2FE0);
  font-size: 12px;
  font-weight: 800;
}

.review-card .who b {
  overflow: hidden;
  font-size: 13.5px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.review-card time {
  margin-left: auto;
  color: #9B94B3;
  font-size: 10.5px;
  white-space: nowrap;
}

.review-card > p {
  margin: 13px 0 14px;
  color: var(--ink-mid);
  font-size: 13.6px;
}

.rv-site {
  margin-top: auto;
  padding: 8px 11px;
  border-radius: 9px;
  color: var(--violet-deep);
  background: var(--violet-soft);
  font-size: 11.5px;
}

/* ---------- 下载 CTA ---------- */
.download-cta {
  padding: 0 0 74px;
  scroll-margin-top: calc(var(--header-height) + 14px);
}

.download-inner {
  position: relative;
  padding: 46px 40px 42px;
  border-radius: 30px;
  color: #F3F0FF;
  text-align: center;
  background:
    radial-gradient(circle at 88% 12%, rgba(160, 140, 255, 0.5) 0%, transparent 46%),
    linear-gradient(135deg, #3A22B4 0%, #4A2FE0 52%, #2A1885 100%);
  box-shadow: 0 26px 50px rgba(74, 47, 224, 0.24);
}

.download-cta .section-heading {
  max-width: 640px;
  margin: 0 auto 24px;
}

.download-cta .eyebrow {
  border-color: rgba(255, 255, 255, 0.3);
  color: #D9D0FF;
  background: transparent;
}

.download-cta h2 {
  color: #FFFFFF;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -0.6px;
}

.download-cta .section-heading > p:last-child {
  color: #CFC6F5;
}

.download-cta .button-primary {
  color: var(--violet-deep);
  background: #FFFFFF;
  box-shadow: 0 14px 28px rgba(20, 8, 90, 0.3);
}

.download-cta .button-primary .icon {
  filter: none;
}

.download-cta .button-primary:hover {
  background: #F0EBFF;
}

.disclaimer {
  max-width: 520px;
  margin: 18px auto 0;
  color: #C6BCF0;
  font-size: 12px;
  line-height: 1.8;
}

/* ---------- 页脚 ---------- */
.site-footer {
  padding: 26px 0 24px;
  color: #B7ADDC;
  background: #170F42;
  font-size: 12px;
}

.site-footer .page-shell {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: #DCD3FF;
}

.site-footer a:hover {
  color: #FFFFFF;
}

/* ---------- 返回顶部 ---------- */
.to-top {
  position: fixed;
  right: 22px;
  bottom: 150px;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 14px;
  background: #4A2FE0;
  box-shadow: 0 12px 24px rgba(43, 24, 150, 0.32);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 200ms ease, transform 200ms ease, visibility 200ms ease;
}

.to-top::before {
  width: 9px;
  height: 9px;
  content: "";
  border-top: 2px solid #FFFFFF;
  border-left: 2px solid #FFFFFF;
  transform: rotate(45deg) translate(1px, 1px);
}

.to-top.is-show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
}

.to-top:hover {
  background: #2E1BA8;
}

/* ---------- 响应式 ---------- */
@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  .hero-masonry {
    max-width: 540px;
    margin: 0 auto;
  }

  .rgrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .covers {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .primary-nav a {
    padding: 6px 11px;
    font-size: 12.5px;
  }
}

@media (max-width: 760px) {
  .primary-nav {
    display: none;
  }
}

@media (max-width: 700px) {
  :root {
    --header-height: 60px;
  }

  body {
    padding-top: var(--header-height);
  }

  .site-header {
    position: fixed;
    right: 0;
    left: 0;
    width: 100%;
  }

  .page-shell,
  .nav-shell {
    width: min(calc(100% - 30px), var(--shell));
  }

  .nav-shell {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    grid-template-rows: var(--header-height);
    min-height: var(--header-height);
    column-gap: 8px;
  }

  .brand {
    grid-row: 1;
    grid-column: 1;
    font-size: 16px;
  }

  .brand img {
    width: 30px;
    height: 30px;
    border-radius: 9px;
  }

  .primary-nav {
    display: none;
    grid-row: 2;
    grid-column: 1 / -1;
    margin: 0 -15px;
    padding: 0 15px 14px;
    background: #FFFFFF;
  }

  .primary-nav.is-open {
    display: block;
  }

  .primary-nav ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    padding: 12px 0 0;
    border-radius: 0;
    background: transparent;
  }

  .primary-nav a {
    padding: 9px 12px;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: var(--lilac);
    font-size: 13px;
  }

  .nav-download {
    grid-row: 1;
    grid-column: 3;
    min-height: 34px;
    padding: 0 12px;
    font-size: 12px;
  }

  .menu-toggle {
    display: inline-flex;
    grid-row: 1;
    grid-column: 4;
    width: 34px;
    height: 34px;
  }

  .hero {
    padding: 42px 0 46px;
  }

  .hero h1 {
    font-size: 40px;
  }

  .hero-title {
    font-size: 22px;
  }

  .hm-offset {
    margin-top: 26px;
  }

  .routes,
  .screens,
  .reviews {
    padding: 52px 0 54px;
  }

  .section-heading h2 {
    font-size: 26px;
  }

  .fours {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .four {
    padding: 22px 20px;
  }

  .covers {
    gap: 12px;
  }

  .faq {
    padding: 52px 0 16px;
  }

  .official {
    padding: 18px 0 52px;
  }

  .rgrid {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .review-card {
    min-height: 0;
  }

  .download-cta {
    padding-bottom: 50px;
  }

  .download-inner {
    padding: 32px 20px 30px;
    border-radius: 22px;
  }

  .site-footer .page-shell {
    display: block;
    text-align: center;
  }

  .site-footer p + p {
    margin-top: 6px;
  }

  .to-top {
    right: 14px;
    bottom: 134px;
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 380px) {
  .brand span {
    font-size: 14px;
  }

  .nav-download span {
    display: none;
  }

  .nav-download {
    width: 34px;
    padding: 0;
  }

  .hero-masonry {
    gap: 10px;
  }

  .hm-col {
    gap: 10px;
  }

  .hero h1 {
    font-size: 34px;
  }
}
