/* Qualia · 用户了解页
   调性：睡前私密 · 深空夜色 · 暖灯余韵 · 克制紫罗兰点缀
   忌：紫白 SaaS、卡片墙、打卡游戏感、系统默认字体堆叠 */

:root {
  --bg: #07060a;
  --bg-elevated: #0e0c12;
  --ink: #f3efe8;
  --ink-muted: #a39e96;
  --ink-faint: #6e6962;
  --amber: #c4a574;
  --amber-soft: rgba(196, 165, 116, 0.22);
  --violet: #8b5cf6;
  --violet-deep: #5b21b6;
  --violet-glow: rgba(124, 58, 237, 0.18);
  --line: rgba(243, 239, 232, 0.1);
  --serif-cn: "Noto Serif SC", "Songti SC", "STSong", serif;
  --serif-en: "Cormorant Garamond", "Noto Serif SC", serif;
  --sans: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", sans-serif;
  --display: "Syne", "Noto Sans SC", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --max: 72rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  font-weight: 300;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  letter-spacing: 0.02em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

ul,
ol {
  list-style: none;
}

/* —— 氛围层 —— */
.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 80;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

/* —— 导航 —— */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem clamp(1.25rem, 4vw, 3rem);
  background: linear-gradient(to bottom, rgba(7, 6, 10, 0.85), transparent);
  transition: background 0.4s var(--ease);
}

.nav.is-scrolled {
  background: rgba(7, 6, 10, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav-brand {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  display: inline-flex;
  align-items: baseline;
  gap: 0.45rem;
}

.nav-brand-cn {
  font-family: var(--serif-cn);
  font-weight: 400;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  color: var(--ink-muted);
}

.nav-links {
  display: flex;
  gap: 1.75rem;
}

.nav-links a {
  font-size: 0.8rem;
  color: var(--ink-muted);
  letter-spacing: 0.06em;
  transition: color 0.25s;
}

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

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

/* —— Hero —— */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 clamp(1.25rem, 5vw, 4rem) clamp(4rem, 10vh, 6.5rem);
  overflow: hidden;
}

.hero-atmosphere {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 55% at 70% 15%, rgba(40, 32, 58, 0.55), transparent 60%),
    linear-gradient(165deg, #0c0a12 0%, #07060a 45%, #0a0810 100%);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: drift 18s var(--ease) infinite alternate;
}

.hero-glow--amber {
  width: min(55vw, 520px);
  height: min(55vw, 520px);
  top: 8%;
  right: 8%;
  background: var(--amber-soft);
}

.hero-glow--violet {
  width: min(40vw, 380px);
  height: min(40vw, 380px);
  bottom: 18%;
  left: 5%;
  background: var(--violet-glow);
  animation-delay: -6s;
}

.hero-window {
  position: absolute;
  top: 0;
  right: 0;
  width: 42%;
  height: 58%;
  background:
    linear-gradient(135deg, transparent 30%, rgba(196, 165, 116, 0.06) 50%, transparent 70%),
    linear-gradient(to left, rgba(243, 239, 232, 0.03), transparent);
  mask-image: linear-gradient(to bottom, black 40%, transparent);
}

@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(-3%, 4%) scale(1.06); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 40rem;
  animation: rise 1.2s var(--ease) both;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-brand {
  font-family: var(--display);
  font-size: clamp(2.8rem, 9vw, 5.5rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  margin-bottom: 0.35rem;
  background: linear-gradient(120deg, #f7f3ec 20%, #c4a574 55%, #b8a0e8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-brand-cn {
  font-family: var(--serif-cn);
  font-size: clamp(1rem, 2.4vw, 1.25rem);
  letter-spacing: 0.45em;
  color: var(--amber);
  margin-bottom: 1.5rem;
  font-weight: 400;
}

.hero-title {
  font-family: var(--serif-cn);
  font-weight: 500;
  font-size: clamp(1.55rem, 4.2vw, 2.35rem);
  line-height: 1.45;
  letter-spacing: 0.04em;
  margin-bottom: 1.15rem;
  color: var(--ink);
}

.hero-tagline {
  font-family: var(--serif-cn);
  font-size: clamp(1.05rem, 2.4vw, 1.25rem);
  color: var(--ink);
  letter-spacing: 0.06em;
  margin-bottom: 0.85rem;
  max-width: 26rem;
  line-height: 1.55;
}

.hero-sub {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: var(--ink-muted);
  font-weight: 300;
  margin-bottom: 2.25rem;
  max-width: 22rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.6rem;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  border-radius: 999px;
  transition: transform 0.3s var(--ease), background 0.3s, border-color 0.3s, color 0.3s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, #c4a574, #a8895a);
  color: #1a1510;
  font-weight: 500;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #d4b584, #b8996a);
}

.btn-ghost {
  border: 1px solid var(--line);
  color: var(--ink-muted);
}

.btn-ghost:hover {
  border-color: rgba(243, 239, 232, 0.28);
  color: var(--ink);
}

.hero-scroll {
  position: absolute;
  bottom: 1.5rem;
  right: clamp(1.25rem, 5vw, 4rem);
  z-index: 2;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--ink-faint);
  writing-mode: vertical-rl;
  animation: pulse 2.8s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 0.8; }
}

/* —— 通用 section —— */
.section {
  position: relative;
  padding: clamp(5rem, 14vh, 8.5rem) clamp(1.25rem, 5vw, 4rem);
  max-width: var(--max);
  margin: 0 auto;
}

.eyebrow {
  font-family: var(--display);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1.25rem;
}

.section-title {
  font-family: var(--serif-cn);
  font-weight: 500;
  font-size: clamp(1.75rem, 4.5vw, 2.75rem);
  line-height: 1.4;
  letter-spacing: 0.03em;
  margin-bottom: 1.5rem;
}

.lead {
  font-size: clamp(1rem, 2.1vw, 1.15rem);
  color: var(--ink-muted);
  max-width: 36rem;
  margin-bottom: 3rem;
  font-weight: 300;
}

.lead-narrow {
  max-width: 32rem;
}

/* —— 名字 / 哲学 —— */
.section-name {
  border-bottom: 1px solid var(--line);
}

.section-name .lead em {
  font-family: var(--serif-en);
  font-style: italic;
  color: var(--ink);
}

.section-name .lead strong {
  font-weight: 500;
  color: var(--ink);
}

.name-bridge {
  max-width: 36rem;
  color: var(--ink-muted);
  font-size: clamp(0.98rem, 2vw, 1.08rem);
  margin-bottom: 1.75rem;
  line-height: 1.8;
}

.name-bridge strong {
  color: var(--ink);
  font-weight: 500;
}

.name-link-wrap {
  margin-top: 0.25rem;
}

.name-link {
  display: inline-block;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: var(--amber);
  border-bottom: 1px solid rgba(196, 165, 116, 0.35);
  padding-bottom: 0.15rem;
  transition: color 0.25s, border-color 0.25s;
}

.name-link:hover {
  color: #d4b584;
  border-color: rgba(212, 181, 132, 0.7);
}

/* —— 是 / 不是 —— */
.dual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 4rem);
  padding-top: 0.5rem;
  border-top: 1px solid var(--line);
}

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

.dual-col h3 {
  font-family: var(--serif-cn);
  font-size: 1.15rem;
  font-weight: 500;
  margin: 1.75rem 0 1.25rem;
  letter-spacing: 0.08em;
}

.dual-col--is h3 {
  color: var(--amber);
}

.dual-col--not h3 {
  color: var(--ink-faint);
}

.dual-col li {
  position: relative;
  padding: 0.85rem 0 0.85rem 1.25rem;
  border-bottom: 1px solid var(--line);
  color: var(--ink-muted);
  font-size: 0.98rem;
}

.dual-col li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.35rem;
  width: 0.4rem;
  height: 1px;
  background: var(--ink-faint);
}

.dual-col--is li::before {
  background: var(--amber);
}

/* —— 场景 —— */
.section-moment {
  max-width: none;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 0;
  padding: 0;
  min-height: 70vh;
  align-items: stretch;
}

.moment-visual {
  position: relative;
  min-height: 320px;
  background:
    radial-gradient(ellipse 60% 50% at 45% 40%, rgba(196, 165, 116, 0.2), transparent 65%),
    radial-gradient(ellipse 40% 40% at 70% 70%, rgba(124, 58, 237, 0.12), transparent 60%),
    linear-gradient(160deg, #12101a, #07060a);
}

.moment-lamp {
  position: absolute;
  width: 180px;
  height: 180px;
  top: 32%;
  left: 38%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 210, 170, 0.45), transparent 70%);
  filter: blur(20px);
  animation: drift 14s var(--ease) infinite alternate;
}

.moment-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(3rem, 8vw, 5rem) clamp(1.5rem, 5vw, 4rem);
  background: var(--bg-elevated);
  border-left: 1px solid var(--line);
}

.quote {
  margin-top: 0.5rem;
  font-family: var(--serif-cn);
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--ink);
  border: none;
  padding: 0;
  font-style: normal;
  letter-spacing: 0.04em;
}

@media (max-width: 860px) {
  .section-moment {
    grid-template-columns: 1fr;
  }
  .moment-visual {
    min-height: 220px;
  }
  .moment-copy {
    border-left: none;
    border-top: 1px solid var(--line);
  }
}

/* —— 流程 —— */
.flow-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.flow-item {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 1.25rem;
  padding: 1.75rem 0;
  border-top: 1px solid var(--line);
  align-items: start;
}

.flow-item:last-child {
  border-bottom: 1px solid var(--line);
}

.flow-num {
  font-family: var(--serif-en);
  font-size: 1.5rem;
  font-style: italic;
  color: var(--amber);
  line-height: 1.2;
  padding-top: 0.15rem;
}

.flow-item h3 {
  font-family: var(--serif-cn);
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
  letter-spacing: 0.06em;
}

.flow-item p {
  color: var(--ink-muted);
  font-size: 0.95rem;
  max-width: 34rem;
}

/* —— 信任 —— */
.section-trust {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  max-width: none;
  padding-left: clamp(1.25rem, 8vw, 6rem);
  padding-right: clamp(1.25rem, 8vw, 6rem);
  background:
    radial-gradient(ellipse 50% 80% at 100% 50%, rgba(124, 58, 237, 0.08), transparent 55%),
    var(--bg);
}

.trust-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  margin-bottom: 3rem;
  max-width: var(--max);
}

.trust-points li {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.trust-points strong {
  font-family: var(--serif-cn);
  font-weight: 500;
  font-size: 1.15rem;
  letter-spacing: 0.06em;
}

.trust-points span {
  color: var(--ink-muted);
  font-size: 0.92rem;
}

.trust-foot {
  max-width: 36rem;
  color: var(--ink-faint);
  font-size: 0.9rem;
  line-height: 1.8;
}

@media (max-width: 720px) {
  .trust-points {
    grid-template-columns: 1fr;
  }
}

/* —— 为谁 —— */
.section-who {
  text-align: left;
}

.who-aside {
  margin-top: -1.5rem;
  font-family: var(--serif-cn);
  color: var(--amber);
  font-size: 1.05rem;
  letter-spacing: 0.06em;
}

/* —— CTA —— */
.section-cta {
  text-align: center;
  padding-bottom: clamp(5rem, 12vh, 7rem);
  max-width: 40rem;
}

.cta-brand {
  font-family: var(--display);
  font-size: clamp(2rem, 6vw, 3.2rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
  background: linear-gradient(120deg, #f7f3ec, #c4a574);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.cta-title {
  font-family: var(--serif-cn);
  font-weight: 500;
  font-size: clamp(1.25rem, 3vw, 1.65rem);
  margin-bottom: 0.85rem;
  letter-spacing: 0.06em;
}

.cta-sub {
  color: var(--ink-muted);
  margin-bottom: 2.5rem;
  font-size: 0.95rem;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
}

.cta-qr-slot {
  width: 168px;
  height: 168px;
  padding: 10px;
  border: 1px solid rgba(196, 165, 116, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
}

.cta-qr-img {
  display: block;
  width: 148px;
  height: 148px;
  object-fit: contain;
}

.cta-text-block p {
  font-size: 0.88rem;
  color: var(--ink-muted);
  letter-spacing: 0.08em;
}

.cta-muted {
  margin-top: 0.5rem !important;
  color: var(--ink-faint) !important;
  letter-spacing: 0.02em !important;
  font-size: 0.78rem !important;
}

/* —— Footer —— */
.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.75rem clamp(1.25rem, 5vw, 4rem) 2.5rem;
  border-top: 1px solid var(--line);
  color: var(--ink-faint);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
}

.footer-brand {
  font-family: var(--display);
  color: var(--ink-muted);
}

/* —— 滚动显现 —— */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-content,
  .reveal,
  .hero-glow,
  .moment-lamp,
  .hero-scroll {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
