/* ===== 梦境跨境 · 行业模板展示页 ===== */

.templates-showcase-page {
  background: var(--dream-ink, #151415);
  color: rgba(var(--c-yellow-rgb), 0.92);
  overflow-x: clip;
}

.templates-showcase-page #Dreambuild {
  background: var(--dream-ink, #151415);
}

.templates-showcase-page .site-bottom-mark {
  bottom: calc(env(safe-area-inset-bottom, 0px) + 1.5rem);
  position: fixed;
  z-index: 20;
}

/* 模板页顶栏始终白字（滚动进深色区也不变黑） */
.templates-showcase-page header.tpl-header--fixed-light .-nl,
.templates-showcase-page header.tpl-header--fixed-light .-nl span,
.templates-showcase-page header.tpl-header--fixed-light .site-nav__link,
.templates-showcase-page header.tpl-header--fixed-light .site-nav__label,
.templates-showcase-page header.tpl-header--fixed-light .site-nav__hint,
.template-detail-page header.tpl-header--fixed-light .-nl,
.template-detail-page header.tpl-header--fixed-light .-nl span,
.template-detail-page header.tpl-header--fixed-light .site-nav__link,
.template-detail-page header.tpl-header--fixed-light .site-nav__label,
.template-detail-page header.tpl-header--fixed-light .site-nav__hint {
  color: rgba(241, 234, 222, 0.95) !important;
}

.templates-showcase-page header.tpl-header--fixed-light .site-nav__link.is-active,
.template-detail-page header.tpl-header--fixed-light .site-nav__link.is-active {
  color: #fff !important;
}

.tpl-showcase {
  --tpl-accent: #78bed2;
  --tpl-gold: #c6a76a;
  --tpl-gold-bright: #e8d4a8;
  --tpl-serif: "Noto Serif SC", "Songti SC", serif;
  position: relative;
}

/* --- Hero · Obsidian 天空（对标定制页） --- */
.tpl-hero {
  --tpl-hero-progress: 0;
  align-items: flex-end;
  contain: paint;
  display: flex;
  min-height: calc(var(--vh, 1vh) * 100);
  overflow: hidden;
  padding:
    calc(var(--vh, 1vh) * 14 + env(safe-area-inset-top, 0px))
    max(var(--p), env(safe-area-inset-right, 0px))
    calc(var(--vh, 1vh) * 10)
    max(var(--p), env(safe-area-inset-left, 0px));
  position: relative;
}

.tpl-hero__bg {
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.tpl-hero--obsidian .tpl-hero__sky {
  background-position: center 38%;
  background-repeat: no-repeat;
  background-size: cover;
  inset: 0;
  position: absolute;
  transform: scale(calc(1 + var(--tpl-hero-progress) * 0.06));
  transition: transform 0.1s linear;
}

.tpl-hero--obsidian .tpl-hero__veil {
  background:
    radial-gradient(ellipse 90% 70% at 50% 38%, transparent 42%, rgba(21, 20, 21, 0.18) 100%),
    radial-gradient(circle at 18% 22%, rgba(198, 167, 106, 0.1) 0%, transparent 42%),
    radial-gradient(circle at 82% 28%, rgba(159, 175, 155, 0.08) 0%, transparent 38%);
  inset: 0;
  position: absolute;
}

.tpl-hero--obsidian .tpl-hero__arch-fade {
  background: linear-gradient(
    180deg,
    transparent 0%,
    transparent 34%,
    rgba(21, 20, 21, 0.1) 48%,
    rgba(21, 20, 21, 0.38) 62%,
    rgba(21, 20, 21, 0.72) 76%,
    rgb(21, 20, 21) 90%,
    rgb(21, 20, 21) 100%
  );
  inset: 0;
  position: absolute;
}

.tpl-hero__path {
  height: 100%;
  inset: 0;
  opacity: 0.42;
  pointer-events: none;
  position: absolute;
  width: 100%;
  z-index: 1;
}

.tpl-hero__stone {
  left: 50%;
  pointer-events: none;
  position: absolute;
  top: 46%;
  transform: translate3d(-50%, calc(-50% + var(--tpl-hero-progress) * 8vh), 0)
    scale(calc(1 - var(--tpl-hero-progress) * 0.18));
  width: clamp(7rem, 22vw, 13rem);
  z-index: 1;
}

.tpl-hero__stone img {
  display: block;
  filter: drop-shadow(0 24px 48px rgba(21, 20, 21, 0.35));
  width: 100%;
}

.tpl-hero__stone-hover {
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  inset: 0;
  opacity: 0;
  position: absolute;
  transition: opacity 0.45s ease;
}

.tpl-hero__stone-hover--1 {
  background-image: url("../assets/obsidian/images/home/hover-1.webp");
}

.tpl-hero__stone-hover--2 {
  background-image: url("../assets/obsidian/images/home/hover-2.webp");
}

.tpl-hero:hover .tpl-hero__stone-hover--1 {
  opacity: 0.55;
}

.tpl-hero:hover .tpl-hero__stone-hover--2 {
  opacity: 0.35;
}

.tpl-hero__eyebrow {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 0.85rem;
}

.tpl-hero__shopify-mark {
  display: block;
  filter: none;
  height: auto;
  opacity: 1;
  width: clamp(4.5rem, 12vw, 5.5rem);
}

.tpl-btn__shopify {
  display: block;
  filter: none;
  height: auto;
  margin-right: 0.35rem;
  opacity: 1;
  width: 4.25rem;
}

.tpl-hero--obsidian .tpl-hero__eyebrow span {
  color: rgba(92, 68, 48, 0.72);
}

.tpl-hero-bridge {
  background: linear-gradient(180deg, rgb(21, 20, 21) 0%, rgb(21, 20, 21) 55%, #0a0a0a 100%);
  height: calc(var(--vh, 1vh) * 8);
  margin-top: calc(var(--vh, 1vh) * -6);
  pointer-events: none;
  position: relative;
  z-index: 2;
}

.tpl-hero__layout {
  align-items: flex-end;
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  margin: 0 auto;
  max-width: 76rem;
  position: relative;
  width: 100%;
  z-index: 2;
}

@media (min-width: 960px) {
  .tpl-hero__layout {
    grid-template-columns: minmax(0, 0.52fr) minmax(0, 0.48fr);
    min-height: calc(var(--vh, 1vh) * 62);
  }
}

.tpl-hero__inner {
  isolation: isolate;
  max-width: 36rem;
  position: relative;
  width: 100%;
  z-index: 4;
}

.tpl-hero__actions {
  gap: 0.75rem;
  position: relative;
  z-index: 5;
}

.tpl-btn__shopify {
  display: block;
  filter: none;
  height: auto;
  margin-right: 0.35rem;
  opacity: 1;
  width: 4.25rem;
}

.tpl-btn--obsidian {
  align-items: center;
  display: inline-flex;
  gap: 0.35rem;
}

.tpl-hero__stats {
  border-top: 1px solid rgba(92, 68, 48, 0.18);
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(2rem, 4vw, 2.75rem);
  padding-top: 1.5rem;
}

.tpl-hero--obsidian .tpl-hero__stats {
  border-top-color: rgba(241, 234, 222, 0.16);
}

.tpl-hero--obsidian .tpl-hero__stat-num {
  color: var(--tpl-gold-bright, #e8d4a8);
}

.tpl-hero__stat-num {
  color: var(--tpl-gold-bright);
  display: block;
  font-family: var(--font-b-medium), "Noto Sans SC", sans-serif;
  font-size: clamp(1.25rem, 3vw, 1.65rem);
  letter-spacing: 0.06em;
  line-height: 1;
}

.tpl-hero--obsidian .tpl-hero__stat-label {
  color: rgba(241, 234, 222, 0.72);
}

.tpl-hero__stat-label {
  color: rgba(var(--c-yellow-rgb), 0.45);
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  margin-top: 0.45rem;
}

.tpl-hero__stage {
  display: none;
  min-height: 22rem;
  position: relative;
}

@media (min-width: 960px) {
  .tpl-hero__stage {
    display: block;
  }
}

.tpl-hero__orbit-ring {
  animation: tpl-orbit-spin 48s linear infinite;
  border: 1px dashed rgba(166, 135, 115, 0.28);
  border-radius: 50%;
  height: 88%;
  left: 50%;
  position: absolute;
  top: 52%;
  transform: translate(-50%, -50%);
  width: 88%;
}

@keyframes tpl-orbit-spin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.tpl-hero__orbit {
  inset: 0;
  position: absolute;
}

.tpl-orbit-card {
  color: inherit;
  position: absolute;
  text-decoration: none;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  width: clamp(9rem, 42%, 13.5rem);
  z-index: calc(3 - var(--orbit-i, 0));
}

.tpl-orbit-card:hover {
  transform: translateY(-6px) scale(1.03);
  z-index: 5;
}

.tpl-orbit-card--a {
  animation: tpl-float-a 7s ease-in-out infinite;
  left: 12%;
  top: 8%;
}

.tpl-orbit-card--b {
  animation: tpl-float-b 8.5s ease-in-out infinite;
  right: 4%;
  top: 22%;
}

.tpl-orbit-card--c {
  animation: tpl-float-c 9s ease-in-out infinite;
  bottom: 8%;
  left: 32%;
}

@keyframes tpl-float-a {
  0%,
  100% {
    transform: translateY(0) rotate(-2deg);
  }

  50% {
    transform: translateY(-12px) rotate(1deg);
  }
}

@keyframes tpl-float-b {
  0%,
  100% {
    transform: translateY(0) rotate(2deg);
  }

  50% {
    transform: translateY(-16px) rotate(-1deg);
  }
}

@keyframes tpl-float-c {
  0%,
  100% {
    transform: translateY(0) rotate(-1deg);
  }

  50% {
    transform: translateY(-10px) rotate(2deg);
  }
}

.tpl-orbit-card__frame {
  background: rgba(8, 8, 8, 0.82);
  border: 1px solid color-mix(in srgb, var(--orbit-accent, #78bed2) 35%, transparent);
  border-radius: 0.5rem;
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.45),
    0 0 40px color-mix(in srgb, var(--orbit-accent, #78bed2) 12%, transparent);
  overflow: hidden;
  position: relative;
}

.tpl-orbit-card__frame img {
  aspect-ratio: 3 / 4;
  display: block;
  object-fit: cover;
  object-position: top center;
  width: 100%;
}

.tpl-orbit-card__label {
  backdrop-filter: blur(10px);
  background: rgba(5, 5, 5, 0.72);
  bottom: 0;
  color: rgba(var(--c-yellow-rgb), 0.92);
  font-size: 0.68rem;
  left: 0;
  letter-spacing: 0.06em;
  padding: 0.55rem 0.65rem;
  position: absolute;
  right: 0;
}

.tpl-orbit-card__price {
  color: var(--tpl-gold-bright);
  font-size: 0.62rem;
  position: absolute;
  right: 0.55rem;
  top: 0.45rem;
}

.tpl-btn--magnetic {
  position: relative;
}

@media (max-width: 959px) {
  .tpl-hero__path {
    opacity: 0.22;
  }

  .tpl-hero__inner {
    max-width: none;
  }

  .tpl-hero__stage {
    margin-top: 1.5rem;
  }
}

@media (min-width: 960px) {
  .tpl-hero__stage {
    z-index: 3;
  }
}

@media (max-width: 640px) {
  .tpl-hero__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.tpl-hero__eyebrow {
  color: rgba(120, 190, 210, 0.72);
  font-family: var(--font-b-medium), "Noto Sans SC", sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  margin: 0 0 1.25rem;
  text-indent: 0;
  text-transform: uppercase;
}

.tpl-hero__title {
  display: grid;
  gap: 0.05em;
  margin: 0;
}

.tpl-hero__line {
  display: block;
  font-family: var(--tpl-serif);
  font-size: clamp(2.8rem, 11vw, 6.5rem);
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.02;
}

.tpl-hero__line--ghost {
  -webkit-text-stroke: 1px rgba(120, 190, 210, 0.28);
  color: transparent;
}

.tpl-hero--obsidian .tpl-hero__line--ghost {
  -webkit-text-stroke: 1px rgba(92, 68, 48, 0.22);
}

.tpl-hero__line--solid {
  background: linear-gradient(135deg, var(--tpl-gold-bright) 0%, var(--tpl-gold) 55%, rgba(120, 190, 210, 0.9) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.tpl-hero--obsidian .tpl-hero__line--solid {
  background: none;
  color: rgb(21, 20, 21);
  -webkit-text-stroke: 0;
}

.tpl-hero__meta {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  margin-top: clamp(1.5rem, 4vw, 2.5rem);
}

.tpl-hero__price {
  color: var(--tpl-gold-bright);
  font-family: var(--font-b-medium), "Noto Sans SC", sans-serif;
  font-size: clamp(1.1rem, 2.8vw, 1.45rem);
  letter-spacing: 0.1em;
  margin: 0;
}

.tpl-hero__badge {
  align-items: center;
  animation: tpl-badge-pulse 3s ease-in-out infinite;
  background: rgba(198, 167, 106, 0.1);
  border: 1px solid rgba(198, 167, 106, 0.35);
  border-radius: 999px;
  color: var(--tpl-gold-bright);
  display: inline-flex;
  font-family: var(--font-b-medium), "Noto Sans SC", sans-serif;
  font-size: 0.78rem;
  gap: 0.55em;
  letter-spacing: 0.12em;
  padding: 0.55em 1.1em;
}

.tpl-hero__badge-dot {
  animation: tpl-dot-blink 1.4s ease-in-out infinite;
  background: #4ade80;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(74, 222, 128, 0.65);
  height: 6px;
  width: 6px;
}

@keyframes tpl-badge-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(198, 167, 106, 0.15);
  }

  50% {
    box-shadow: 0 0 24px 2px rgba(198, 167, 106, 0.12);
  }
}

@keyframes tpl-dot-blink {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.35;
  }
}

.tpl-hero--obsidian .tpl-hero__lead {
  color: rgba(241, 234, 222, 0.92);
  text-shadow: 0 1px 24px rgba(0, 0, 0, 0.35);
}

.tpl-hero__lead {
  color: rgba(var(--c-yellow-rgb), 0.68);
  font-size: clamp(0.95rem, 2.2vw, 1.1rem);
  line-height: 1.8;
  margin: clamp(1.25rem, 3vw, 2rem) 0 0;
  max-width: 34rem;
}

.tpl-hero__badge--warm {
  background: rgba(241, 234, 222, 0.55);
  border-color: rgba(166, 135, 115, 0.45);
  color: rgb(92, 68, 48);
}

.tpl-btn--obsidian {
  background: rgb(21, 20, 21);
  color: var(--dream-sand, #f1eade);
}

.tpl-btn--obsidian:hover {
  background: rgb(42, 38, 36);
  transform: translateY(-2px);
}

.tpl-btn--obsidian-ghost {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(241, 234, 222, 0.32);
  color: rgba(241, 234, 222, 0.92);
}

.tpl-btn--obsidian-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(198, 167, 106, 0.55);
  color: var(--tpl-gold-bright, #e8d4a8);
}

.tpl-hero__scroll--warm {
  color: rgba(241, 234, 222, 0.58);
}

.tpl-hero__scroll--warm .tpl-hero__scroll-line {
  background: linear-gradient(180deg, rgba(166, 135, 115, 0.75), transparent);
}

.tpl-hero__line[data-split] .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.85em);
  transition:
    opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.tpl-hero__line[data-split].is-split .char {
  opacity: 1;
  transform: translateY(0);
}

.tpl-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.tpl-btn {
  border-radius: 999px;
  display: inline-flex;
  font-family: var(--font-b-medium), "Noto Sans SC", sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  padding: 0.82em 1.5em;
  text-decoration: none;
  transition:
    background-color 0.35s ease,
    border-color 0.35s ease,
    color 0.35s ease,
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.tpl-btn--primary {
  background: linear-gradient(135deg, rgba(120, 190, 210, 0.95) 0%, rgba(90, 155, 175, 0.95) 100%);
  color: #050505;
}

.tpl-btn--primary:hover {
  transform: translateY(-2px);
}

.tpl-btn--ghost {
  border: 1px solid rgba(var(--c-yellow-rgb), 0.22);
  color: rgba(var(--c-yellow-rgb), 0.78);
}

.tpl-btn--ghost:hover {
  border-color: rgba(198, 167, 106, 0.45);
  color: var(--tpl-gold-bright);
}

.tpl-hero__scroll {
  align-items: center;
  bottom: calc(env(safe-area-inset-bottom, 0px) + 2rem);
  color: rgba(var(--c-yellow-rgb), 0.35);
  display: flex;
  flex-direction: column;
  font-size: 0.58rem;
  gap: 0.5rem;
  left: 50%;
  letter-spacing: 0.28em;
  position: absolute;
  text-indent: 0.28em;
  transform: translateX(-50%);
  z-index: 2;
}

.tpl-hero__scroll-line {
  animation: tpl-scroll-line 2s ease-in-out infinite;
  background: linear-gradient(180deg, rgba(120, 190, 210, 0.7), transparent);
  height: 2.5rem;
  width: 1px;
}

@keyframes tpl-scroll-line {
  0%,
  100% {
    opacity: 0.3;
    transform: scaleY(0.6);
  }

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

/* --- Industry stage --- */
.tpl-stage {
  padding: calc(var(--vh, 1vh) * 6) 0 calc(var(--vh, 1vh) * 8);
  position: relative;
}

.tpl-stage__head {
  margin: 0 auto;
  max-width: 72rem;
  padding: 0 max(var(--p), env(safe-area-inset-right, 0px)) 3rem max(var(--p), env(safe-area-inset-left, 0px));
}

.tpl-stage__label {
  color: rgba(var(--c-yellow-rgb), 0.4);
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  margin: 0 0 0.75rem;
  text-indent: 0.3em;
}

.tpl-stage__title {
  font-family: var(--tpl-serif);
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 500;
  letter-spacing: 0.05em;
  line-height: 1.2;
  margin: 0;
}

.tpl-stage__sub {
  color: rgba(var(--c-yellow-rgb), 0.55);
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 1rem 0 0;
  max-width: 28rem;
}

.tpl-stage__body {
  display: grid;
  gap: 0;
  margin: 0 auto;
  max-width: 72rem;
  padding: 0 max(var(--p), env(safe-area-inset-right, 0px)) 0 max(var(--p), env(safe-area-inset-left, 0px));
}

@media (min-width: 900px) {
  .tpl-stage__body {
    grid-template-columns: minmax(0, 0.38fr) minmax(0, 0.62fr);
    min-height: calc(var(--vh, 1vh) * 72);
  }
}

.tpl-stage__nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  position: relative;
}

@media (min-width: 900px) {
  .tpl-stage__nav {
    position: sticky;
    top: calc(env(safe-area-inset-top, 0px) + 5.5rem);
  }
}

.tpl-stage__tab {
  --tab-accent: var(--tpl-accent);
  align-items: flex-start;
  background: transparent;
  border: none;
  color: rgba(var(--c-yellow-rgb), 0.42);
  cursor: pointer;
  display: grid;
  font-family: inherit;
  gap: 0.15rem;
  padding: 0.85rem 0.75rem;
  position: relative;
  text-align: left;
  transition: color 0.35s ease, background-color 0.35s ease;
  width: 100%;
}

.tpl-stage__tab::before {
  background: var(--tab-accent);
  bottom: 0.5rem;
  content: "";
  left: 0;
  opacity: 0;
  position: absolute;
  top: 0.5rem;
  transition: opacity 0.35s ease;
  width: 2px;
}

.tpl-stage__tab.is-active {
  background: rgba(255, 255, 255, 0.03);
  color: rgba(var(--c-yellow-rgb), 0.95);
}

.tpl-stage__tab.is-active::before {
  opacity: 1;
}

.tpl-stage__tab-index {
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  opacity: 0.5;
}

.tpl-stage__tab-name {
  font-family: var(--tpl-serif);
  font-size: 1.05rem;
  letter-spacing: 0.04em;
}

.tpl-stage__tab-en {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  opacity: 0.45;
  text-transform: uppercase;
}

.tpl-stage__preview {
  min-height: 28rem;
  position: relative;
}

@media (min-width: 900px) {
  .tpl-stage__preview {
    position: sticky;
    top: calc(env(safe-area-inset-top, 0px) + 4rem);
  }
}

.tpl-panel {
  --panel-accent: var(--tpl-accent);
  display: grid;
  gap: 1.5rem;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  width: 100%;
}

.tpl-panel.is-active {
  opacity: 1;
  pointer-events: auto;
  position: relative;
  transform: translateY(0);
}

.tpl-panel:not(.is-active) {
  transform: translateY(12px);
}

.tpl-panel__visual {
  border-radius: 0.65rem;
  overflow: hidden;
  position: relative;
}

.tpl-panel__visual::after {
  background: linear-gradient(
    180deg,
    transparent 40%,
    rgba(5, 5, 5, 0.55) 78%,
    rgba(5, 5, 5, 0.92) 100%
  );
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.tpl-panel__img {
  aspect-ratio: 16 / 10;
  display: block;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
  width: 100%;
}

.tpl-panel.is-active .tpl-panel__img {
  transform: scale(1);
}

.tpl-panel__frame {
  border: 1px solid rgba(var(--panel-accent), 0.25);
  border-radius: 0.65rem;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.03) inset,
    0 24px 60px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.tpl-panel__tag {
  background: rgba(var(--panel-accent), 0.15);
  border: 1px solid rgba(var(--panel-accent), 0.35);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.65rem;
  left: 1rem;
  letter-spacing: 0.16em;
  padding: 0.4em 0.85em;
  position: absolute;
  top: 1rem;
  z-index: 2;
}

.tpl-panel__content {
  display: grid;
  gap: 1.25rem;
}

.tpl-panel__hook {
  color: var(--tpl-gold-bright);
  font-family: var(--tpl-serif);
  font-size: clamp(1.2rem, 3vw, 1.65rem);
  letter-spacing: 0.04em;
  line-height: 1.35;
  margin: 0;
}

.tpl-panel__desc {
  color: rgba(var(--c-yellow-rgb), 0.62);
  font-size: 0.95rem;
  line-height: 1.75;
  margin: 0;
}

.tpl-panel__structures {
  display: grid;
  gap: 0.55rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 560px) {
  .tpl-panel__structures {
    grid-template-columns: 1fr 1fr;
  }
}

.tpl-panel__structures li {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-left: 2px solid var(--panel-accent);
  border-radius: 0.35rem;
  color: rgba(var(--c-yellow-rgb), 0.78);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  padding: 0.65rem 0.85rem;
}

.tpl-panel__pages {
  color: rgba(var(--c-yellow-rgb), 0.45);
  display: flex;
  flex-wrap: wrap;
  font-size: 0.72rem;
  gap: 0.5rem;
  letter-spacing: 0.1em;
  margin: 0;
}

.tpl-panel__pages span {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 0.35em 0.75em;
}

/* --- 1v1 Guide --- */
.tpl-guide {
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(198, 167, 106, 0.08) 0%, transparent 55%),
    linear-gradient(180deg, #050505 0%, #0c0b0a 50%, #050505 100%);
  overflow: hidden;
  padding: calc(var(--vh, 1vh) * 10) max(var(--p), env(safe-area-inset-right, 0px)) calc(var(--vh, 1vh) * 10) max(var(--p), env(safe-area-inset-left, 0px));
  position: relative;
}

.tpl-guide__inner {
  margin: 0 auto;
  max-width: 72rem;
}

.tpl-guide__eyebrow {
  color: rgba(198, 167, 106, 0.55);
  font-size: 0.65rem;
  letter-spacing: 0.32em;
  margin: 0 0 1rem;
  text-indent: 0.32em;
}

.tpl-guide__title {
  font-family: var(--tpl-serif);
  font-size: clamp(2rem, 6vw, 3.8rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.15;
  margin: 0;
  max-width: 16em;
}

.tpl-guide__title em {
  color: var(--tpl-gold-bright);
  font-style: normal;
}

.tpl-guide__lead {
  color: rgba(var(--c-yellow-rgb), 0.58);
  font-size: 1rem;
  line-height: 1.8;
  margin: 1.5rem 0 0;
  max-width: 32rem;
}

.tpl-guide__timeline {
  display: grid;
  gap: 1px;
  margin-top: clamp(2.5rem, 6vw, 4rem);
}

@media (min-width: 768px) {
  .tpl-guide__timeline {
    grid-template-columns: repeat(4, 1fr);
  }
}

.tpl-guide__step {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.05);
  opacity: 0;
  padding: 1.5rem 1.25rem;
  transform: translateY(20px);
  transition:
    opacity 0.6s ease,
    transform 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.35s ease;
}

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

.tpl-guide__step:hover {
  border-color: rgba(198, 167, 106, 0.25);
}

.tpl-guide__step-num {
  color: rgba(198, 167, 106, 0.7);
  font-size: 0.62rem;
  letter-spacing: 0.24em;
  margin: 0 0 0.75rem;
}

.tpl-guide__step-title {
  font-family: var(--tpl-serif);
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  margin: 0 0 0.5rem;
}

.tpl-guide__step-desc {
  color: rgba(var(--c-yellow-rgb), 0.52);
  font-size: 0.85rem;
  line-height: 1.65;
  margin: 0;
}

.tpl-guide__promise {
  align-items: center;
  border: 1px solid rgba(198, 167, 106, 0.2);
  border-radius: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
  margin-top: 3rem;
  padding: 1.5rem 1.75rem;
}

.tpl-guide__promise-text {
  font-family: var(--tpl-serif);
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  letter-spacing: 0.04em;
  margin: 0;
}

.tpl-guide__promise-text strong {
  color: var(--tpl-gold-bright);
  font-weight: 500;
}

.tpl-guide__promise-stat {
  color: rgba(var(--c-yellow-rgb), 0.45);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  margin: 0;
  text-align: right;
}

.tpl-guide__promise-stat span {
  color: var(--tpl-gold-bright);
  display: block;
  font-family: var(--tpl-serif);
  font-size: 2rem;
  letter-spacing: 0.02em;
  line-height: 1.1;
  margin-bottom: 0.15em;
}

/* --- Anatomy --- */
.tpl-anatomy {
  padding: calc(var(--vh, 1vh) * 8) max(var(--p), env(safe-area-inset-right, 0px)) calc(var(--vh, 1vh) * 6) max(var(--p), env(safe-area-inset-left, 0px));
}

.tpl-anatomy__inner {
  margin: 0 auto;
  max-width: 72rem;
}

.tpl-anatomy__head {
  margin-bottom: 2.5rem;
}

.tpl-anatomy__title {
  font-family: var(--tpl-serif);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  letter-spacing: 0.04em;
  margin: 0;
}

.tpl-anatomy__grid {
  display: grid;
  gap: 1px;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .tpl-anatomy__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .tpl-anatomy__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.tpl-anatomy__card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  opacity: 0;
  padding: 1.5rem 1.25rem;
  transform: translateY(16px);
  transition:
    opacity 0.55s ease,
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    background-color 0.35s ease;
}

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

.tpl-anatomy__card:hover {
  background: rgba(255, 255, 255, 0.05);
}

.tpl-anatomy__icon {
  color: rgba(120, 190, 210, 0.85);
  font-family: var(--tpl-serif);
  font-size: 1.5rem;
  margin: 0 0 0.75rem;
}

.tpl-anatomy__name {
  font-family: var(--tpl-serif);
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  margin: 0 0 0.5rem;
}

.tpl-anatomy__desc {
  color: rgba(var(--c-yellow-rgb), 0.52);
  font-size: 0.82rem;
  line-height: 1.65;
  margin: 0;
}

/* --- Package --- */
.tpl-package {
  padding: calc(var(--vh, 1vh) * 6) max(var(--p), env(safe-area-inset-right, 0px)) calc(var(--vh, 1vh) * 8) max(var(--p), env(safe-area-inset-left, 0px));
}

.tpl-package__inner {
  display: grid;
  gap: 2rem;
  margin: 0 auto;
  max-width: 72rem;
}

@media (min-width: 900px) {
  .tpl-package__inner {
    align-items: start;
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.tpl-package__card {
  backdrop-filter: blur(12px);
  background:
    linear-gradient(145deg, rgba(120, 190, 210, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(120, 190, 210, 0.22);
  border-radius: 0.85rem;
  padding: clamp(1.5rem, 4vw, 2.25rem);
}

.tpl-package__name {
  font-family: var(--tpl-serif);
  font-size: 1.65rem;
  letter-spacing: 0.04em;
  margin: 0;
}

.tpl-package__price {
  color: var(--tpl-gold-bright);
  font-size: 1.2rem;
  letter-spacing: 0.08em;
  margin: 0.5rem 0 0;
}

.tpl-package__note {
  color: rgba(var(--c-yellow-rgb), 0.48);
  font-size: 0.88rem;
  margin: 0.35rem 0 0;
}

.tpl-package__list {
  color: rgba(var(--c-yellow-rgb), 0.75);
  font-size: 0.92rem;
  line-height: 1.8;
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
}

.tpl-package__list li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 0.55rem 0;
  position: relative;
}

.tpl-package__list li::before {
  color: rgba(120, 190, 210, 0.8);
  content: "·";
  margin-right: 0.65em;
}

.tpl-package__list li:last-child {
  border-bottom: none;
}

.tpl-package__list li strong {
  color: var(--tpl-gold-bright);
  font-weight: 500;
}

.tpl-package__upgrade {
  padding-top: 0.5rem;
}

.tpl-package__upgrade-title {
  font-family: var(--tpl-serif);
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  margin: 0 0 0.75rem;
}

.tpl-package__upgrade-text {
  color: rgba(var(--c-yellow-rgb), 0.58);
  font-size: 0.92rem;
  line-height: 1.75;
  margin: 0 0 1.25rem;
}

.tpl-package__upgrade-link {
  color: var(--tpl-gold-bright);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.tpl-package__upgrade-link:hover {
  opacity: 0.75;
}

/* --- CTA --- */
.tpl-cta {
  padding: calc(var(--vh, 1vh) * 6) max(var(--p), env(safe-area-inset-right, 0px)) calc(var(--vh, 1vh) * 14) max(var(--p), env(safe-area-inset-left, 0px));
  text-align: center;
}

.tpl-cta__inner {
  margin: 0 auto;
  max-width: 40rem;
}

.tpl-cta__title {
  font-family: var(--tpl-serif);
  font-size: clamp(1.6rem, 4.5vw, 2.6rem);
  letter-spacing: 0.05em;
  line-height: 1.25;
  margin: 0;
}

.tpl-cta__sub {
  color: rgba(var(--c-yellow-rgb), 0.5);
  font-size: 0.92rem;
  line-height: 1.7;
  margin: 1rem auto 0;
  max-width: 26rem;
}

.tpl-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
  margin-top: 2rem;
}

/* --- Reveal --- */
@media (prefers-reduced-motion: reduce) {
  .tpl-hero__grid,
  .tpl-hero__scan,
  .tpl-hero__badge,
  .tpl-hero__badge-dot,
  .tpl-hero__scroll-line {
    animation: none;
  }

  .tpl-guide__step,
  .tpl-anatomy__card {
    opacity: 1;
    transform: none;
  }
}
