@charset "UTF-8";

:root {
  --brand: #2563EB;
  --brand-deep: #1F63E2;
  --accent: #7C66FF;
  --paper: #F2F7FF;
  --surface: #FFFFFF;
  --ink: #1C253A;
  --muted: #5C688A;
  --line: #D3DFFF;
  --radius: 26px;
  --radius-sm: 16px;
  --shell: 1200px;
  --header-height: 76px;
  --shadow: 0 24px 46px rgba(31, 99, 226, 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: "Hiragino Sans GB", "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

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-deep);
  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(48%) sepia(76%) saturate(2387%) hue-rotate(336deg) brightness(99%) contrast(101%);
}

/* ===== 顶栏 ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: #FFF8F4;
  border-bottom: 2px solid #DDE3FF;
}

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

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

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  object-fit: contain;
  background: #FFFFFF;
  box-shadow: 0 4px 10px rgba(31, 99, 226, 0.16);
}

.primary-nav ul {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.primary-nav a {
  position: relative;
  display: inline-block;
  padding: 6px 0;
  color: #3D4A6B;
  font-size: 13.5px;
  font-weight: 700;
}

.primary-nav a::before {
  position: absolute;
  top: 50%;
  left: -11px;
  width: 4px;
  height: 4px;
  content: "";
  background: var(--accent);
  border-radius: 50%;
  opacity: 0;
  transform: translateY(-50%);
  transition: opacity 160ms ease;
}

.primary-nav a:hover {
  color: var(--brand-deep);
}

.primary-nav a:hover::before {
  opacity: 1;
}

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

.nav-download {
  min-width: 138px;
  padding: 0 20px;
  color: #FFFFFF;
  background: var(--brand);
  border-radius: 8px 22px 22px 22px;
  box-shadow: 0 10px 20px rgba(31, 99, 226, 0.26);
}

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

.nav-download:hover {
  background: var(--brand-deep);
  transform: translateY(-1px);
}

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

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

/* ===== 英雄区：双列气泡时间轴 ===== */
.hero {
  position: relative;
  padding: 58px 0 72px;
  overflow: hidden;
  background:
    radial-gradient(520px 320px at 6% 8%, #D6E0FF 0%, rgba(255, 245, 240, 0) 70%),
    radial-gradient(560px 340px at 96% 84%, #D3C9FF 0%, rgba(255, 245, 240, 0) 72%),
    var(--paper);
  scroll-margin-top: calc(var(--header-height) + 14px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(410px, 520px);
  align-items: center;
  gap: 46px;
}

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

.eyebrow {
  margin: 0 0 12px;
  color: var(--brand-deep);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2.6px;
}

.hero h1 {
  margin: 0;
  color: #0E182E;
  font-size: clamp(50px, 6.2vw, 76px);
  font-weight: 900;
  letter-spacing: -2.6px;
  line-height: 1;
  overflow-wrap: anywhere;
}

.hero-title {
  margin: 15px 0 16px;
  font-size: clamp(25px, 3vw, 34px);
  font-weight: 800;
  letter-spacing: -0.4px;
  line-height: 1.32;
}

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

.button {
  min-width: 176px;
  padding: 0 26px;
  border-radius: 8px 24px 24px 24px;
}

.button-primary {
  color: #FFFFFF;
  background: linear-gradient(118deg, var(--brand) 0%, #5F8DFF 100%);
  box-shadow: 0 16px 30px rgba(31, 99, 226, 0.28);
}

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

.button-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 36px rgba(31, 99, 226, 0.34);
}

.chatFlow {
  width: 100%;
  max-width: 520px;
  margin-left: auto;
  overflow: hidden;
  background: #FFFFFF;
  border: 1px solid #D6E0FF;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.cfTags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 14px 16px;
  background: #FFF9F4;
  border-bottom: 1px solid #DDE3FF;
}

.cfTag {
  padding: 4px 12px;
  color: #64749A;
  background: #FFFFFF;
  border: 1px solid #D3DFFF;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
}

.cfTag.is-on {
  color: #FFFFFF;
  background: var(--brand);
  border-color: var(--brand);
  box-shadow: 0 4px 10px rgba(31, 99, 226, 0.24);
}

.cfTimeline {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 22px;
  padding: 16px 14px 8px;
}

.cfTimeline::before {
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 50%;
  width: 1px;
  content: "";
  background: repeating-linear-gradient(180deg, #C6D3FF 0 5px, transparent 5px 10px);
}

.cfClock {
  grid-column: 1 / -1;
  justify-self: center;
  padding: 2px 10px;
  color: #7B88A9;
  background: #FFF4ED;
  border-radius: 999px;
  font-size: 9.5px;
  letter-spacing: 0.05em;
}

.cfMsg {
  display: flex;
  align-items: flex-end;
  gap: 7px;
  min-width: 0;
}

.cfMsg.left {
  grid-column: 1;
  justify-content: flex-end;
}

.cfMsg.right {
  grid-column: 2;
  justify-content: flex-start;
}

.cfAva {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  object-fit: cover;
  background: #D3DFFF;
  border-radius: 9px;
}

.cfBubble {
  max-width: 100%;
  padding: 8px 12px;
  color: #242F4A;
  background: #FFF6F0;
  border: 1px solid #D6DFFF;
  border-radius: 14px 14px 4px 14px;
  font-size: 11.5px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.cfMsg.left .cfBubble {
  border-radius: 14px 14px 14px 4px;
  background: #FFFFFF;
}

.cfBubble.me {
  color: #FFFFFF;
  background: linear-gradient(120deg, #4A8EFF, #6393FF);
  border-color: transparent;
  border-radius: 14px 14px 4px 14px;
}

.cfFoot {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 16px 14px;
  color: #7B88A9;
  font-size: 10.5px;
  border-top: 1px dashed #D6DFFF;
}

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

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

.section-heading h2::after {
  display: block;
  width: 54px;
  height: 4px;
  margin-top: 14px;
  content: "";
  background: var(--accent);
  border-radius: 2px;
}

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

/* ===== 核心特色：四列贴纸卡 ===== */
.routes {
  padding: 74px 0 80px;
  background: #FFFFFF;
  scroll-margin-top: calc(var(--header-height) + 14px);
}

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

.four {
  position: relative;
  padding: 24px 20px 22px;
  background: #FFFBF8;
  border: 1px solid var(--line);
  border-bottom: 3px solid var(--brand);
  border-radius: var(--radius-sm);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.four:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 28px rgba(31, 99, 226, 0.12);
}

.four .n {
  display: inline-block;
  margin-bottom: 12px;
  padding: 2px 9px;
  color: #2C50A2;
  background: #D8D9FF;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

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

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

/* ===== 界面展示：横向图文卡 ===== */
.screens {
  padding: 76px 0 80px;
  background: #E8ECFF;
  scroll-margin-top: calc(var(--header-height) + 14px);
}

.screens .section-heading h2::after {
  background: #FFFFFF;
}

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

.covers figure {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  min-width: 0;
  margin: 0;
  padding: 14px;
  background: #FFFFFF;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(62, 94, 178, 0.08);
}

.covers img {
  width: 118px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top center;
  border-radius: 14px;
  background: var(--paper);
}

.covers b {
  display: block;
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
}

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

/* ===== FAQ：双列 ===== */
.faq {
  padding: 76px 0 42px;
  background: #FFFFFF;
  scroll-margin-top: calc(var(--header-height) + 14px);
}

.faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}

.faq-item {
  background: #FFFBF8;
  border: 1px solid var(--line);
  border-radius: 18px;
}

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

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

.faq-item summary h3 {
  margin: 0;
  font-size: 14.5px;
  font-weight: 800;
  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 18px 16px;
}

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

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

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

.official-fold {
  background: #FFF9F4;
  border: 1px solid #C9D4FF;
  border-radius: 20px;
}

.official-fold summary {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 20px;
  color: var(--brand-deep);
  font-size: 14px;
  font-weight: 800;
  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;
  content: "+";
}

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

.official-link {
  padding: 2px 20px 18px;
  border-top: 1px dashed #C9D4FF;
}

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

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

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

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

.review-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 214px;
  padding: 22px 22px 20px;
  background: #FFFFFF;
  border-radius: 20px;
  box-shadow: 0 10px 24px rgba(62, 94, 178, 0.09);
}

.review-card::before {
  position: absolute;
  top: 14px;
  right: 18px;
  color: #D2DEFF;
  font-family: Georgia, serif;
  font-size: 40px;
  line-height: 1;
  content: "”";
}

.review-card header {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.review-card header b {
  font-size: 14px;
  font-weight: 800;
}

.review-card time {
  color: #8995B3;
  font-size: 11px;
}

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

.rv-site {
  margin-top: auto;
  padding-top: 13px;
  color: var(--brand-deep);
  font-size: 11.5px;
  font-weight: 700;
}

/* ===== 下载 ===== */
.download-cta {
  padding: 72px 0 78px;
  color: #FFFFFF;
  background: linear-gradient(118deg, #1F63E2 0%, #4A8EFF 52%, #6890FF 100%);
}

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

.download-cta h2 {
  margin: 0;
  color: #FFFFFF;
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 900;
  letter-spacing: -0.8px;
  line-height: 1.24;
}

.download-cta .section-heading h2::after {
  background: #C9CDFF;
}

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

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

.download-cta .button-primary {
  color: var(--brand-deep);
  background: #FFFFFF;
  box-shadow: 0 18px 32px rgba(10, 35, 90, 0.22);
}

.download-cta .button-primary .icon {
  filter: invert(40%) sepia(73%) saturate(2200%) hue-rotate(338deg) brightness(98%) contrast(101%);
}

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

.site-footer {
  padding: 32px 0 20px;
  color: #BCC6E6;
  background: #141A2B;
  text-align: center;
}

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

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

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

.icp a {
  color: #8D9CC7;
  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: var(--brand);
  box-shadow: 0 12px 24px rgba(31, 99, 226, 0.3);
  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: 960px) {
  .fours {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

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

  .chatFlow {
    max-width: 520px;
    margin: 0 auto;
  }

  .covers {
    grid-template-columns: 1fr;
  }

  .faq-list {
    grid-template-columns: 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%;
  }

  .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: var(--header-height);
    min-height: var(--header-height);
    column-gap: 10px;
  }

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

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

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

  .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;
  }

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

  .primary-nav a::before {
    display: none;
  }

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

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

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

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

  .hero-grid {
    gap: 24px;
  }

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

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

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

  .cfTimeline {
    gap: 10px 12px;
    padding: 14px 10px 6px;
  }

  .cfBubble {
    padding: 7px 10px;
    font-size: 10.5px;
  }

  .cfAva {
    display: none;
  }

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

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

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

  .covers figure {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 13px;
  }

  .covers img {
    width: 96px;
  }

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

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

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

  .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: 36px;
    padding: 0;
  }

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

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