/* ==========================================================================
   landing.css — 首页专属样式
   ========================================================================== */

body.landing {
  background: linear-gradient(180deg, #f8f4ed 0%, #f7f3ec 34%, #f6f2ea 100%);
}

/* 锚点跳转时给吸顶导航留出空间 */
section[id] {
  scroll-margin-top: 84px;
}

/* ---------------- 导航 ---------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(247, 243, 236, 0.55);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s var(--ease), background 0.4s var(--ease);
}

.nav.is-stuck {
  background: rgba(247, 243, 236, 0.86);
  border-bottom-color: var(--line);
}

.nav__inner {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 9px;
  flex: none;
}

.brand__cn {
  font-family: var(--font-serif);
  font-size: 1.22rem;
  letter-spacing: 0.2em;
  color: var(--ink);
}

.brand__en {
  font-size: 8.5px;
  letter-spacing: 0.26em;
  color: var(--ink-mute);
}

.nav__links {
  display: none;
  gap: 30px;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
}

.nav__links a {
  position: relative;
  padding: 4px 0;
  transition: color 0.3s var(--ease);
}

.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease);
}

.nav__links a:hover {
  color: var(--ink);
}

.nav__links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav__cta {
  flex: none;
}

@media (min-width: 860px) {
  .nav__links {
    display: flex;
  }
  .nav__inner {
    height: 76px;
  }
}

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  padding: clamp(32px, 5vw, 64px) 0 clamp(48px, 7vw, 96px);
  overflow: hidden;
}

.hero__glow {
  position: absolute;
  right: -12%;
  top: -18%;
  width: 62vw;
  height: 62vw;
  max-width: 760px;
  max-height: 760px;
  background: radial-gradient(circle, rgba(226, 197, 186, 0.5) 0%, rgba(226, 197, 186, 0) 68%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  display: grid;
  gap: clamp(44px, 7vw, 72px);
  align-items: center;
}

.hero__title {
  margin-top: 22px;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2.35rem, 5.4vw, 4.15rem);
  line-height: 1.28;
  letter-spacing: 0.01em;
  color: var(--ink);
}

.hero__title em {
  font-style: normal;
  color: var(--accent);
  position: relative;
  white-space: nowrap;
}

.hero__title em::after {
  content: "";
  position: absolute;
  left: 2%;
  right: 2%;
  bottom: 0.06em;
  height: 0.42em;
  background: linear-gradient(180deg, rgba(176, 117, 108, 0.16), rgba(176, 117, 108, 0));
  z-index: -1;
  border-radius: 40% 60% 50% 50%;
}

.hero__sub {
  margin-top: 24px;
  max-width: 34ch;
  color: var(--ink-soft);
  font-size: clamp(14.5px, 1.6vw, 16px);
  line-height: 2;
}

.hero__actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero__actions .btn {
  padding-inline: 28px;
}

.hero__meta {
  margin-top: 26px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--ink-mute);
  flex-wrap: wrap;
}

.hero__meta i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.55;
}

.hero__redeem {
  margin-top: 12px;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--ink-mute);
}

.hero__redeem a {
  color: var(--accent);
  border-bottom: 1px solid rgba(142, 75, 65, 0.35);
  padding-bottom: 1px;
}

.hero__redeem a:hover {
  border-bottom-color: currentColor;
}

.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 10px 0 24px;
}

.hero__ring {
  position: absolute;
  width: min(560px, 96vw);
  aspect-ratio: 1;
  border: 1px solid rgba(22, 19, 15, 0.09);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.hero__ring::before {
  content: "";
  position: absolute;
  inset: 32px;
  border: 1px dashed rgba(22, 19, 15, 0.05);
  border-radius: 50%;
}

.hero__chip {
  position: absolute;
  left: max(0px, 4%);
  bottom: 62px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 18px;
  background: var(--raised);
  border: 1px solid var(--line);
  border-radius: 2px;
  box-shadow: var(--shadow-1);
  transform: rotate(-2deg);
}

.hero__chip-num {
  font-family: var(--font-serif);
  font-size: 1.32rem;
  color: var(--accent);
  line-height: 1.1;
}

.hero__chip-label {
  font-size: 9.5px;
  letter-spacing: 0.18em;
  color: var(--ink-mute);
}

@media (min-width: 900px) {
  .hero__inner {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
    gap: 40px;
  }
  .hero__visual {
    justify-content: flex-end;
    padding-right: 22px;
  }
  .hero__ring {
    width: min(600px, 46vw);
  }
  .hero__chip {
    left: 2%;
    bottom: 84px;
  }
}

@media (max-width: 899px) {
  /* 手机上：先看预览，再看说明。面板用 display:contents 把子元素提升为网格项 */
  .showcase__panel {
    display: contents;
  }
  .showcase__body {
    gap: 26px;
  }
  .showcase__body .tabs {
    order: 1;
    justify-self: start;
  }
  .showcase__body .phone--show {
    order: 2;
    justify-self: center;
    margin: 4px auto 8px;
  }
  .showcase__body .showcase__meta {
    order: 3;
    margin-top: 0;
  }
  .showcase__body .spec {
    order: 4;
    margin-top: 6px;
  }
}


/* ---------------- 场景带 ---------------- */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 15px 0;
  background: rgba(255, 253, 249, 0.5);
}

.marquee__track {
  display: flex;
  align-items: center;
  gap: 30px;
  width: max-content;
  animation: marquee 46s linear infinite;
  font-size: 11.5px;
  letter-spacing: 0.24em;
  color: var(--ink-mute);
  padding-left: 30px;
}

.marquee__track i {
  color: var(--accent);
  opacity: 0.55;
  font-size: 8px;
  font-style: normal;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ---------------- 区块标题 ---------------- */
.sec-head {
  display: grid;
  gap: 20px;
  margin-bottom: clamp(36px, 5vw, 56px);
}

.sec-head .h2 {
  margin-top: 18px;
}

.sec-head__note {
  font-size: 13.5px;
  line-height: 1.95;
  color: var(--ink-mute);
  max-width: 36ch;
  align-self: end;
}

@media (min-width: 880px) {
  .sec-head {
    grid-template-columns: minmax(0, 1fr) minmax(0, 340px);
    align-items: end;
    gap: 40px;
  }
}

/* ---------------- 能力栅格 ---------------- */
.feature-grid {
  display: grid;
  border-top: 1px solid var(--line);
}

.feature {
  padding: 26px 0 28px;
  border-bottom: 1px solid var(--line-soft);
  position: relative;
}

.feature__num {
  display: block;
  font-family: var(--font-serif);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  color: var(--accent);
  opacity: 0.75;
}

.feature__title {
  margin-top: 12px;
  font-family: var(--font-serif);
  font-size: 1.08rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--ink);
}

.feature__desc {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.9;
  color: var(--ink-mute);
  max-width: 34ch;
}

@media (min-width: 720px) {
  .feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-bottom: 0;
  }
  .feature {
    padding: 28px 26px 30px 0;
    border-bottom: 1px solid var(--line-soft);
  }
  .feature:not(:nth-child(3n + 1)) {
    padding-left: 26px;
  }
  .feature:not(:nth-child(3n)) {
    border-right: 1px solid var(--line-soft);
  }
  .feature:nth-child(n + 4) {
    border-bottom: 0;
  }
}

/* ---------------- 成品预览（暗场） ---------------- */
.showcase {
  position: relative;
  padding: clamp(64px, 9vw, 110px) 0 clamp(64px, 9vw, 110px);
  background: var(--night);
  color: #f2ece1;
  overflow: hidden;
}

.showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 50% at 82% 20%, rgba(178, 137, 106, 0.16), transparent 62%),
    radial-gradient(50% 40% at 8% 90%, rgba(120, 106, 92, 0.18), transparent 70%);
  pointer-events: none;
}

.showcase .container {
  position: relative;
}

.eyebrow--light {
  color: rgba(242, 236, 225, 0.6);
}

.showcase__head {
  display: grid;
  gap: 18px;
  margin-bottom: clamp(32px, 5vw, 52px);
}

.showcase__h2 {
  margin-top: 18px;
  color: #f7f2e8;
}

.showcase__note {
  font-size: 13.5px;
  line-height: 1.95;
  color: rgba(242, 236, 225, 0.6);
  max-width: 34ch;
  align-self: end;
}

.showcase__body {
  display: grid;
  gap: 48px;
  align-items: start;
}

.showcase__panel {
  min-width: 0;
}

@media (min-width: 900px) {
  .showcase__head {
    grid-template-columns: minmax(0, 1fr) minmax(0, 320px);
    align-items: end;
    gap: 40px;
  }
  .showcase__body {
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 56px;
  }
}

/* Tabs */
.tabs {
  position: relative;
  display: inline-flex;
  gap: 4px;
  padding: 5px;
  border: 1px solid rgba(242, 236, 225, 0.18);
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.03);
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.tabs::-webkit-scrollbar {
  display: none;
}

.tab {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: var(--r-pill);
  color: rgba(242, 236, 225, 0.66);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  transition: background 0.35s var(--ease), color 0.35s var(--ease);
  white-space: nowrap;
}

/* 七套时收紧一点，宽屏一排放得下 */
@media (min-width: 760px) {
  .tab {
    padding: 8px 11px;
    gap: 6px;
    font-size: 11.5px;
    letter-spacing: 0.03em;
  }
}

.tab:hover {
  color: #fff;
}

.tab.is-active {
  background: #f7f3ec;
  color: var(--ink);
}

.tab__label {
  font-family: var(--font-serif);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  opacity: 0.55;
}

.showcase__meta {
  margin-top: 40px;
  max-width: 460px;
}

.showcase__name {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  letter-spacing: 0.06em;
  color: #f8f4ea;
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
}

.showcase__en {
  font-size: 9.5px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(242, 236, 225, 0.45);
}

.showcase__desc {
  margin-top: 16px;
  font-size: 14px;
  line-height: 2;
  color: rgba(242, 236, 225, 0.72);
  min-height: 3.4em;
}

.chips {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chips li {
  padding: 5px 13px;
  border: 1px solid rgba(242, 236, 225, 0.18);
  border-radius: var(--r-pill);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: rgba(242, 236, 225, 0.7);
}

.swatches {
  margin-top: 22px;
  display: flex;
  gap: 8px;
}

.swatches span {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.showcase__cta {
  margin-top: 28px;
}

/* 规格表 */
.spec {
  margin-top: 44px;
  border-top: 1px solid rgba(242, 236, 225, 0.14);
  max-width: 460px;
}

.spec li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(242, 236, 225, 0.08);
  font-size: 12px;
}

.spec span {
  letter-spacing: 0.14em;
  color: rgba(242, 236, 225, 0.45);
  flex: none;
}

.spec b {
  font-weight: 400;
  color: rgba(242, 236, 225, 0.85);
  letter-spacing: 0.04em;
  text-align: right;
}

.phone--show {
  --pw: 288px;
  --ps: 0.738;
  justify-self: center;
}

.phone--show .phone__frame {
  box-shadow:
    0 50px 100px -50px rgba(0, 0, 0, 0.9),
    0 0 0 1px rgba(255, 255, 255, 0.14),
    0 0 90px -30px rgba(180, 160, 130, 0.35);
}

@media (min-width: 900px) {
  .phone--show {
    --pw: 330px;
    --ps: 0.846;
    justify-self: end;
    margin-right: 8px;
  }
}

/* ---------------- 模板卡片 ---------------- */
.template-cards {
  display: grid;
  gap: 28px;
}

@media (min-width: 760px) {
  .template-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }
}

/* 七套：宽屏四列，排成 4 + 3 */
@media (min-width: 1100px) {
  .template-cards {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
  }
}

.tcard {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  background: var(--raised);
  overflow: hidden;
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease), border-color 0.6s var(--ease);
}

.tcard:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-2);
  border-color: rgba(22, 19, 15, 0.2);
}

.tcard__preview {
  position: relative;
  height: 340px;
  overflow: hidden;
  background: #efe9df;
  display: flex;
  justify-content: center;
  border-bottom: 1px solid var(--line);
}

.tcard__stage {
  width: 390px;
  height: 844px;
  transform: scale(0.72);
  transform-origin: top center;
  transition: transform 0.8s var(--ease);
  flex: none;
}

/* 史诗自然首屏很高：缩略图从稍低处取景，才看得到山 */
.tcard[data-tcard="epic"] .tcard__stage .site {
  margin-top: -150px;
}

/* 日系二次元：保持顶部取景，名字与日期在最显眼的位置 */
.tcard[data-tcard="anime"] .tcard__stage .site {
  margin-top: -24px;
}

.tcard:hover .tcard__stage {
  transform: scale(0.745);
}

.tcard__preview::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 62%, rgba(246, 242, 234, 0.92) 96%);
  pointer-events: none;
}

.tcard__body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.tcard__head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}

.tcard__name {
  font-family: var(--font-serif);
  font-size: 1.16rem;
  letter-spacing: 0.08em;
  color: var(--ink);
  white-space: nowrap;
}

.tcard__en {
  font-size: 8.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-mute);
  white-space: nowrap;
}

/* 七套时卡片变窄：缩一点字号，避免标题折行 */
@media (min-width: 1100px) {
  .tcard__name {
    font-size: 1.06rem;
    letter-spacing: 0.06em;
  }

  .tcard__en {
    font-size: 8px;
    letter-spacing: 0.16em;
  }

  .tcard__head {
    gap: 6px;
  }
}

.tcard__desc {
  font-size: 12.5px;
  line-height: 1.9;
  color: var(--ink-mute);
  flex: 1;
}

.tcard__scenes {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 2px;
}

.tcard__scenes span {
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: 3px 9px;
}

.tcard__link {
  margin-top: 8px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  align-self: flex-start;
  border-bottom: 1px solid var(--line);
  padding-bottom: 3px;
  transition: border-color 0.3s var(--ease), gap 0.3s var(--ease);
}

.tcard__link:hover {
  border-color: var(--ink);
  gap: 11px;
}

/* ---------------- 流程 ---------------- */
.steps {
  display: grid;
  gap: 30px;
}

.step {
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.step__num {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--accent);
  opacity: 0.55;
  letter-spacing: 0.06em;
}

.step__title {
  margin-top: 10px;
  font-family: var(--font-serif);
  font-size: 1.02rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink);
}

.step__desc {
  margin-top: 8px;
  font-size: 12.5px;
  line-height: 1.9;
  color: var(--ink-mute);
  max-width: 30ch;
}

@media (min-width: 760px) {
  .steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
  }
}

/* ---------------- 说明 ---------------- */
.about {
  border-top: 1px solid var(--line);
  background: rgba(255, 253, 249, 0.6);
}

.about__inner {
  display: grid;
  gap: 32px;
}

.about__h2 {
  margin-top: 16px;
}

.about__text p {
  font-size: 14px;
  line-height: 2.05;
  color: var(--ink-soft);
  max-width: 56ch;
}

.about__text p + p {
  margin-top: 16px;
}

.about__text b {
  font-weight: 500;
  color: var(--ink);
}

.about__text span {
  color: var(--accent);
  font-weight: 500;
}

.about__small {
  font-size: 12.5px !important;
  color: var(--ink-mute) !important;
  padding-top: 6px;
}

@media (min-width: 900px) {
  .about__inner {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
    gap: 64px;
  }
}

/* ---------------- CTA ---------------- */
.cta {
  padding: clamp(64px, 9vw, 104px) 0;
  border-top: 1px solid var(--line);
  text-align: center;
}

.cta__eyebrow {
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--ink-mute);
}

.cta__title {
  margin-top: 24px;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.85rem, 4.2vw, 3.1rem);
  line-height: 1.45;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.cta__sub {
  margin-top: 18px;
  font-size: 13.5px;
  letter-spacing: 0.06em;
  color: var(--ink-mute);
}

.cta__btn {
  margin-top: 32px;
  padding-inline: 34px;
}

/* ---------------- 页脚 ---------------- */
.footer {
  border-top: 1px solid var(--line);
  padding: 48px 0 40px;
  background: rgba(255, 253, 249, 0.5);
}

.footer__inner {
  display: grid;
  gap: 26px;
}

.footer__brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}

.footer__brand p {
  width: 100%;
  margin-top: 6px;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--ink-mute);
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 24px;
  font-size: 12.5px;
  color: var(--ink-soft);
}

.footer__links a:hover {
  color: var(--accent);
}

.footer__copy {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--ink-mute);
}

@media (min-width: 760px) {
  .footer__inner {
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 20px 40px;
  }
  .footer__copy {
    grid-column: 1 / -1;
    padding-top: 20px;
    border-top: 1px solid var(--line-soft);
  }
}

/* ---------------- 移动端细节 ---------------- */
@media (max-width: 640px) {
  .hero__visual {
    padding-bottom: 12px;
  }
  .hero__chip {
    display: none;
  }
  .tcard__preview {
    height: 300px;
  }
  .spec {
    margin-top: 32px;
  }
}
