@charset "UTF-8";

:root {
  --brand: #4B12BE;
  --brand-deep: #331388;
  --accent: #F50BC5;
  --paper: #F5F0FF;
  --surface: #FFFFFF;
  --ink: #140A3B;
  --muted: #574A7C;
  --line: #E3D5FB;
  --radius: 26px;
  --radius-sm: 16px;
  --shell: 1180px;
  --header-height: 76px;
  --shadow: 0 26px 52px rgba(75, 18, 190, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0.005em;
}

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

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

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

button {
  color: inherit;
  font: inherit;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--brand);
  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-plus::before {
  background-image: url("../icons/plus.svg");
}

.icon-globe::before {
  background-image: url("../icons/globe.svg");
}

.icon-download,
.icon-plus,
.icon-globe {
  filter: invert(15%) sepia(74%) saturate(4470%) hue-rotate(330deg) brightness(88%) contrast(96%);
}

/* ===== 顶栏：浮起白条 ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  padding: 10px 0;
  background: rgba(255, 241, 242, 0.82);
  backdrop-filter: blur(14px);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 48px), var(--shell));
  min-height: calc(var(--header-height) - 20px);
  margin: 0 auto;
  padding: 0 10px 0 14px;
  gap: 22px;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 10px 26px rgba(75, 18, 190, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: max-content;
  gap: 9px;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.3px;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  object-fit: contain;
  background: #FFF1F2;
}

.primary-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 4px;
  list-style: none;
  border-radius: 999px;
  background: #FFF5F6;
}

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

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

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

.nav-download {
  min-width: 136px;
  padding: 0 18px;
  color: #FFFFFF;
  background: linear-gradient(120deg, #4B12BE 0%, #631DE1 100%);
  box-shadow: 0 10px 20px rgba(75, 18, 190, 0.26);
}

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

.nav-download:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(75, 18, 190, 0.3);
}

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

.menu-toggle .icon {
  width: 20px;
  height: 20px;
}

/* ===== 英雄区：契合度仪表 + 对话预览 ===== */
.hero {
  position: relative;
  padding: 58px 0 70px;
  overflow: hidden;
  background:
    radial-gradient(520px 300px at 8% 8%, #F2E4FF 0%, rgba(255, 241, 242, 0) 70%),
    radial-gradient(420px 260px at 94% 84%, #FEC7E9 0%, rgba(255, 241, 242, 0) 72%),
    linear-gradient(180deg, #FFF7F7 0%, #FFF1F2 100%);
  scroll-margin-top: calc(var(--header-height) + 12px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(400px, 500px);
  align-items: center;
  gap: 44px;
}

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

.eyebrow {
  margin: 0 0 12px;
  color: var(--brand);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2.4px;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  color: var(--brand-deep);
  font-size: clamp(50px, 6.2vw, 74px);
  font-weight: 800;
  letter-spacing: -2.2px;
  line-height: 1;
  overflow-wrap: anywhere;
}

.hero-title {
  margin: 16px 0 18px;
  font-size: clamp(24px, 2.9vw, 33px);
  font-weight: 800;
  line-height: 1.36;
  letter-spacing: -0.4px;
}

.hero-summary {
  max-width: 476px;
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 15.5px;
}

.button {
  min-width: 176px;
  padding: 0 26px;
}

.button-primary {
  color: #FFFFFF;
  background: linear-gradient(120deg, #3C129F 0%, #631DE1 62%, #893FF4 100%);
  box-shadow: 0 16px 32px rgba(75, 18, 190, 0.28);
}

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

.button-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 38px rgba(75, 18, 190, 0.32);
}

.bondPanel {
  width: 100%;
  max-width: 500px;
  margin-left: auto;
  padding: 18px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #EDE0FF;
  border-radius: 30px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(6px);
}

.bondGauge {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 6px 6px 16px;
  border-bottom: 1px dashed var(--line);
}

.gaugeRing {
  position: relative;
  display: grid;
  place-content: center;
  flex: 0 0 132px;
  width: 132px;
  height: 132px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 50%, #FFFFFF 0 55%, transparent 56%),
    conic-gradient(var(--brand) 0 68%, var(--accent) 68% 86%, #ECE1FF 86% 100%);
  border-radius: 50%;
}

.gaugeRing::after {
  position: absolute;
  inset: 16px;
  content: "";
  border-radius: 50%;
  background: #FFFFFF;
  box-shadow: inset 0 0 0 1px #EFE4FF;
}

.gaugeVal {
  position: relative;
  z-index: 1;
  color: var(--brand-deep);
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
}

.gaugeVal small {
  margin-left: 1px;
  font-size: 14px;
  font-weight: 700;
  color: var(--brand);
}

.gaugeCap {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 10.5px;
  letter-spacing: 0.08em;
}

.gaugeLegend {
  flex: 1;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.gaugeLegend li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 0;
  color: var(--muted);
  font-size: 12px;
  border-bottom: 1px solid #FFF1F3;
}

.gaugeLegend li:last-child {
  border-bottom: 0;
}

.gaugeLegend b {
  color: var(--brand-deep);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

.bondChat {
  padding: 14px 4px 2px;
}

.bondChatTop {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 12px;
  color: var(--brand-deep);
  font-size: 12.5px;
  font-weight: 700;
}

.bondChatTop span {
  color: #8D84B0;
  font-size: 10.5px;
  font-weight: 500;
}

.bubble {
  max-width: 88%;
  margin-bottom: 9px;
  padding: 10px 14px;
  font-size: 12.5px;
  line-height: 1.65;
  border-radius: 16px;
}

.bubbleLeft {
  color: #35245C;
  background: #FFF1F3;
  border-bottom-left-radius: 5px;
}

.bubbleRight {
  margin-left: auto;
  color: #FFFFFF;
  background: linear-gradient(120deg, #4B12BE, #631DE1);
  border-bottom-right-radius: 5px;
}

.bondNow {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 12px;
  padding-top: 11px;
  color: var(--brand);
  font-size: 11px;
  font-weight: 700;
  border-top: 1px dashed var(--line);
}

.bondNow i {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(245, 11, 197, 0.2);
}

/* ===== 通用标题 ===== */
.section-heading {
  max-width: 640px;
  margin-bottom: 34px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(28px, 3.2vw, 41px);
  font-weight: 800;
  line-height: 1.24;
  letter-spacing: -1px;
}

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

/* ===== 核心特色：圆角软卡 ===== */
.routes {
  padding: 74px 0 78px;
  background: var(--surface);
  scroll-margin-top: calc(var(--header-height) + 12px);
}

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

.four {
  padding: 28px 28px 26px;
  background: linear-gradient(160deg, #FFF8F9 0%, #FFF1F3 100%);
  border: 1px solid #EDE1FF;
  border-radius: var(--radius);
  transition: box-shadow 180ms ease, transform 180ms ease;
}

.four:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 32px rgba(75, 18, 190, 0.1);
}

.four .n {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  color: #FFFFFF;
  font-size: 12.5px;
  font-weight: 800;
  background: linear-gradient(140deg, #4B12BE, #AD71FB);
  border-radius: 14px;
}

.four h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 800;
}

.four p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

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

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

.covers figure {
  min-width: 0;
  margin: 0;
  padding: 10px;
  background: #FFFFFF;
  border: 1px solid #EDE1FF;
  border-radius: 22px;
  box-shadow: 0 14px 28px rgba(75, 18, 190, 0.07);
}

.covers figure:nth-child(odd) {
  transform: translateY(14px);
}

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

.covers b {
  display: block;
  margin: 11px 6px 0;
  color: var(--brand-deep);
  font-size: 13.5px;
  font-weight: 800;
}

.covers small {
  display: block;
  margin: 3px 6px 4px;
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.6;
}

/* ===== FAQ ===== */
.faq {
  padding: 86px 0 40px;
  background: #FFFFFF;
  scroll-margin-top: calc(var(--header-height) + 12px);
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  background: #FFF8F9;
  border: 1px solid #EDE1FF;
  border-radius: 18px;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 60px;
  padding: 0 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;
  line-height: 1.5;
}

.faq-item summary .icon {
  flex: none;
  transition: transform 180ms ease;
}

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

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

.faq-answer p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.82;
}

/* ===== 官方入口 ===== */
.official {
  padding: 18px 0 76px;
  background: #FFFFFF;
}

.official h2 {
  font-size: 29px;
}

.official-fold {
  overflow: hidden;
  background: #FFF1F3;
  border: 1px solid #D7CFFB;
  border-radius: 20px;
}

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

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

.official-fold summary::after {
  margin-left: auto;
  color: var(--brand);
  font-size: 20px;
  font-weight: 700;
  content: "+";
}

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

.official-link {
  padding: 4px 22px 16px;
  border-top: 1px dashed #D5C9F7;
}

.official-link p {
  margin: 12px 0 0;
  font-size: 14px;
}

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

/* ===== 用户评价：莓果渐变底 ===== */
.reviews {
  padding: 78px 0 86px;
  color: #EEE4FF;
  background:
    radial-gradient(520px 260px at 90% 4%, rgba(245, 11, 197, 0.2), rgba(26, 5, 76, 0) 70%),
    linear-gradient(160deg, #1A054C 0%, #331388 100%);
  scroll-margin-top: calc(var(--header-height) + 12px);
}

.reviews .eyebrow {
  color: #FC4DC0;
}

.reviews .section-heading h2 {
  color: #FFFFFF;
}

.reviews .section-heading > p:last-child {
  color: #CCA4FD;
}

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

.review-card {
  display: flex;
  flex-direction: column;
  min-height: 218px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(204, 164, 253, 0.28);
  border-radius: 20px;
}

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

.review-card header b {
  color: #FFFFFF;
  font-size: 13.5px;
  font-weight: 700;
}

.review-card time {
  color: #BCA1E9;
  font-size: 11px;
  white-space: nowrap;
}

.review-card > p {
  margin: 14px 0 0;
  color: #E9DCFF;
  font-size: 13.5px;
  line-height: 1.8;
}

.rv-site {
  margin-top: auto;
  padding-top: 14px;
  color: #FC4DC0;
  font-size: 11.5px;
  font-weight: 700;
}

/* ===== 下载模块 ===== */
.download-cta {
  padding: 78px 0 84px;
  background: var(--paper);
}

.download-cta .page-shell {
  padding: 44px 46px;
  background:
    radial-gradient(360px 220px at 88% 12%, rgba(245, 11, 197, 0.28), rgba(75, 18, 190, 0) 70%),
    linear-gradient(125deg, #331388 0%, #4B12BE 62%, #631DE1 100%);
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.download-cta .eyebrow {
  color: #FC4DC0;
}

.download-cta h2 {
  margin: 0;
  color: #FFFFFF;
  font-size: clamp(27px, 3.3vw, 40px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.24;
}

.download-cta .section-heading {
  max-width: none;
  margin-bottom: 22px;
}

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

.download-cta .button-primary {
  color: var(--brand-deep);
  background: #FFFFFF;
  box-shadow: 0 16px 30px rgba(26, 5, 76, 0.26);
}

.download-cta .button-primary .icon {
  filter: invert(15%) sepia(74%) saturate(4470%) hue-rotate(330deg) brightness(88%) contrast(96%);
}

.disclaimer {
  margin: 20px 0 0;
  color: #E3D3FF;
  font-size: 12.5px;
}

.site-footer {
  padding: 32px 0 18px;
  color: #B19BD7;
  background: #1A073F;
  text-align: center;
}

.site-footer p {
  margin: 0 0 8px;
  font-size: 12.5px;
}

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

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

.icp a {
  color: #9881C1;
  font-size: 12px;
}

/* ===== 返回顶部 ===== */
.to-top {
  position: fixed;
  right: 24px;
  bottom: 152px;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  background: linear-gradient(140deg, #4B12BE, #631DE1);
  box-shadow: 0 12px 26px rgba(26, 5, 76, 0.32);
  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;
  border-top: 2px solid #FFFFFF;
  border-left: 2px solid #FFFFFF;
  content: "";
  transform: rotate(45deg) translate(1px, 1px);
}

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

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

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

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

  .covers figure:nth-child(odd) {
    transform: none;
  }

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

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

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

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

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

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

  .brand {
    grid-row: 1;
    grid-column: 1;
    gap: 7px;
    font-size: 17px;
  }

  .brand img {
    width: 30px;
    height: 30px;
  }

  .primary-nav {
    display: none;
    grid-row: 2;
    grid-column: 1 / -1;
    margin: 8px -10px 0;
    padding: 0 16px 14px;
    background: #FFF8F9;
    border: 1px solid var(--line);
    border-top: 0;
    border-radius: 0 0 20px 20px;
  }

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

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

  .primary-nav a {
    padding: 10px 12px;
    background: #FFFFFF;
    border: 1px solid var(--line);
    font-size: 13px;
  }

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

  .nav-download .icon {
    width: 15px;
    height: 15px;
  }

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

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

  .hero-grid {
    gap: 24px;
  }

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

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

  .hero-summary {
    font-size: 14.5px;
  }

  .bondPanel {
    max-width: 100%;
    padding: 14px;
    border-radius: 24px;
  }

  .bondGauge {
    gap: 14px;
  }

  .gaugeRing {
    flex-basis: 116px;
    width: 116px;
    height: 116px;
  }

  .gaugeVal {
    font-size: 30px;
  }

  .routes,
  .screens,
  .reviews,
  .download-cta {
    padding: 50px 0;
  }

  .fours {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .four {
    padding: 22px 20px;
  }

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

  .covers {
    gap: 12px;
  }

  .faq {
    padding: 50px 0 28px;
  }

  .official {
    padding: 12px 0 50px;
  }

  .rgrid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

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

  .download-cta .page-shell {
    padding: 28px 20px;
    border-radius: 22px;
  }

  .download-cta .button-primary {
    width: 100%;
  }

  .to-top {
    right: 16px;
    bottom: 136px;
    width: 40px;
    height: 40px;
  }
}

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

  .nav-download span {
    display: none;
  }

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

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

  .primary-nav ul {
    grid-template-columns: 1fr;
  }
}
