/* ============================================================
   枕侣 · 暗色极简版
   配色：黑底 + 香槟金，居中单列，少装饰
   变量集中在 :root，换主色只需改这里
   ============================================================ */

:root {
  --bg: #0a0a0a;
  --bg-2: #0c0b0e;
  --bg-3: #121014;
  --cream: #f5e6c8;
  --gold: #fce28b;
  --gold-2: #e7cd93;
  --muted: #8f8a80;
  --muted-2: #625e58;
  --line: rgba(245, 230, 200, 0.14);
  --line-2: rgba(245, 230, 200, 0.08);
  --her: #2a1f27;
  --her-t: #d69eb8;
  --him: #1f292d;
  --him-t: #8ab4c8;
  --age: #a4e04d;
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --serif: "Songti SC", "STSong", "Noto Serif SC", serif;
  --header-h: 74px;
  --max: 1120px;
  --narrow: 720px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--cream);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(60% 42% at 50% 0%, rgba(252, 226, 139, 0.07), transparent 70%),
    radial-gradient(45% 38% at 8% 78%, rgba(214, 158, 184, 0.05), transparent 70%),
    #0a0a0a;
}

h1, h2, h3, h4, p, figure, ul {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

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

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

::selection {
  background: rgba(252, 226, 139, 0.25);
  color: #fff;
}

:focus-visible {
  outline: 1px solid var(--gold);
  outline-offset: 3px;
}

.container {
  width: min(100% - 48px, var(--max));
  margin-inline: auto;
}

.narrow {
  width: min(100% - 48px, var(--narrow));
  margin-inline: auto;
  text-align: center;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 20px;
  z-index: 300;
  padding: 10px 18px;
  background: var(--gold);
  color: #14110c;
  font-size: 12px;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0;
}

/* ================= 通用文字 ================= */

.micro {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--muted);
}

.micro--gold {
  color: var(--gold);
  letter-spacing: 0.3em;
  margin-top: 38px;
}

h2 {
  margin: 16px 0 18px;
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 600;
  line-height: 1.34;
  letter-spacing: 0.01em;
  color: var(--cream);
}

.sub {
  max-width: 520px;
  margin-inline: auto;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.95;
}

/* ================= 顶部 ================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(10, 10, 10, 0.76);
  border-bottom: 1px solid var(--line-2);
  transition: background 0.3s ease, border-color 0.3s ease;
}

@supports (backdrop-filter: blur(12px)) {
  .site-header {
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }
}

.site-header.is-scrolled {
  background: rgba(10, 10, 10, 0.94);
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 11px;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  display: inline-flex;
  align-items: center;
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--cream);
}

.tag {
  margin-left: 8px;
  padding: 3px 6px;
  border: 1px solid rgba(252, 226, 139, 0.42);
  border-radius: 4px;
  color: var(--gold);
  font-family: var(--font);
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1;
}

.brand-copy small {
  margin-top: 5px;
  font-size: 8.5px;
  letter-spacing: 0.24em;
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
  margin-right: 24px;
}

.nav a {
  font-size: 12.5px;
  color: var(--muted);
  letter-spacing: 0.06em;
  transition: color 0.2s ease;
}

.nav a:hover {
  color: var(--cream);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.age-badge {
  padding: 4px 9px;
  border: 1px solid rgba(164, 224, 77, 0.5);
  border-radius: 6px;
  color: var(--age);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 38px;
  padding: 0 9px;
  border: 1px solid var(--line);
  border-radius: 9px;
}

.menu-toggle span {
  display: block;
  height: 1.5px;
  border-radius: 2px;
  background: var(--cream);
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ================= 首屏 ================= */

.stage {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line-2);
}

.stage-media {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: clamp(400px, 50vh, 560px);
  overflow: hidden;
  background:
    radial-gradient(58% 70% at 50% 18%, rgba(252, 226, 139, 0.1), transparent 68%),
    linear-gradient(180deg, #0a0a0a 0%, #0d0b0f 100%);
}

.portrait {
  height: 100%;
  width: auto;
  max-width: none;
  object-fit: contain;
  filter: saturate(0.96) contrast(1.02);
  animation: portrait-breathe 14s ease-in-out infinite alternate;
}

.stage-shade {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(10, 10, 10, 0.35) 0%, transparent 22%, transparent 52%, #0a0a0a 100%),
    linear-gradient(90deg, #0a0a0a 0%, transparent 20%, transparent 80%, #0a0a0a 100%);
}

.phone-mini {
  position: absolute;
  right: max(18px, calc(50% - 420px));
  bottom: 16px;
  z-index: 3;
  width: clamp(140px, 13vw, 200px);
  rotate: -3deg;
  overflow: hidden;
  border: 1px solid rgba(245, 230, 200, 0.24);
  border-radius: 24px;
  background: #000;
  box-shadow:
    0 34px 80px rgba(0, 0, 0, 0.78),
    0 0 44px rgba(252, 226, 139, 0.1),
    0 0 0 6px rgba(255, 255, 255, 0.025);
  animation: phone-float 9s ease-in-out infinite;
}

.phone-mini img {
  width: 100%;
}

.stage-copy {
  position: relative;
  z-index: 3;
  padding: 36px 0 64px;
  text-align: center;
}

.stage-copy h1 {
  margin: 18px 0 20px;
  font-size: clamp(34px, 6vw, 58px);
  font-weight: 700;
  line-height: 1.17;
  letter-spacing: 0.01em;
}

.choose {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 34px 0 16px;
  color: rgba(245, 230, 200, 0.5);
  font-size: 11px;
  letter-spacing: 0.16em;
}

.choose::before,
.choose::after {
  content: "";
  width: 28px;
  height: 1px;
  background: rgba(245, 230, 200, 0.24);
}

.persona {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  max-width: 460px;
  margin-inline: auto;
}

.persona-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border: 1px solid transparent;
  border-radius: 11px;
  text-align: left;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.persona-btn--her {
  background: var(--her);
  border-color: rgba(214, 158, 184, 0.26);
  color: var(--her-t);
}

.persona-btn--him {
  background: var(--him);
  border-color: rgba(138, 180, 200, 0.24);
  color: var(--him-t);
}

.persona-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.12);
}

.persona-btn span {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.persona-btn small {
  font-size: 10.5px;
  opacity: 0.68;
  letter-spacing: 0.02em;
}

.persona-btn b {
  margin-left: auto;
  font-size: 15px;
  font-weight: 400;
  opacity: 0.6;
}

.action-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  max-width: 460px;
  margin: 16px auto 0;
}

.gold-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  background: linear-gradient(180deg, #f6dfa0, #e6c477);
  color: #0f0c07;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    0 0 0 1px rgba(252, 226, 139, 0.12);
  transition: transform 0.22s ease, filter 0.22s ease;
}

.gold-btn svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.gold-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
}

/* ================= 通用 section ================= */

.section {
  padding: 96px 0;
  border-top: 1px solid var(--line-2);
}

.section .micro {
  margin-bottom: 16px;
}

/* ================= 核心体验 ================= */

.points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 52px;
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
}

.points article {
  padding: 30px 26px;
  text-align: left;
  border-left: 1px solid var(--line-2);
}

.points article:first-child {
  border-left: 0;
}

.num {
  display: block;
  margin-bottom: 14px;
  color: var(--gold);
  font-size: 10px;
  letter-spacing: 0.24em;
}

.points h3 {
  margin-bottom: 8px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--cream);
}

.points p {
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.85;
}

/* ================= 角色 ================= */

.characters {
  background: var(--bg-2);
}

.characters .narrow {
  margin-bottom: 6px;
}

.companion-rail {
  display: flex;
  gap: 16px;
  width: min(100% - 48px, var(--max));
  margin-inline: auto;
  padding: 40px 0 8px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.companion-rail::-webkit-scrollbar {
  display: none;
}

.companion-card {
  flex: 0 0 280px;
  overflow: hidden;
  border: 1px solid var(--line-2);
  border-radius: 16px;
  background: var(--bg-3);
  scroll-snap-align: start;
  transition: transform 0.35s ease, border-color 0.35s ease;
}

.companion-card:hover {
  transform: translateY(-5px);
  border-color: rgba(252, 226, 139, 0.24);
}

.card-media {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #080808;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 26%;
  transition: transform 0.7s ease;
}

.companion-card:hover .card-media img {
  transform: scale(1.035);
}

.card-body {
  padding: 15px 16px 18px;
}

.card-top {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.card-top h3 {
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--cream);
}

.card-top span {
  font-size: 8.5px;
  letter-spacing: 0.2em;
  color: var(--muted-2);
}

.card-role {
  margin: 4px 0 9px;
  color: var(--gold-2);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.card-line {
  min-height: 42px;
  color: #e6dccb;
  font-size: 13px;
  line-height: 1.7;
}

.rail-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
  color: var(--muted-2);
  font-size: 10.5px;
  letter-spacing: 0.12em;
}

.rail-btn {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--cream);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.rail-btn svg {
  width: 16px;
  height: 16px;
}

.rail-btn:hover:not(:disabled) {
  border-color: var(--gold);
  color: var(--gold);
}

.rail-btn:disabled {
  opacity: 0.3;
  cursor: default;
}

/* ================= 私密空间 ================= */

.private {
  background: #0b0a0d;
}

.private-media {
  max-width: 560px;
  margin: 34px auto 26px;
  overflow: hidden;
  border: 1px solid var(--line-2);
  border-radius: 16px;
  background: var(--bg-3);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.55);
}

.private-media img {
  width: 100%;
}

.private-points {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px 0;
  margin-bottom: 28px;
}

.private-points li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 0 22px;
  border-left: 1px solid var(--line-2);
}

.private-points li:first-child {
  border-left: 0;
}

.private-points strong {
  color: var(--cream);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
}

.private-points span {
  color: var(--muted-2);
  font-size: 10.5px;
}

.gold-link {
  display: inline-block;
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(252, 226, 139, 0.32);
  color: var(--gold-2);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.gold-link:hover {
  color: var(--gold);
  border-color: var(--gold);
}

/* ================= 下载 ================= */

.download {
  padding: 100px 0 110px;
}

.download .action-grid {
  margin-top: 28px;
}

.fine {
  margin-top: 20px;
  color: var(--muted);
  font-size: 11.5px;
  letter-spacing: 0.05em;
}

/* ================= 页脚 ================= */

.site-footer {
  padding: 62px 0 34px;
  border-top: 1px solid var(--line-2);
  background: #080808;
}

.site-footer h3 {
  margin: 10px 0 24px;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--cream);
}

.social-row {
  display: flex;
  justify-content: center;
  gap: 34px;
}

.social-row a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  transition: color 0.2s ease;
}

.social-row a:hover {
  color: var(--cream);
}

.social-dot {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(252, 226, 139, 0.32);
  border-radius: 50%;
  color: var(--gold);
  font-size: 13px;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.social-row a:hover .social-dot {
  background: rgba(252, 226, 139, 0.07);
  border-color: var(--gold);
}

.group {
  margin-top: 26px;
  color: var(--muted);
  font-size: 11.5px;
  letter-spacing: 0.04em;
}

.muted {
  color: var(--muted-2);
}

.footer-legal {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--line-2);
  color: var(--muted-2);
  font-size: 10.5px;
}

.footer-legal a:hover {
  color: var(--cream);
}

/* ================= 轻提示 ================= */

.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  z-index: 300;
  max-width: min(92vw, 440px);
  padding: 12px 22px;
  border: 1px solid rgba(252, 226, 139, 0.28);
  border-radius: 999px;
  background: rgba(18, 16, 12, 0.96);
  color: var(--cream);
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 14px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}

.toast.is-show {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

/* ================= 滚动出现 ================= */

body.js-ready [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
}

body.js-ready [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ================= 动画 ================= */

@keyframes portrait-breathe {
  from { transform: scale(1); }
  to { transform: scale(1.025); }
}

@keyframes phone-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ================= 响应式 ================= */

@media (max-width: 900px) {
  :root { --header-h: 66px; }

  .container,
  .narrow {
    width: calc(100% - 40px);
  }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    z-index: 70;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 14px 24px 22px;
    background: rgba(10, 10, 10, 0.98);
    border-bottom: 1px solid var(--line);
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.25s ease, opacity 0.25s ease, visibility 0.25s;
  }

  .nav.is-open {
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav a {
    padding: 13px 2px;
    border-bottom: 1px solid var(--line-2);
    font-size: 14px;
  }

  .menu-toggle {
    display: flex;
  }

  .stage-media {
    height: clamp(340px, 48vh, 500px);
  }

  .portrait {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 20%;
  }

  .phone-mini {
    width: 92px;
    right: 14px;
    bottom: 10px;
    border-radius: 12px;
  }

  .stage-copy {
    padding: 32px 0 64px;
  }

  .stage-copy h1 {
    font-size: clamp(33px, 8.6vw, 46px);
  }

  .section {
    padding: 76px 0;
  }

  .private-media {
    max-width: 480px;
  }

  .companion-rail {
    width: calc(100% - 40px);
    padding: 32px 0 8px;
  }
}

@media (max-width: 640px) {
  .container,
  .narrow {
    width: calc(100% - 36px);
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }

  .brand-name {
    font-size: 17px;
  }

  .tag,
  .brand-copy small {
    display: none;
  }

  .stage-media {
    height: clamp(300px, 40vh, 380px);
  }

  .portrait {
    object-position: 50% 18%;
  }

  .phone-mini {
    width: 82px;
    right: 10px;
    bottom: 8px;
    border-radius: 11px;
  }

  .stage-copy {
    padding: 28px 0 58px;
  }

  .stage-copy h1 {
    font-size: clamp(32px, 9.4vw, 42px);
  }

  .sub {
    font-size: 13px;
  }

  .persona-btn {
    padding: 13px 12px;
    gap: 8px;
  }

  .persona-btn small {
    font-size: 9.5px;
  }

  .gold-btn {
    padding: 13px 8px;
    font-size: 12.5px;
  }

  .points {
    grid-template-columns: 1fr;
    margin-top: 36px;
  }

  .points article {
    padding: 22px 4px;
    border-left: 0;
    border-top: 1px solid var(--line-2);
  }

  .points article:first-child {
    border-top: 0;
  }

  .companion-rail {
    width: calc(100% - 36px);
    padding: 28px 0 8px;
  }

  .companion-card {
    flex-basis: 240px;
  }

  .private-points li {
    padding: 0 14px;
  }

  .private-points span {
    font-size: 9.5px;
  }

  .section {
    padding: 64px 0;
  }

  .download {
    padding: 76px 0 84px;
  }

  .social-row {
    gap: 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  body.js-ready [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* ============================================================
   AI 恋人落地页新增区块
   ============================================================ */

.header-cta {
  padding: 10px 18px;
  border-radius: 9px;
  font-size: 12.5px;
}

.hero-cta {
  display: flex;
  gap: 10px;
  max-width: 360px;
  margin: 26px auto 0;
}

.hero-btn,
.outline-btn {
  flex: 1;
  justify-content: center;
  padding: 15px 10px;
  border-radius: 11px;
  font-size: 13.5px;
}

.outline-btn {
  display: flex;
  align-items: center;
  border: 1px solid rgba(245, 230, 200, 0.22);
  background: rgba(255, 255, 255, 0.02);
  color: var(--cream);
  letter-spacing: 0.04em;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.outline-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.hero-meta {
  margin-top: 18px;
  color: var(--muted);
  font-size: 11.5px;
  letter-spacing: 0.04em;
}

/* ---------- 五大功能 ---------- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin-top: 46px;
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
}

.feature-card {
  padding: 28px 20px;
  text-align: left;
  border-left: 1px solid var(--line-2);
}

.feature-card:first-child {
  border-left: 0;
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  border: 1px solid rgba(252, 226, 139, 0.26);
  border-radius: 10px;
  color: var(--gold-2);
}

.feature-icon svg {
  width: 20px;
  height: 20px;
}

.feature-card h3 {
  margin-bottom: 8px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--cream);
}

.feature-card p {
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.8;
}

/* ---------- 角色图鉴 ---------- */

.companion-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-top: 40px;
}

.companion-grid .companion-card {
  width: 100%;
  flex: none;
}

.rail-nav {
  display: none;
}

/* ---------- 心动日常 ---------- */

.chat-demo {
  background: #0b0a0d;
}

.chat-card {
  max-width: 520px;
  margin: 34px auto 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(180deg, #17141a, #100e12);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.55);
}

.chat-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 18px;
  border-bottom: 1px solid var(--line-2);
  background: #1a161d;
}

.chat-head img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 30%;
}

.chat-head strong {
  display: block;
  font-size: 14px;
  color: var(--cream);
}

.chat-head span {
  font-size: 10.5px;
  color: var(--muted);
}

.chat-lock {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--gold-2);
}

.chat-lock svg {
  width: 15px;
  height: 15px;
}

.chat-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px 18px;
}

.msg {
  max-width: 80%;
  padding: 11px 14px;
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.7;
}

.msg--ta {
  align-self: flex-start;
  border: 1px solid #2d2630;
  border-bottom-left-radius: 4px;
  background: #211c24;
  color: #e8dcc8;
}

.msg--me {
  align-self: flex-end;
  border-bottom-right-radius: 4px;
  background: linear-gradient(135deg, #f0d597, #d9b878);
  color: #171009;
}

.chat-input {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 4px 18px 18px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #151217;
  color: var(--muted-2);
  font-size: 12px;
}

.chat-input span {
  color: var(--gold);
  font-size: 18px;
}

/* ---------- 用户反馈 ---------- */

.reviews {
  background: var(--bg-2);
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 44px;
}

.review-card {
  padding: 22px;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  background: #111014;
}

.review-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.review-head img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 30%;
}

.review-head strong {
  display: block;
  font-size: 12.5px;
  color: var(--cream);
}

.review-head span {
  font-size: 9.5px;
  letter-spacing: 2px;
  color: var(--gold);
}

.review-card p {
  color: #b9b2a6;
  font-size: 13px;
  line-height: 1.8;
}

.review-card small {
  display: block;
  margin-top: 12px;
  color: var(--gold-2);
  font-size: 10.5px;
}

/* ---------- APP 界面 ---------- */

.app {
  background: #0b0a0d;
}

.app-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  max-width: 900px;
  margin: 44px auto 0;
}

.app-phone {
  padding: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #000;
}

.app-phone img {
  width: 100%;
  border-radius: 18px;
}

.app-phone figcaption {
  padding: 12px 0 4px;
  text-align: center;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.1em;
}

/* ---------- 使用教程 ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 44px;
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
}

.steps li {
  padding: 26px 22px;
  border-left: 1px solid var(--line-2);
}

.steps li:first-child {
  border-left: 0;
}

.step-num {
  display: block;
  margin-bottom: 14px;
  color: var(--gold);
  font-size: 10px;
  letter-spacing: 0.24em;
}

.steps h3 {
  margin-bottom: 6px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--cream);
}

.steps p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

/* ---------- FAQ ---------- */

.faq {
  background: #0b0a0d;
}

.faq-list {
  margin-top: 36px;
  border-top: 1px solid var(--line-2);
}

.faq-list details {
  border-bottom: 1px solid var(--line-2);
}

.faq-list summary {
  position: relative;
  padding: 18px 34px 18px 0;
  list-style: none;
  cursor: pointer;
  color: #e8dcc8;
  font-size: 13.5px;
  transition: color 0.2s ease;
}

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

.faq-list summary:hover {
  color: var(--gold-2);
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  color: var(--gold);
  font-size: 16px;
  font-weight: 300;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  padding: 0 0 18px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.9;
}

/* ---------- 下载卡 ---------- */

.download-card {
  display: grid;
  grid-template-columns: 1.2fr auto 1fr;
  align-items: center;
  gap: 26px;
  margin-top: 38px;
  padding: 26px 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(135deg, #151219, #0c0b0e);
  text-align: left;
}

.dl-label {
  color: var(--gold-2);
  font-size: 11px;
  letter-spacing: 0.14em;
}

.dl-version {
  margin: 6px 0 2px;
  color: var(--cream);
  font-size: 26px;
  font-weight: 600;
}

.dl-version span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
}

.dl-fit {
  color: var(--muted);
  font-size: 11px;
}

.dl-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.dl-badges li {
  padding: 4px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #b7b0a4;
  font-size: 9.5px;
}

.dl-gift {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  color: var(--gold);
  font-size: 10.5px;
  letter-spacing: 0.04em;
}

.dl-gift::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

.download-qr {
  text-align: center;
}

.download-qr img {
  width: 110px;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.download-qr span {
  display: block;
  margin-top: 6px;
  color: var(--muted-2);
  font-size: 9.5px;
}

.download-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.download-actions .gold-btn {
  justify-content: flex-start;
  padding: 13px 16px;
}

.dl-note {
  grid-column: 1 / -1;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line-2);
  color: var(--muted-2);
  font-size: 10.5px;
}

/* ---------- 页脚 ---------- */

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.1fr;
  gap: 34px;
  text-align: left;
}

.footer-brand p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.9;
}

.footer-col h4 {
  margin-bottom: 12px;
  color: var(--gold-2);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
}

.footer-col a {
  display: block;
  margin: 7px 0;
  color: var(--muted);
  font-size: 11.5px;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--cream);
}

.footer-col .muted {
  color: var(--muted-2);
  font-size: 9.5px;
}

.footer-group {
  margin-top: 10px;
  color: var(--muted-2);
  font-size: 10.5px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 20px;
  margin-top: 6px;
  padding-top: 20px;
  border-top: 1px solid var(--line-2);
  color: var(--muted-2);
  font-size: 10px;
  text-align: center;
}

.footer-bottom a:hover {
  color: var(--cream);
}

/* ---------- 新增响应式 ---------- */

@media (max-width: 1024px) {
  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .feature-card:nth-child(4) {
    border-left: 0;
    border-top: 1px solid var(--line-2);
  }

  .feature-card:nth-child(5) {
    border-top: 1px solid var(--line-2);
  }
}

@media (max-width: 900px) {
  .header-cta {
    display: none;
  }

  .companion-grid {
    display: flex;
    gap: 14px;
    margin-top: 32px;
    padding-bottom: 6px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .companion-grid::-webkit-scrollbar {
    display: none;
  }

  .companion-grid .companion-card {
    flex: 0 0 250px;
    scroll-snap-align: start;
  }

  .rail-nav {
    display: flex;
  }

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

  .app-gallery {
    display: flex;
    gap: 16px;
    max-width: none;
    padding-bottom: 6px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .app-gallery::-webkit-scrollbar {
    display: none;
  }

  .app-phone {
    flex: 0 0 220px;
    scroll-snap-align: start;
  }

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

  .steps li:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--line-2);
  }

  .steps li:nth-child(4) {
    border-top: 1px solid var(--line-2);
  }

  .download-card {
    grid-template-columns: 1fr auto;
    padding: 24px;
  }

  .download-actions {
    grid-column: 1 / -1;
    flex-direction: row;
  }

  .download-actions .gold-btn {
    flex: 1;
    justify-content: center;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
}

@media (max-width: 640px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    padding: 22px 4px;
    border-left: 0;
    border-top: 1px solid var(--line-2);
  }

  .feature-card:first-child {
    border-top: 0;
  }

  .feature-card:nth-child(4) {
    border-top: 1px solid var(--line-2);
  }

  .hero-cta {
    max-width: none;
  }

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

  .steps li {
    border-left: 0;
    border-top: 1px solid var(--line-2);
  }

  .steps li:first-child {
    border-top: 0;
  }

  .download-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .download-qr {
    justify-self: center;
  }

  .dl-badges {
    justify-content: center;
  }

  .download-actions {
    grid-column: auto;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .app-phone {
    flex-basis: 190px;
  }
}