/* 落地页 */

/* ---------- 导航 ---------- */
.nav .topbar__in {
  height: 72px;
}
.nav__links {
  display: flex;
  justify-content: center;
  gap: 4px;
}
.nav__link {
  padding: 10px 14px;
  border-radius: var(--r-pill);
  font: 500 15px/1 var(--font-body);
  color: var(--text-2);
  transition: color 0.18s, background 0.18s;
}
.nav__link:hover {
  color: var(--text);
  background: var(--surface-2);
}
@media (max-width: 859px) {
  .nav__links {
    display: none;
  }
  .nav .topbar__in {
    grid-template-columns: 1fr auto;
    height: 62px;
  }
  .logo {
    font-size: 20px;
  }
}
@media (max-width: 480px) {
  .btn {
    white-space: normal;
    text-align: center;
    line-height: 1.25;
  }
  .btn--lg {
    min-height: 58px;
    padding: 12px 24px;
  }
  .hero__cta {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(36px, 6vw, 88px) 0 clamp(56px, 7vw, 104px);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 0%, #000, transparent);
  mask-image: radial-gradient(70% 60% at 50% 0%, #000, transparent);
  opacity: 0.5;
  pointer-events: none;
}
.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}
.hero__copy {
  display: grid;
  justify-items: start;
  gap: 26px;
}
.hero h1 {
  max-width: 15em;
  font-size: clamp(38px, 3.9vw, 56px);
  line-height: 1.06;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.hero__sub {
  max-width: 540px;
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.6;
  color: var(--text-2);
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  padding-top: 6px;
}
.trust {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
}
.trust .ico {
  width: 17px;
  height: 17px;
  color: var(--safe-2);
}
@media (max-width: 960px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero__copy {
    justify-items: center;
    text-align: center;
  }
  .hero__cta,
  .hero__trust {
    justify-content: center;
  }
}

/* ---------- Hero 视觉：手机与漂浮标签 ---------- */
.hero__visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 600px;
}
.hero__halo {
  position: absolute;
  width: min(640px, 100%);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 111, 165, 0.22) 0%, rgba(197, 107, 255, 0.14) 34%, rgba(123, 140, 255, 0.06) 56%, transparent 72%);
}
.phone {
  position: relative;
  width: 296px;
  aspect-ratio: 9 / 19.2;
  border-radius: 48px;
  background: #0a0812;
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: 0 0 0 9px #100c19, 0 0 0 10px rgba(255, 255, 255, 0.15), 0 50px 110px rgba(0, 0, 0, 0.7), 0 0 100px rgba(197, 107, 255, 0.28);
  transform: perspective(1500px) rotateY(-12deg) rotateX(3deg);
  animation: phoneFloat 9s ease-in-out infinite alternate;
  overflow: hidden;
}
@keyframes phoneFloat {
  from { transform: perspective(1500px) rotateY(-13deg) rotateX(3deg) translateY(-8px); }
  to { transform: perspective(1500px) rotateY(-8deg) rotateX(1deg) translateY(8px); }
}
.phone::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: inherit;
  background: linear-gradient(130deg, rgba(255, 255, 255, 0.16), transparent 36%, transparent 68%, rgba(255, 255, 255, 0.06));
  pointer-events: none;
}
.phone__notch {
  position: absolute;
  left: 50%;
  top: 10px;
  z-index: 2;
  width: 92px;
  height: 26px;
  border-radius: 99px;
  background: #040308;
  transform: translateX(-50%);
}
.phone__screen {
  position: absolute;
  inset: 6px;
  display: flex;
  flex-direction: column;
  padding: 46px 12px 14px;
  border-radius: 42px;
  overflow: hidden;
  background: linear-gradient(180deg, #130f1e, #0b0912);
}
.phone__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding: 0 6px;
}
.phone__bar b {
  font: 700 15px/1 var(--font-display);
}
.phone__bar .pill {
  height: 26px;
  padding: 0 9px;
  font-size: 11px;
}
.phone__chat {
  flex: none;
  min-height: 112px;
  margin-bottom: 4px;
}
.phone__chat .bubble {
  max-width: 90%;
  padding: 9px 13px;
  border-radius: 16px;
  font-size: 13.5px;
  line-height: 1.4;
  animation: none;
}
.phone__typingrow {
  display: flex;
  align-items: flex-start;
  height: 40px;
  margin: 2px 0 8px;
}
.phone__typingrow .typing {
  padding: 10px 14px;
  transform-origin: left top;
}
.ph-me { animation: phMe 12s var(--ease) infinite; }
.ph-them { animation: phThem 12s var(--ease) infinite; }
.ph-typing { animation: phTyping 12s var(--ease) infinite; }
.ph-card { animation: phCard 12s var(--ease) infinite; }
.ph-card:nth-child(2) { animation-delay: 0.45s; }
.ph-card:nth-child(3) { animation-delay: 0.9s; }
.ph-copied { animation: phCopied 12s var(--ease) infinite; }
@keyframes phMe {
  0% { opacity: 0; transform: translateY(10px) scale(.96); }
  5%, 88% { opacity: 1; transform: none; }
  94%, 100% { opacity: 0; transform: translateY(-8px); }
}
@keyframes phThem {
  0%, 15% { opacity: 0; transform: translateY(10px) scale(.96); }
  21%, 88% { opacity: 1; transform: none; }
  94%, 100% { opacity: 0; transform: translateY(-8px); }
}
@keyframes phTyping {
  0%, 17% { opacity: 0; transform: scale(.7); }
  20%, 32% { opacity: 1; transform: none; }
  36%, 100% { opacity: 0; transform: scale(.7); }
}
@keyframes phCard {
  0% { opacity: 0; transform: translateY(16px); }
  40%, 88% { opacity: 1; transform: none; }
  94%, 100% { opacity: 0; transform: translateY(-8px); }
}
@keyframes phCopied {
  0%, 62% { opacity: 0; transform: translateY(6px) scale(.9); }
  66%, 82% { opacity: 1; transform: none; }
  87%, 100% { opacity: 0; transform: translateY(-4px); }
}
.mcard {
  position: relative;
  margin-top: 8px;
  padding: 10px 12px 10px 15px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
}
.mcard::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  border-radius: 3px;
  background: var(--tone);
  box-shadow: 0 0 14px var(--tone);
}
.mcard__chip {
  font: 700 10px/1 var(--font-body);
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--tone-2);
}
.mcard__text {
  margin-top: 5px;
  font-size: 12.5px;
  line-height: 1.38;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.mcard__why {
  margin-top: 4px;
  font-size: 10.5px;
  line-height: 1.35;
  color: var(--text-3);
}
.mcard--safe { --tone: var(--safe); --tone-2: var(--safe-2); }
.mcard--bold { --tone: var(--bold); --tone-2: var(--bold-2); }
.mcard--playful { --tone: var(--play); --tone-2: var(--play-2); }
.phone__copied {
  position: absolute;
  right: 16px;
  bottom: 22px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 99px;
  background: var(--safe);
  color: var(--ink);
  font: 700 12px/1 var(--font-body);
  box-shadow: 0 8px 24px rgba(52, 211, 153, 0.45);
}
.phone__copied .ico {
  width: 14px;
  height: 14px;
  stroke-width: 3;
}
.fchip {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 15px;
  border-radius: 16px;
  background: rgba(23, 18, 37, 0.86);
  border: 1px solid var(--border-2);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.5);
  font: 600 13px/1 var(--font-body);
  animation: floatY 6s ease-in-out infinite alternate;
}
.fchip i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--c, var(--pink));
  box-shadow: 0 0 10px var(--c, var(--pink));
}
.fchip .ico {
  width: 17px;
  height: 17px;
  color: var(--c, var(--pink));
}
.fchip--1 { top: 13%; left: 0; --c: var(--safe); }
.fchip--2 { top: 31%; right: -2%; --c: var(--bold); animation-delay: -2s; }
.fchip--3 { bottom: 19%; left: 2%; --c: var(--play); animation-delay: -4s; }
.fchip--4 { top: 1%; right: 5%; --c: var(--violet); animation-delay: -1s; }
.fchip--5 { bottom: 2%; left: 20%; --c: var(--peri); animation-delay: -3s; }
.fchips {
  display: contents;
}
/* 无动画模式下呈现最终状态：不显示打字指示器，保留“已复制”标记 */
.noanim .ph-typing {
  opacity: 0;
}
.noanim .ph-me,
.noanim .ph-them,
.noanim .ph-card,
.noanim .ph-copied {
  opacity: 1;
}
@media (max-width: 1200px) {
  .fchip--2 { right: 0; }
  .fchip--5 { right: 0; }
}
@media (max-width: 960px) {
  .hero__visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 0;
    padding-top: 28px;
  }
  .phone {
    transform: none;
    animation: floatY 7s ease-in-out infinite alternate;
  }
  .fchips {
    display: flex;
    gap: 8px;
    margin-top: 20px;
  }
  .fchips .fchip {
    position: static;
    animation: none;
  }
  .fchip { font-size: 12px; padding: 9px 12px; }
  .fchip--4 { top: 0; right: 6%; }
  .fchip--5 { display: none; }
}
@media (max-width: 520px) {
  .hero__visual {
    min-height: 0;
  }
  .phone {
    width: 262px;
  }
  .fchip--4,
  .phone__copied {
    display: none;
  }
}

/* ---------- 试用区 ---------- */
.demo {
  max-width: 1040px;
  margin: 0 auto;
  padding: clamp(20px, 3vw, 36px);
  position: relative;
}
.demo .scen-tabs {
  margin-bottom: 24px;
}
.demo__body {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: start;
}
.demo__left {
  display: grid;
  gap: 16px;
}
.demo__chatbox {
  padding: 22px;
  border-radius: 22px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border);
}
.demo__cards {
  display: grid;
  gap: 12px;
}
.demo__foot {
  margin-top: 28px;
  text-align: center;
  display: grid;
  gap: 12px;
  justify-items: center;
}
.demo.is-switching .demo__chatbox .bubble {
  animation: bubbleIn 0.35s var(--ease) both;
}
.demo.is-switching .demo__cards .rcard {
  animation: riseIn 0.45s var(--ease) both;
}
.demo.is-switching .demo__cards .rcard:nth-child(2) { animation-delay: 0.07s; }
.demo.is-switching .demo__cards .rcard:nth-child(3) { animation-delay: 0.14s; }
@media (max-width: 900px) {
  .demo__body {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- 三步 ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.step {
  position: relative;
  padding: 30px 26px 28px;
  overflow: hidden;
}
.step__num {
  position: absolute;
  right: 22px;
  top: 16px;
  font: 800 64px/1 var(--font-display);
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0.75;
}
.step__ico {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin-bottom: 20px;
  border-radius: 16px;
  background: var(--surface-2);
  border: 1px solid var(--border-2);
  color: var(--c, var(--pink));
}
.step h3 {
  margin-bottom: 10px;
  font-size: 22px;
}
.step p {
  font-size: 15px;
  color: var(--text-2);
}
@media (max-width: 860px) {
  .steps {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- 功能区（便当格） ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.bcell {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 236px;
  padding: 28px;
  overflow: hidden;
}
.bcell--w2 {
  grid-column: span 2;
}
.bcell--w3 {
  grid-column: span 3;
}
.bcell__ico {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 15px;
  background: var(--surface-2);
  border: 1px solid var(--border-2);
  color: var(--c, var(--pink));
}
.bcell h3 {
  font-size: 21px;
  line-height: 1.25;
}
.bcell p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-2);
}
.bcell__visual {
  margin-top: auto;
  padding-top: 18px;
}
.bcell--safe { --c: var(--safe-2); }
.bcell--bold { --c: var(--bold-2); }
.bcell--play { --c: var(--play-2); }
.bcell--violet { --c: var(--violet); }
.bcell--peri { --c: var(--peri); }
.bcell--shield .bcell__shieldbg {
  position: absolute;
  right: -40px;
  bottom: -60px;
  width: 260px;
  height: 260px;
  color: var(--violet);
  opacity: 0.12;
  pointer-events: none;
}
.bcell--shield .bcell__shieldbg .ico {
  width: 100%;
  height: 100%;
  stroke-width: 0.9;
}
.trio {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.trio__bar {
  flex: 1 1 90px;
  height: 8px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--c), transparent);
  opacity: 0.8;
}
.mini-why {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border);
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-2);
}
.mini-why b {
  color: var(--safe-2);
}
.mini-why mark {
  padding: 1px 5px;
  border-radius: 6px;
  background: rgba(197, 107, 255, 0.28);
  color: var(--text);
}
.mini-ring {
  display: flex;
  align-items: center;
  gap: 16px;
}
.mini-ring small {
  font-size: 13px;
  line-height: 1.45;
  color: var(--text-3);
}
.appchips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.appchip {
  padding: 8px 14px;
  border-radius: 99px;
  border: 1px solid var(--border-2);
  background: var(--surface);
  font: 600 13px/1 var(--font-body);
  color: var(--text-2);
}
.privacy-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
@media (max-width: 980px) {
  .bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .bcell--w3 {
    grid-column: span 2;
  }
  .privacy-list {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 640px) {
  .bento {
    grid-template-columns: minmax(0, 1fr);
  }
  .bcell--w2,
  .bcell--w3 {
    grid-column: auto;
  }
  .bcell {
    min-height: 0;
  }
}

/* ---------- 不是什么 ---------- */
.not-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 1040px;
  margin: 0 auto;
}
.not-item {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 30px 22px;
  text-align: center;
  border: 1px dashed var(--border-2);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.02);
}
.not-item .ico {
  width: 30px;
  height: 30px;
  margin-bottom: 4px;
  color: var(--text-3);
}
.not-item h3 {
  font-size: 18px;
}
.not-item p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-2);
}
@media (max-width: 860px) {
  .not-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- 定价 ---------- */
.billing {
  display: flex;
  justify-content: center;
  margin-bottom: 36px;
}
.plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
  max-width: 940px;
  margin: 0 auto;
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 36px 30px 30px;
}
.plan--pro {
  transform: translateY(-8px);
  box-shadow: 0 30px 90px rgba(197, 107, 255, 0.26);
}
.plan__tag {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
}
.plan__name {
  font: 700 13px/1 var(--font-body);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
}
.plan__price {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.plan__price b {
  font: 700 56px/1 var(--font-display);
  letter-spacing: -0.03em;
}
.plan__price span {
  font-size: 15px;
  color: var(--text-3);
}
.plan__desc {
  min-height: 46px;
  font-size: 15px;
  color: var(--text-2);
}
.plan__opts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  padding: 4px;
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid var(--border);
}
.plan__opt {
  display: grid;
  justify-items: center;
  gap: 5px;
  padding: 10px 4px;
  border-radius: 14px;
  font: 600 12px/1.2 var(--font-body);
  color: var(--text-3);
  cursor: pointer;
  transition: 0.18s var(--ease);
}
.plan__opt b {
  font-size: 15px;
  color: var(--text-2);
}
.plan__opt:hover {
  color: var(--text-2);
}
.plan__opt.is-active {
  background: var(--surface-3);
  color: var(--text);
}
.plan__opt.is-active b {
  color: var(--text);
}
.plan__opt .tag {
  height: 18px;
  padding: 0 6px;
  font-size: 9px;
}
.plan__list {
  display: grid;
  flex: 1;
  align-content: start;
  gap: 12px;
}
.plan__fine {
  text-align: center;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-3);
}
.plan__fine b {
  color: var(--text-2);
}
@media (max-width: 800px) {
  .plans {
    grid-template-columns: minmax(0, 1fr);
  }
  .plan--pro {
    transform: none;
  }
}

/* ---------- 场景跑马灯 ---------- */
.marquee {
  overflow: hidden;
  margin-top: clamp(36px, 5vw, 64px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__track {
  display: flex;
  gap: 12px;
  width: max-content;
  animation: marquee 46s linear infinite;
}
.mchip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 99px;
  border: 1px solid var(--border);
  background: var(--surface);
  font: 500 15px/1 var(--font-body);
  color: var(--text-2);
  white-space: nowrap;
}
.mchip i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c, var(--pink));
  box-shadow: 0 0 10px var(--c, var(--pink));
}

/* ---------- 结尾行动区 ---------- */
.final {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 7vw, 100px) 24px;
  border-radius: 36px;
  text-align: center;
  background: linear-gradient(135deg, rgba(255, 111, 165, 0.16), rgba(197, 107, 255, 0.12) 50%, rgba(123, 140, 255, 0.14)), rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-2);
}
.final::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -260px;
  width: 760px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 111, 165, 0.5), rgba(197, 107, 255, 0.3) 45%, transparent 70%);
  filter: blur(40px);
  transform: translateX(-50%);
  pointer-events: none;
}
.final h2 {
  position: relative;
  max-width: 780px;
  margin: 0 auto 18px;
  font-size: clamp(30px, 5vw, 58px);
  line-height: 1.08;
}
.final p {
  position: relative;
  max-width: 520px;
  margin: 0 auto 32px;
  font-size: 17px;
  color: var(--text-2);
}
.final .btn {
  position: relative;
}
.final small {
  position: relative;
  display: block;
  margin-top: 18px;
  font-size: 14px;
  color: var(--text-3);
}

/* ---------- 页脚 ---------- */
.footer {
  margin-top: clamp(40px, 6vw, 88px);
  padding: 56px 0 36px;
  border-top: 1px solid var(--border);
  color: var(--text-3);
  font-size: 14px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 40px;
}
.footer__brand p {
  max-width: 280px;
  margin-top: 14px;
  line-height: 1.6;
}
.footer h4 {
  margin-bottom: 14px;
  font: 600 13px/1 var(--font-body);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-2);
}
.footer ul {
  display: grid;
  gap: 10px;
}
.footer a:hover {
  color: var(--text);
}
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
@media (max-width: 860px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}
