/* =================================================================
   LUMEN — Wallpaper App Landing
   Design system
   ================================================================= */

:root {
  --bg: #0a0a0c;
  --bg-2: #111114;
  --ink: #f4f1ec;
  --ink-2: #c9c4ba;
  --ink-3: #8a857c;
  --line: rgba(244, 241, 236, 0.08);
  --line-2: rgba(244, 241, 236, 0.16);
  --accent: #e9b56f;
  /* warm amber */
  --accent-2: #d97a5b;
  /* coral */
  --accent-3: #88b8c4;
  /* cool teal */
  --glass: rgba(255, 255, 255, 0.04);
  --glass-2: rgba(255, 255, 255, 0.08);

  --serif: "Playfair Display", "Noto Serif SC", Georgia, serif;
  --sans: "Inter", -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;

  --max: 1440px;
  --pad: clamp(20px, 4vw, 56px);
  --r-s: 10px;
  --r-m: 18px;
  --r-l: 28px;
}

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

*::selection {
  background: var(--accent);
  color: #0a0a0c;
}

html,
body {
  background: #0a0a0c;
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  overflow-x: hidden;
  line-height: 1.55;
}

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

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

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

body.media-guard {
  -webkit-touch-callout: none;
}

body.media-guard [data-protected-media="true"],
body.media-guard [data-protected-surface="true"] {
  -webkit-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
}

body.media-guard .m-item__img,
body.media-guard .m-item__video,
body.media-guard .slide-video,
body.media-guard .slide-img,
body.media-guard .creator-illustration {
  pointer-events: none;
}

body.media-guard .feat__visual--video-slider::after,
body.media-guard .feat__visual--image-slider::after,
body.media-guard .creator-badge-box::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 3;
  background: transparent;
}

body.media-guard .creator-badge-box::before {
  z-index: 1;
}

body.media-guard .creator-badge-box::after {
  z-index: 2;
}

body.media-guard .creator-cta {
  z-index: 3;
}

em {
  font-style: normal;
}

em,
.italic {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}

/* ---------- SoftAurora 全局背景 ---------- */
.aurora-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  border: 0;
  z-index: 0;
  pointer-events: none;
  /* fade in smoothly after iframe loads */
  opacity: 0;
  transition: opacity 1.4s ease;
}

.aurora-bg.is-loaded {
  opacity: 1;
}

/* The hero has a tall bg layer; push content above aurora */
.nav,
.hero,
.marquee,
.showcase,
.features,
.workflow,
.quote,
.stories,
.pricing,
.cta,
.footer {
  position: relative;
  z-index: 1;
}

/* Hero 原来的背景照片仍然需要保留？让 aurora 是补充；
   给 hero__bg 加上多层叠 + 让最下层透明 */
.hero__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(10, 10, 12, 0.55) 0%, rgba(10, 10, 12, 0.15) 35%, rgba(10, 10, 12, 0.9) 100%);
}

/* ---------- 噪点 ---------- */
.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.06;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.7'/></svg>");
}

/* ---------- 自定义光标 ---------- */
.cursor-glow {
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(circle, rgba(233, 181, 111, 0.10), transparent 60%);
  transform: translate(-50%, -50%);
  transition: opacity 0.4s;
  mix-blend-mode: screen;
}

.cursor-dot {
  position: fixed;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.15s ease, background 0.2s;
  mix-blend-mode: difference;
}

.cursor-dot.is-hover {
  transform: translate(-50%, -50%) scale(4);
  background: var(--ink);
}

@media (max-width: 900px) {

  .cursor-dot,
  .cursor-glow {
    display: none;
  }
}

/* ---------- 导航 ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 18px var(--pad);
  transition: all 0.4s cubic-bezier(.2, .7, .2, 1);
}

.nav.is-scrolled {
  background: rgba(10, 10, 12, 0.7);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid var(--line);
  padding-top: 14px;
  padding-bottom: 14px;
}

.nav__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand__mark {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: grid;
  place-items: center;
  box-shadow: 0 0 24px rgba(233, 181, 111, 0.4);
}

.brand__dot {
  width: 8px;
  height: 8px;
  background: #0a0a0c;
  border-radius: 50%;
}

.brand__name {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.brand__sub {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-3);
  margin-left: 2px;
}

.nav__links {
  display: flex;
  gap: 32px;
}

.nav__links a {
  position: relative;
  font-size: 14px;
  color: var(--ink-2);
  padding: 6px 0;
  transition: color 0.25s;
}

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

.nav__links a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(.2, .7, .2, 1);
}

.nav__links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

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

.btn-ghost {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  color: var(--ink-2);
  font-size: 13px;
  transition: all 0.3s;
}

.btn-ghost:hover {
  border-color: var(--ink-2);
  color: var(--ink);
  background: var(--glass);
}

.btn-primary {
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: #0a0a0c;
  font-size: 13px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset, 0 8px 24px rgba(0, 0, 0, 0.3);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.3) inset, 0 12px 32px rgba(0, 0, 0, 0.4);
  background: #fff;
}

.btn-primary svg {
  transition: transform 0.3s;
}

.btn-primary:hover svg {
  transform: translateX(3px);
}

.btn-large {
  padding: 16px 28px;
  font-size: 14px;
}

.btn-block {
  width: 100%;
  justify-content: center;
}

.burger {
  display: none;
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px var(--pad) 60px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 2s ease;
  background: var(--img) center/cover no-repeat;
  transform: scale(1.05);
  filter: saturate(0.9) brightness(0.55);
}

.hero__slide.is-active {
  opacity: 0.55;
}

.hero__slide.is-active {
  opacity: 1;
  animation: kenburns 14s ease-in-out infinite alternate;
}

@keyframes kenburns {
  from {
    transform: scale(1.05);
  }

  to {
    transform: scale(1.18);
  }
}

.hero__vignette {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 10, 12, 0.55) 0%, rgba(10, 10, 12, 0.1) 30%, rgba(10, 10, 12, 0.85) 100%),
    radial-gradient(ellipse at 30% 50%, transparent 30%, rgba(10, 10, 12, 0.7) 100%);
}

/* Hero aurora pass: extra gradient layer so aurora underneath shows through */
.hero__vignette::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 10, 12, 0.35) 0%, rgba(10, 10, 12, 0.05) 25%, rgba(10, 10, 12, 0.7) 100%);
}

.hero__grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.45'/></svg>");
  opacity: 0.15;
  mix-blend-mode: overlay;
}

.hero__inner {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-2);
  letter-spacing: 0.05em;
  padding: 8px 14px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: var(--glass);
  backdrop-filter: blur(10px);
  margin-bottom: 32px;
}

.eyebrow__line {
  width: 24px;
  height: 1px;
  background: var(--accent);
}

.hero__title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(48px, 8.5vw, 132px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin-bottom: 32px;
  max-width: 1200px;
}

.hero__title .word {
  display: inline-block;
  margin-right: 0.25em;
  opacity: 0;
  transform: translateY(40px);
  animation: rise 0.9s 0.2s cubic-bezier(.2, .7, .2, 1) forwards;
}

.hero__title .word:nth-child(2) {
  animation-delay: 0.35s;
}

.hero__title .word:nth-child(3) {
  animation-delay: 0.5s;
}

.hero__title .word:nth-child(4) {
  animation-delay: 0.65s;
}

.hero__title .big {
  background: linear-gradient(180deg, #fff 0%, #c9c4ba 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__title em {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__title .period {
  color: var(--accent);
  -webkit-text-fill-color: var(--accent);
}

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

.hero__lede {
  font-size: clamp(15px, 1.3vw, 19px);
  color: var(--ink-2);
  max-width: 620px;
  margin-bottom: 48px;
  opacity: 0;
  animation: fade 0.8s 0.9s forwards;
  line-height: 1.7;
}

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

.hero__lede em {
  color: var(--accent);
}

@keyframes fade {
  to {
    opacity: 1;
  }
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 80px;
  opacity: 0;
  animation: fade 0.8s 1.1s forwards;
}

.btn-play {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink-2);
  font-size: 14px;
  padding: 8px 4px;
  transition: color 0.3s;
}

.btn-play__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  display: grid;
  place-items: center;
  background: var(--glass);
  transition: all 0.3s;
}

.btn-play:hover .btn-play__icon {
  background: var(--ink);
  color: #0a0a0c;
  transform: scale(1.05);
}

.btn-play:hover {
  color: var(--ink);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  max-width: 800px;
  opacity: 0;
  animation: fade 0.8s 1.3s forwards;
}

.metric__num {
  font-family: var(--serif);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.metric__star {
  color: var(--accent);
  font-size: 0.6em;
}

.metric__label {
  font-size: 12px;
  color: var(--ink-3);
  margin-top: 4px;
  font-family: var(--mono);
}

.scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 3;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--ink-3);
  opacity: 0;
  animation: fade 0.8s 1.5s forwards;
}

.scroll-hint__line {
  width: 1px;
  height: 50px;
  background: var(--ink-3);
  position: relative;
  overflow: hidden;
}

.scroll-hint__line::after {
  content: '';
  position: absolute;
  top: -50%;
  left: 0;
  width: 100%;
  height: 50%;
  background: var(--accent);
  animation: scrollLine 2.4s ease-in-out infinite;
}

@keyframes scrollLine {
  0% {
    top: -50%;
  }

  100% {
    top: 100%;
  }
}

/* ---------- MARQUEE ---------- */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(17, 17, 20, 0.7);
  overflow: hidden;
  padding: 28px 0;
  position: relative;
  backdrop-filter: blur(8px);
}

.marquee__track {
  display: inline-flex;
  gap: 48px;
  white-space: nowrap;
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 56px);
  font-weight: 400;
  letter-spacing: -0.01em;
  animation: marquee 40s linear infinite;
  color: var(--ink);
}

.marquee__track .dot {
  color: var(--accent);
  font-style: normal;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- SECTION HEADERS ---------- */
section {
  position: relative;
}

.section-head {
  max-width: var(--max);
  margin: 0 auto;
  padding: 140px var(--pad) 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
}

.section-head--center {
  grid-template-columns: 1fr;
  text-align: center;
  justify-items: center;
}

.section-head__left {
  max-width: 600px;
}

.section-head__right {
  max-width: 480px;
  color: var(--ink-2);
}

.section-head__right p {
  font-size: 15px;
  line-height: 1.8;
}

.kicker {
  display: inline-block;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.2em;
  margin-bottom: 24px;
}

.kicker--light {
  color: var(--accent);
}

.section-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(40px, 6vw, 88px);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.section-title em {
  color: var(--accent);
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-title--light {
  color: var(--ink);
}

.section-title .hl {
  position: relative;
  display: inline-block;
}

.section-title .hl::after {
  content: '';
  position: absolute;
  left: -4px;
  right: -4px;
  bottom: 0.1em;
  height: 0.4em;
  background: var(--accent);
  opacity: 0.3;
  z-index: -1;
  transform: skewX(-8deg);
}

/* ---------- SHOWCASE MASONRY ---------- */
.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 32px;
}

.chip {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  color: var(--ink-2);
  font-size: 12px;
  transition: all 0.3s;
}

.chip:hover {
  color: var(--ink);
  border-color: var(--ink-2);
}

.chip.is-active {
  background: var(--ink);
  color: #0a0a0c;
  border-color: var(--ink);
}

.masonry {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad) 140px;
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr);
  gap: 20px;
  align-items: center;
}

.masonry__side {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(3, auto);
  gap: 16px;
  align-content: center;
  align-self: center;
  transform: translateY(20px);
}

.m-item {
  position: relative;
  z-index: 0;
  border-radius: var(--r-l);
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 24%, rgba(255, 255, 255, 0.08), transparent 24%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015)),
    #111317;
  min-width: 0;
  aspect-ratio: 16 / 9;
  cursor: pointer;
  transition: transform 0.6s cubic-bezier(.2, .7, .2, 1);
}

.m-item--featured {
  grid-column: 1;
  grid-row: auto;
}

.m-item--thumb {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9.45;
}

.m-item--empty {
  cursor: default;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01)),
    #111317;
  border: 1px dashed rgba(255, 255, 255, 0.08);
}

.m-item--empty::before{
  display: none;
}

.m-item--empty::after {
  display: none;
}

.m-item--empty:hover {
  transform: none;
}

.m-item__img,
.m-item__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  transition: opacity 0.45s ease;
}

.m-item__img {
  z-index: 0;
}

.m-item__video {
  z-index: 1;
}

.m-item.is-image-ready .m-item__img,
.m-item.is-video-ready .m-item__video {
  opacity: 1;
}

.m-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.85) 100%);
  z-index: 2;
}

.m-item::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.08) 36%, transparent 72%);
  transform: translateX(-100%);
  animation: mediaShimmer 1.6s ease-in-out infinite;
  transition: opacity 0.25s ease;
}

.m-item.is-image-ready::after {
  opacity: 0;
  animation: none;
  pointer-events: none;
}

.m-item:hover {
  z-index: 2;
  transform: scale(1.04);
}

@keyframes mediaShimmer {
  to {
    transform: translateX(100%);
  }
}

.m-tag {
  display: inline-block;
  padding: 4px 10px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  margin-bottom: 12px;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.05);
}

.m-item h3 {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 0;
}

.m-item small {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-2);
}

.m-item--featured h3 {
  font-size: clamp(34px, 4vw, 46px);
}

.m-item--thumb h3 {
  font-size: 22px;
}

/* ---------- FEATURES ---------- */
.features {
  background: transparent;
  padding: 0 var(--pad) 140px;
  border-top: 1px solid var(--line);
  position: relative;
}

.features::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 20, 0.85);
  z-index: -1;
  pointer-events: none;
}

.features__head {
  max-width: var(--max);
  margin: 0 auto;
  padding: 140px 0 60px;
  text-align: center;
  max-width: 900px;
}

.features__head .section-title {
  margin: 0 auto;
}

.features__grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

.feat {
  grid-column: span 2;
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  padding: 32px;
  overflow: hidden;
  transition: border-color 0.4s, background 0.4s;
  min-height: 390px;
  display: flex;
  flex-direction: column;
}

.feat:hover {
  border-color: var(--line-2);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
}

.feat--big {
  grid-column: span 3;
  min-height: 430px;
}

.feat--cta {
  grid-column: span 2;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  color: #0a0a0c;
  border-color: transparent;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.feat--cta h3 {
  font-family: var(--serif);
  font-size: clamp(24px, 2.5vw, 32px);
  line-height: 1.1;
  color: #0a0a0c;
}

.feat--cta h3 em {
  background: rgba(0, 0, 0, 0.2);
  padding: 0 8px;
}

.feat--cta p {
  color: rgba(10, 10, 12, 0.75);
  margin: 12px 0 20px;
  font-size: 13px;
}

.feat--cta .btn-primary {
  background: #0a0a0c;
  color: var(--ink);
  align-self: flex-start;
}

.feat--cta .btn-primary:hover {
  background: #1a1a1c;
}

.feat__num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--ink-3);
  margin-bottom: 12px;
}

.feat__title {
  margin-bottom: 10px;
}

.feat__title_p {
  margin-bottom: 10px;
}

.feat__title h3 {
  font-family: var(--serif);
  font-size: clamp(26px, 2.4vw, 32px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.feat__title sup {
  font-size: 0.5em;
  color: var(--accent);
  margin-left: 4px;
}

.feat__sub {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.15em;
  display: block;
  margin-top: 4px;
}

.feat p {
  color: var(--ink-2);
  font-size: 13px;
  line-height: 1.65;
}

.feat p em {
  color: var(--accent);
}

/* feature visuals */
.feat__visual {
  margin-top: auto;
  position: relative;
  border-radius: var(--r-m);
  background: transparent;
  border: 1px solid var(--line);
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* mood */
.feat__visual--mood {
  background: radial-gradient(circle at 50% 50%, rgba(233, 181, 111, 0.2), transparent 70%), #0a0a0c;
}

.orb {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff8e8, var(--accent) 40%, var(--accent-2) 100%);
  box-shadow: 0 0 80px rgba(233, 181, 111, 0.4);
  animation: orbPulse 4s ease-in-out infinite;
}

.orb-ring {
  position: absolute;
  border: 1px solid rgba(233, 181, 111, 0.2);
  border-radius: 50%;
}

.orb-ring.r1 {
  width: 140px;
  height: 140px;
  animation: orbRing 8s linear infinite;
}

.orb-ring.r2 {
  width: 180px;
  height: 180px;
  animation: orbRing 14s linear infinite reverse;
  opacity: 0.6;
}

.orb-ring.r3 {
  width: 220px;
  height: 220px;
  animation: orbRing 20s linear infinite;
  opacity: 0.3;
}

.orb-label {
  position: absolute;
  bottom: 16px;
  left: 16px;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--ink-2);
  letter-spacing: 0.1em;
}

@keyframes orbPulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }
}

@keyframes orbRing {
  to {
    transform: rotate(360deg);
  }
}

/* live badge in upper right */
.feat__live-badge {
  position: absolute;
  top: 32px;
  right: 32px;
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 20px;
}

.feat__live-badge .live__bar {
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  border-radius: 2px;
  animation: liveBar 1.4s ease-in-out infinite;
  transform-origin: bottom;
}

.feat__live-badge .live__bar:nth-child(1) {
  height: 30%;
  animation-delay: 0s;
}

.feat__live-badge .live__bar:nth-child(2) {
  height: 60%;
  animation-delay: 0.1s;
}

.feat__live-badge .live__bar:nth-child(3) {
  height: 90%;
  animation-delay: 0.2s;
}

.feat__live-badge .live__bar:nth-child(4) {
  height: 50%;
  animation-delay: 0.3s;
}

.feat__live-badge .live__bar:nth-child(5) {
  height: 70%;
  animation-delay: 0.4s;
}

/* mood badge in upper right */
.feat__mood-badge {
  position: absolute;
  top: 32px;
  right: 32px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feat__mood-badge .orb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff8e8, var(--accent) 40%, var(--accent-2) 100%);
  box-shadow: 0 0 12px rgba(233, 181, 111, 0.5);
  animation: orbPulse 4s ease-in-out infinite;
}

.feat__mood-badge .orb-ring {
  position: absolute;
  border: 1px solid rgba(233, 181, 111, 0.2);
  border-radius: 50%;
}

.feat__mood-badge .orb-ring.r1 {
  width: 24px;
  height: 24px;
  animation: orbRing 8s linear infinite;
}

.feat__mood-badge .orb-ring.r2 {
  width: 32px;
  height: 32px;
  animation: orbRing 14s linear infinite reverse;
  opacity: 0.6;
}

.feat__mood-badge .orb-ring.r3 {
  width: 40px;
  height: 40px;
  animation: orbRing 20s linear infinite;
  opacity: 0.3;
}

/* videos visual container (slider mode) */
.feat__visual--video-slider {
  margin-top: auto;
  position: relative;
  border-radius: var(--r-m);
  background: transparent;
  border: 1px solid var(--line);
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.slide-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 1;
}

.slide-video.is-active {
  opacity: 1;
  z-index: 2;
}

/* DIY images visual container (slider mode) */
.feat__visual--image-slider {
  margin-top: auto;
  position: relative;
  border-radius: var(--r-m);
  background: transparent;
  border: 1px solid var(--line);
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.slide-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 1;
}

.slide-img.is-active {
  opacity: 1;
  z-index: 2;
}

@keyframes liveBar {

  0%,
  100% {
    transform: scaleY(0.4);
  }

  50% {
    transform: scaleY(1);
  }
}

/* sync */
.feat__visual--sync {
  gap: 8px;
  padding: 20px;
}

.screen {
  background: linear-gradient(135deg, rgba(136, 184, 196, 0.4), rgba(136, 184, 196, 0.1));
  border: 1px solid var(--line);
  border-radius: 8px;
}

.screen.s1 {
  width: 60%;
  height: 30%;
}

.screen.s2 {
  width: 30%;
  height: 20%;
}

.screen.s3 {
  width: 100%;
  height: 15%;
}

.screen.s4 {
  width: 40%;
  height: 25%;
}

.feat__visual--sync {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 8px;
  padding: 20px;
}

.feat__visual--sync .s1 {
  grid-column: 1;
  grid-row: 1 / 3;
}

/* daily */
.feat__visual--daily {
  background: linear-gradient(135deg, rgba(217, 122, 91, 0.2), rgba(217, 122, 91, 0.05));
}

.day-card {
  padding: 20px;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.day-card span {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--ink-2);
  letter-spacing: 0.2em;
}

.day-card p {
  font-family: var(--serif);
  font-size: 18px;
  font-style: italic;
  line-height: 1.4;
  color: var(--ink);
  margin: 8px 0;
}

.day-card small {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--ink-3);
}

/* creator visual badge */
.feat__visual--creator {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: transparent;
}

.creator-badge-box {
  position: relative;
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid var(--line);
  border-radius: var(--r-s);
  width: 100%;
  height: 100%;
  overflow: hidden;
  transition: all 0.3s;
}

.creator-badge-box:hover {
  border-color: var(--line-2);
  transform: translateY(-2px);
}

.creator-badge-box::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 10, 12, 0) 48%, rgba(10, 10, 12, 0.62) 100%),
    radial-gradient(circle at 68% 18%, rgba(233, 181, 111, 0.18), transparent 42%);
  pointer-events: none;
}

.creator-illustration {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
  transition: transform 0.6s cubic-bezier(.2, .7, .2, 1);
}

.creator-badge-box:hover .creator-illustration {
  transform: scale(1.06);
}

.creator-cta {
  position: absolute;
  left: 16px;
  bottom: 14px;
  z-index: 1;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(10, 10, 12, 0.54);
  backdrop-filter: blur(10px);
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink);
  letter-spacing: 0.1em;
}

/* core visual badge */
.feat__visual--core {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: transparent;
}

.core-badge-box {
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid var(--line);
  border-radius: var(--r-s);
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: all 0.3s;
}

.core-badge-box:hover {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--line-2);
  transform: translateY(-2px);
}

.core-badge-box .icon {
  font-size: 28px;
  filter: drop-shadow(0 0 12px rgba(136, 184, 196, 0.3));
  animation: orbPulse 4s ease-in-out infinite reverse;
}

.core-badge-box span {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-2);
  letter-spacing: 0.1em;
}

/* ---------- CUSTOM THEME INTERACTIVE MOCKUP ---------- */
.feat__visual--theme {
  margin-top: auto;
  position: relative;
  border-radius: var(--r-m);
  background: transparent;
  border: 1px solid var(--line);
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  cursor: none;
  /* 移入隐藏真实鼠标指针 */
}

.desktop-mockup {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.desktop-wallpaper {
  position: absolute;
  inset: 0;
  z-index: 1;
  transition: background 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* 三套个性化主题壁纸渐变 */
.theme-amber .desktop-wallpaper {
  background:
    radial-gradient(circle at 80% 20%, rgba(233, 181, 111, 0.22), transparent 60%),
    radial-gradient(circle at 20% 80%, rgba(217, 122, 91, 0.12), transparent 50%),
    #0c0c0f;
}

.theme-teal .desktop-wallpaper {
  background:
    radial-gradient(circle at 80% 20%, rgba(136, 184, 196, 0.22), transparent 60%),
    radial-gradient(circle at 20% 80%, rgba(80, 140, 160, 0.12), transparent 50%),
    #0c0f12;
}

.theme-rose .desktop-wallpaper {
  background:
    radial-gradient(circle at 80% 20%, rgba(217, 122, 91, 0.22), transparent 60%),
    radial-gradient(circle at 20% 80%, rgba(180, 80, 100, 0.12), transparent 50%),
    #120c0f;
}

/* 桌面上小工具排列 */
.desktop-widgets {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 8px;
  padding: 12px;
  flex-grow: 1;
  margin-bottom: 28px;
  /* 留出底部任务栏高度 */
}

/* 玻璃态小工具基础样式 */
.widget-glass {
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.widget-glass:hover {
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

/* 时间与日历挂件 */
.widget--time {
  align-items: flex-start;
}

.widget-time {
  font-family: var(--mono);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.1;
  transition: color 0.4s;
}

.widget-date {
  font-size: 9px;
  color: var(--ink-3);
  margin-top: 2px;
}

/* 天气挂件 */
.widget--weather {
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
}

.weather-icon {
  font-size: 15px;
}

.weather-temp {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
}

/* CPU检测挂件 */
.widget--cpu {
  align-items: flex-start;
}

.cpu-label {
  font-family: var(--mono);
  font-size: 9px;
  color: var(--ink-2);
  margin-bottom: 4px;
}

.cpu-bar-container {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 2px;
  overflow: hidden;
}

.cpu-bar-fill {
  height: 100%;
  border-radius: 2px;
  transition: width 1s ease, background 0.4s;
}

/* 待办事项挂件 */
.widget--todo {
  align-items: flex-start;
  gap: 3px;
}

.todo-item {
  font-size: 9px;
  color: var(--ink-2);
  display: flex;
  align-items: center;
  gap: 4px;
  transition: color 0.4s;
}

.todo-item.checked {
  opacity: 0.8;
}

/* 记事本挂件 */
.widget--notepad {
  align-items: flex-start;
}

.notepad-header {
  font-size: 9px;
  font-weight: 600;
  color: var(--ink-3);
  margin-bottom: 2px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  width: 100%;
  padding-bottom: 2px;
}

.notepad-body {
  font-size: 9px;
  color: var(--ink-2);
  font-style: italic;
}

/* 应用收纳文件夹 */
.widget--folder {
  align-items: center;
}

.folder-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
  margin-bottom: 4px;
}

.app-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  transition: background 0.4s;
}

.folder-name {
  font-size: 8px;
  color: var(--ink-3);
  letter-spacing: 0.05em;
}

/* 桌面底部任务栏 */
.desktop-taskbar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 28px;
  background: rgba(10, 10, 12, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
  z-index: 10;
}

.taskbar-start {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s;
}

.taskbar-start:hover {
  background: rgba(255, 255, 255, 0.08);
}

.start-icon {
  font-size: 11px;
  transition: color 0.4s;
}

.taskbar-apps {
  display: flex;
  gap: 6px;
}

.task-app {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.15);
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  cursor: pointer;
}

.task-app:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

.taskbar-tray {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--mono);
  font-size: 8px;
  color: var(--ink-3);
}

.tray-icon {
  font-size: 8px;
  opacity: 0.7;
}

/* 模拟自定义鼠标指针 */
.mock-cursor {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 100;
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: transform 0.12s cubic-bezier(0.2, 0.8, 0.2, 1), background 0.4s, box-shadow 0.4s, opacity 0.2s;
}

.mock-cursor.is-hovering {
  transform: translate(-50%, -50%) scale(1.6);
  background: #ffffff !important;
  box-shadow: 0 0 10px #ffffff !important;
}

/* 主题调色盘切换按钮 */
.desktop-theme-palette {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(10, 10, 12, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 20;
  font-size: 10px;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.desktop-theme-palette:hover {
  transform: scale(1.1) rotate(15deg);
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(10, 10, 12, 0.7);
}

/* --- 主题特定配色映射 --- */

/* 1. 琥珀色主题 */
.theme-amber .mock-cursor {
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}

.theme-amber .widget-glass:hover {
  border-color: rgba(233, 181, 111, 0.2);
}

.theme-amber .widget-time {
  color: var(--accent);
}

.theme-amber .cpu-bar-fill {
  background: var(--accent);
}

.theme-amber .todo-item.checked {
  color: var(--accent);
}

.theme-amber .start-icon {
  color: var(--accent);
}

.theme-amber .task-app.is-active {
  background: var(--accent);
}

.theme-amber .app-dot {
  background: rgba(233, 181, 111, 0.4);
}

/* 2. 潮汐蓝主题 */
.theme-teal .mock-cursor {
  background: var(--accent-3);
  box-shadow: 0 0 8px var(--accent-3);
}

.theme-teal .widget-glass:hover {
  border-color: rgba(136, 184, 196, 0.2);
}

.theme-teal .widget-time {
  color: var(--accent-3);
}

.theme-teal .cpu-bar-fill {
  background: var(--accent-3);
}

.theme-teal .todo-item.checked {
  color: var(--accent-3);
}

.theme-teal .start-icon {
  color: var(--accent-3);
}

.theme-teal .task-app.is-active {
  background: var(--accent-3);
}

.theme-teal .app-dot {
  background: rgba(136, 184, 196, 0.4);
}

/* 3. 玫瑰粉主题 */
.theme-rose .mock-cursor {
  background: var(--accent-2);
  box-shadow: 0 0 8px var(--accent-2);
}

.theme-rose .widget-glass:hover {
  border-color: rgba(217, 122, 91, 0.2);
}

.theme-rose .widget-time {
  color: var(--accent-2);
}

.theme-rose .cpu-bar-fill {
  background: var(--accent-2);
}

.theme-rose .todo-item.checked {
  color: var(--accent-2);
}

.theme-rose .start-icon {
  color: var(--accent-2);
}

.theme-rose .task-app.is-active {
  background: var(--accent-2);
}

.theme-rose .app-dot {
  background: rgba(217, 122, 91, 0.4);
}

/* ---------- WORKFLOW ---------- */
.workflow {
  padding: 0 var(--pad) 140px;
  max-width: var(--max);
  margin: 0 auto;
}

.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  overflow: hidden;
}

.step {
  background: var(--bg);
  padding: 48px 40px;
  position: relative;
  transition: background 0.4s;
}

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

.step__no {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.2em;
  margin-bottom: 24px;
}

.step h3 {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.step p {
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.7;
}

.step p em {
  color: var(--accent);
}

.step__tag {
  position: absolute;
  top: 32px;
  right: 32px;
  font-family: var(--mono);
  font-size: 10px;
  padding: 4px 10px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  color: var(--ink-3);
  letter-spacing: 0.1em;
}

/* ---------- QUOTE ---------- */
.quote {
  padding: 160px var(--pad);
  background: transparent;
  position: relative;
  overflow: hidden;
}

.quote::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 10, 12, 0.9) 0%, rgba(17, 17, 20, 0.92) 100%);
  z-index: -1;
}

.quote::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(233, 181, 111, 0.08), transparent 60%);
  pointer-events: none;
}

.quote__inner {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  text-align: center;
}

.quote__mark {
  font-family: var(--serif);
  font-size: 200px;
  line-height: 0.6;
  color: var(--accent);
  display: block;
  margin-bottom: -40px;
  opacity: 0.4;
}

.quote__text {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 60px;
}

.quote__text em {
  color: var(--accent);
}

.quote__author {
  display: inline-flex !important;
  align-items: center;
  gap: 16px;
  text-align: left;
  padding: 16px 36px 16px 24px;
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 999px;
  backdrop-filter: blur(10px);
  margin: 0 auto;
  max-width: fit-content;
  width: auto;
}

.quote__author .border-glow-inner {
  flex-direction: row !important;
  align-items: center;
  gap: 16px;
}

/* 防止带 Padding 的卡片内部因继承圆角与溢出隐藏导致角落文字或圆头像被切割 */
.story .border-glow-inner,
.feat .border-glow-inner,
.step .border-glow-inner {
  border-radius: 0 !important;
  overflow: visible !important;
}

.qa__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: url(./assets/avatar.webp) center/cover no-repeat;
  flex-shrink: 0;
}

.quote__author strong {
  display: block;
  font-size: 14px;
  white-space: nowrap;
}

.quote__author span {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.1em;
  white-space: nowrap;
}

/* ---------- STORIES ---------- */
.story-grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad) 140px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.story {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  padding: 32px;
  transition: all 0.4s;
  position: relative;
  overflow: hidden;
}

.story::before {
  content: '"';
  position: absolute;
  top: -20px;
  right: 24px;
  font-family: var(--serif);
  font-size: 160px;
  line-height: 1;
  color: var(--accent);
  opacity: 0.08;
}

.story:hover {
  transform: translateY(-4px);
  border-color: var(--line-2);
}

.story--alt {
  background: linear-gradient(180deg, rgba(136, 184, 196, 0.05), var(--bg-2));
}

.story__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--ink-3);
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.story__city {
  color: var(--accent);
}

.story p {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 32px;
  min-height: 120px;
}

.story footer {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ava {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 18px;
  color: #0a0a0c;
  font-weight: 600;
}

.ava--a {
  background: var(--accent);
}

.ava--b {
  background: var(--accent-3);
  color: var(--ink);
}

.ava--c {
  background: var(--accent-2);
}

.story footer strong {
  display: block;
  font-size: 13px;
}

.story footer span {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--ink-3);
  letter-spacing: 0.05em;
}

/* ---------- PRICING ---------- */
.pricing {
  padding: 0 var(--pad) 160px;
  max-width: var(--max);
  margin: 0 auto;
}

.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.plan {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  padding: 40px 32px;
  position: relative;
  transition: all 0.4s;
}

.plan:hover {
  border-color: var(--line-2);
}

.plan--featured {
  background: linear-gradient(180deg, rgba(233, 181, 111, 0.06), var(--bg-2));
  border-color: var(--accent);
  transform: scale(1.02);
  box-shadow: 0 24px 80px rgba(233, 181, 111, 0.1);
}

.plan__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #0a0a0c;
  padding: 4px 14px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  font-weight: 600;
}

.plan header h3 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 8px;
}

.plan header p {
  color: var(--ink-2);
  font-size: 14px;
}

.plan header p em {
  color: var(--accent);
}

.plan__price {
  margin: 32px 0;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.plan__price b {
  font-family: var(--serif);
  font-size: 48px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.plan__price span {
  color: var(--ink-3);
  font-size: 14px;
  margin-left: 8px;
}

.plan ul {
  list-style: none;
  margin-bottom: 32px;
}

.plan li {
  padding: 10px 0;
  font-size: 14px;
  color: var(--ink-2);
  border-bottom: 1px solid var(--line);
}

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

.plan--featured li {
  color: var(--ink);
}

/* ---------- CTA ---------- */
.cta {
  padding: 160px var(--pad);
  background: transparent;
  border-top: 1px solid var(--line);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(217, 122, 91, 0.15), transparent 50%),
    radial-gradient(ellipse at 20% 80%, rgba(136, 184, 196, 0.15), transparent 50%),
    rgba(17, 17, 20, 0.92);
  z-index: -1;
}

.cta__inner {
  max-width: 900px;
  margin: 0 auto;
}

.cta h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(32px, 8vw, 120px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin-bottom: 32px;
}

.cta-nowrap {
  display: inline-block;
  white-space: nowrap;
}

.cta h2 em {
  color: var(--accent);
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cta p {
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 48px;
}

.cta__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.platforms {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--ink-2);
}

.platforms a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.platforms i {
  color: var(--ink-3);
  font-style: normal;
}

/* ---------- FOOTER ---------- */
.footer {
  background: transparent;
  padding: 80px var(--pad) 32px;
  border-top: 1px solid var(--line);
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 12, 0.9);
  z-index: -1;
}

.footer__top {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--line);
}

.footer__brand p {
  color: var(--ink-2);
  font-size: 14px;
  margin-top: 16px;
}

.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer__cols h4 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--ink-3);
  margin-bottom: 20px;
  text-transform: uppercase;
}

.footer__cols a {
  display: block;
  font-size: 14px;
  color: var(--ink-2);
  padding: 6px 0;
  transition: color 0.3s;
}

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

.footer__bottom {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  color: var(--ink-3);
  font-size: 13px;
}

.footer__bottom em {
  color: var(--accent);
}

/* ---------- REVEAL ANIMATION ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.9s cubic-bezier(.2, .7, .2, 1);
}

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

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .section-head {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .masonry {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .m-item--featured {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .masonry__side {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
    gap: 20px;
    align-content: start;
  }

  .m-item--thumb {
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .features__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .feat {
    grid-column: span 2;
  }

  .feat--big,
  .feat--cta {
    grid-column: span 4;
  }

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

  .nav__links {
    display: none;
  }

  .burger {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 32px;
  }

  .burger span {
    height: 1px;
    background: var(--ink);
  }

  .footer__top {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .metrics {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .plan--featured {
    transform: none;
  }
}

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

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

  .m-item--featured,
  .m-item--thumb {
    grid-column: auto;
    grid-row: auto;
  }

  .m-item--featured h3 {
    font-size: 30px;
  }

  .m-item--thumb h3 {
    font-size: 24px;
  }

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

  .feat,
  .feat--big,
  .feat--cta {
    grid-column: span 1;
    min-height: 420px;
  }

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

  .footer__bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .step {
    padding: 32px 24px;
  }

  .step__tag {
    position: static;
    display: inline-block;
    margin-top: 16px;
  }
}

/* 针对 1366*768 等窄屏或矮屏设备进行界面缩减与精致化 */
@media (max-width: 1366px),
(max-height: 820px) {
  .section-head {
    padding-top: 80px;
    padding-bottom: 40px;
  }

  .features__head {
    padding-top: 80px;
    padding-bottom: 40px;
  }

  .features {
    padding-bottom: 80px;
  }

  .feat {
    min-height: 330px;
    padding: 24px;
  }

  .feat--big {
    min-height: 370px;
    padding: 24px;
  }

  .feat__visual,
  .feat__visual--video-slider,
  .feat__visual--image-slider {
    height: auto;
  }

  .feat__title h3 {
    font-size: clamp(22px, 2vw, 26px);
  }

  .feat p {
    font-size: 12px;
    line-height: 1.5;
  }

  .feat__live-badge,
  .feat__mood-badge {
    top: 24px;
    right: 24px;
  }

  .workflow {
    padding-bottom: 80px;
  }

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

  .step {
    padding: 24px;
  }

  .step h3 {
    font-size: 24px;
  }

  .quote {
    padding: 80px var(--pad);
  }

  .stories {
    padding-bottom: 80px;
  }

  .cta {
    padding: 80px var(--pad);
  }
}

/* ---------- BACK TO TOP BUTTON ---------- */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--ink-2);
  display: grid;
  place-items: center;
  z-index: 99;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) scale(0.9);
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.back-to-top:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

/* 移动端稍微调小并留足边距，防遮挡内容 */
@media (max-width: 640px) {
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 38px;
    height: 38px;
  }
}
