/* 定制页 · 全宽大气版 */

.custom-page {
  position: relative;
  min-height: 100vh;
  background: #0b0a09;
}

.custom-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% -10%, rgba(160, 100, 30, 0.2), transparent 55%),
    radial-gradient(ellipse at 90% 40%, rgba(80, 55, 20, 0.08), transparent 45%),
    linear-gradient(180deg, #0b0a09 0%, #0b0a09 100%);
}

.custom-page .head,
.custom-page .custom-main,
.custom-page .foot {
  position: relative;
  z-index: 1;
}

.custom-page .head {
  position: fixed;
  z-index: 40;
}

.custom-page .auth-mask {
  position: fixed;
  inset: 0;
  z-index: 80;
}

.custom-main {
  padding-top: 72px;
}

/* Banner */
.custom-banner {
  position: relative;
  padding: clamp(3.5rem, 8vw, 5.5rem) clamp(1.5rem, 5vw, 3rem) clamp(3rem, 6vw, 4.5rem);
  text-align: center;
  overflow: hidden;
  border-bottom: 1px solid #2a2318;
}

.custom-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 10, 9, 0.35) 0%, rgba(11, 10, 9, 0.92) 75%),
    url("/assets/hero-bg.webp") center 30% / cover no-repeat;
  z-index: 0;
}

.custom-banner__inner {
  position: relative;
  z-index: 1;
  max-width: 920px;
  margin: 0 auto;
}

.custom-banner__eyebrow {
  margin: 0 0 1rem;
  font-size: 0.72rem;
  letter-spacing: 0.48em;
  color: rgba(196, 168, 106, 0.85);
}

.custom-banner h1 {
  margin: 0 0 1.1rem;
  font-size: clamp(2.6rem, 6vw, 4rem);
  font-weight: 500;
  letter-spacing: 0.38em;
  text-indent: 0.38em;
  color: #f7eed4;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
}

.custom-banner__lead {
  margin: 0 auto 2.2rem;
  max-width: 38rem;
  font-size: clamp(0.95rem, 2vw, 1.08rem);
  line-height: 1.9;
  color: #b8a078;
}

.custom-banner__stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.custom-banner__stats li {
  min-width: 7rem;
  padding: 0.85rem 1.25rem;
  border: 1px solid rgba(196, 168, 106, 0.28);
  border-radius: 8px;
  background: rgba(18, 14, 10, 0.72);
  backdrop-filter: blur(6px);
}

.custom-banner__stats strong {
  display: block;
  font-size: 1.35rem;
  font-weight: 500;
  color: #f0dfb0;
  letter-spacing: 0.06em;
  line-height: 1.2;
}

.custom-banner__stats span {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: #8a7550;
}

/* Strip */
.custom-strip {
  border-bottom: 1px solid #2a2318;
  background: rgba(16, 13, 10, 0.85);
}

.custom-strip__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.custom-strip__inner article {
  padding: 2rem clamp(1.2rem, 3vw, 2rem);
  border-right: 1px solid rgba(42, 35, 24, 0.65);
  text-align: center;
}

.custom-strip__inner article:last-child {
  border-right: 0;
}

.custom-strip__inner h2 {
  margin: 0 0 0.55rem;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: #e0c878;
}

.custom-strip__inner p {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.75;
  color: #8a7550;
}

/* Sections */
.custom-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(2.8rem, 5vw, 4rem) clamp(1.2rem, 4vw, 2.8rem);
}

.custom-section--alt {
  max-width: none;
  background: rgba(14, 12, 10, 0.65);
  border-top: 1px solid #2a2318;
  border-bottom: 1px solid #2a2318;
}

.custom-section--alt .custom-section__head,
.custom-section--alt .custom-bundle-row,
.custom-section--alt .custom-flow {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1.2rem, 4vw, 2.8rem);
  padding-right: clamp(1.2rem, 4vw, 2.8rem);
}

.custom-section__head {
  text-align: center;
  margin-bottom: clamp(1.8rem, 4vw, 2.8rem);
}

.custom-section__eyebrow {
  margin: 0 0 0.6rem;
  font-size: 0.68rem;
  letter-spacing: 0.42em;
  color: rgba(154, 130, 92, 0.8);
}

.custom-section__head h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-indent: 0.2em;
  color: #f2e6c4;
}

.custom-section__desc {
  margin: 0 auto;
  max-width: 36rem;
  font-size: 0.9rem;
  line-height: 1.8;
  color: #8a7550;
}

/* Product grid */
.custom-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.35rem;
}

.custom-card {
  display: flex;
  flex-direction: column;
  padding: clamp(1.4rem, 3vw, 1.85rem);
  border: 1px solid #2a2318;
  border-radius: 12px;
  background: linear-gradient(160deg, rgba(24, 19, 14, 0.95), rgba(12, 10, 8, 0.92));
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.custom-card:hover {
  border-color: rgba(196, 168, 106, 0.35);
  transform: translateY(-2px);
}

.custom-card--featured {
  grid-column: 1 / -1;
  border-color: rgba(180, 140, 60, 0.35);
  background: linear-gradient(135deg, rgba(36, 28, 14, 0.6), rgba(14, 12, 10, 0.94));
  padding: clamp(1.6rem, 3.5vw, 2.2rem) clamp(1.4rem, 3vw, 2rem);
}

.custom-card__badge {
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 0.75rem;
  padding: 0.22rem 0.65rem;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: #f0dfb0;
  border: 1px solid rgba(196, 168, 106, 0.45);
  border-radius: 4px;
  background: rgba(196, 168, 106, 0.1);
}

.custom-card__title {
  margin: 0 0 0.35rem;
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  font-weight: 500;
  letter-spacing: 0.1em;
  color: #f0dfb0;
}

.custom-card__tagline {
  margin: 0 0 0.85rem;
  font-size: 0.82rem;
  color: #c4a86a;
  letter-spacing: 0.06em;
}

.custom-card__intro {
  margin: 0 0 1rem;
  font-size: 0.88rem;
  line-height: 1.75;
  color: #9a825c;
}

.custom-card__list {
  flex: 1;
  margin: 0;
  padding: 0;
  list-style: none;
}

.custom-card__list li {
  position: relative;
  padding: 0.4rem 0 0.4rem 1rem;
  font-size: 0.84rem;
  line-height: 1.6;
  color: #a89068;
  border-bottom: 1px solid rgba(42, 35, 24, 0.45);
}

.custom-card__list li:last-child {
  border-bottom: 0;
}

.custom-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78rem;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #c4a86a;
}

.custom-card--featured .custom-card__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 1.5rem;
}

.custom-card__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
  margin-top: 1.25rem;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(42, 35, 24, 0.65);
}

.custom-card__demo {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: rgba(154, 130, 92, 0.75);
}

.btn-sm {
  padding: 0.45rem 1rem;
  font-size: 0.82rem;
}

/* Bundle row */
.custom-bundle-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.35rem;
}

.custom-bundle {
  padding: clamp(1.5rem, 3vw, 2rem);
  border: 1px solid rgba(180, 140, 60, 0.28);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(28, 22, 14, 0.8), rgba(14, 12, 10, 0.9));
}

.custom-bundle--roadmap {
  border-color: #2a2318;
  background: rgba(18, 15, 11, 0.75);
}

.custom-bundle h3 {
  margin: 0 0 0.65rem;
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: #f0dfb0;
}

.custom-bundle p {
  margin: 0 0 1rem;
  font-size: 0.88rem;
  line-height: 1.75;
  color: #9a825c;
}

.custom-bundle__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.custom-bundle__tags li {
  padding: 0.35rem 0.75rem;
  font-size: 0.78rem;
  color: #c4a86a;
  border: 1px solid rgba(196, 168, 106, 0.3);
  border-radius: 4px;
  background: rgba(196, 168, 106, 0.06);
}

.custom-roadmap {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem 1rem;
}

.custom-roadmap li {
  padding: 0.45rem 0;
  font-size: 0.82rem;
  color: #8a7550;
  border-bottom: 1px dashed rgba(42, 35, 24, 0.55);
}

.custom-roadmap span {
  color: #a89068;
}

/* Capabilities */
.custom-caps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.custom-cap {
  padding: 1.35rem 1.25rem 1.45rem;
  background: rgba(18, 15, 11, 0.55);
}

.custom-cap__title {
  margin: 0 0 1rem;
  padding-bottom: 0.75rem;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: #e0c878;
  border-bottom: 1px solid rgba(196, 168, 106, 0.22);
}

.custom-cap__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.custom-cap__list li {
  position: relative;
  padding: 0.42rem 0 0.42rem 0.9rem;
  font-size: 0.84rem;
  line-height: 1.55;
  color: #9a825c;
}

.custom-cap__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78rem;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #c4a86a;
}

@media (max-width: 1024px) {
  .custom-caps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .custom-caps {
    grid-template-columns: 1fr;
  }
}

/* Flow */
.custom-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.custom-flow li {
  padding: 1.35rem 1.15rem;
  border: 1px solid #2a2318;
  border-radius: 10px;
  background: rgba(18, 15, 11, 0.75);
  text-align: center;
}

.custom-flow__step {
  display: inline-block;
  margin-bottom: 0.75rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: #1a1510;
  padding: 0.35rem 0.65rem;
  border-radius: 4px;
  background: linear-gradient(145deg, #e0c878, #c4a86a);
}

.custom-flow h3 {
  margin: 0 0 0.45rem;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: #e0c878;
}

.custom-flow p {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.65;
  color: #8a7550;
}

/* CTA */
.custom-cta {
  margin-top: 0;
  padding: clamp(2.8rem, 5vw, 4rem) 0;
  background: rgba(14, 12, 10, 0.55);
}

.custom-cta__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(1.2rem, 4vw, 2.8rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(2rem, 5vw, 4rem);
}

.custom-cta__copy {
  flex: 1;
  min-width: 0;
}

.custom-cta__eyebrow {
  margin: 0 0 0.6rem;
  font-size: 0.68rem;
  letter-spacing: 0.42em;
  color: rgba(154, 130, 92, 0.8);
}

.custom-cta__copy h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-indent: 0.2em;
  color: #f2e6c4;
}

.custom-cta__lead {
  margin: 0 0 1.15rem;
  max-width: 32rem;
  font-size: 0.9rem;
  line-height: 1.8;
  color: #8a7550;
}

.custom-cta__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.custom-cta__tags li {
  padding: 0.55rem 1.05rem;
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  color: #c4a86a;
  border-radius: 6px;
  background: rgba(196, 168, 106, 0.08);
}

.custom-cta__qr {
  flex-shrink: 0;
  text-align: center;
}

.custom-cta__img {
  display: block;
  width: 160px;
  height: 160px;
  object-fit: contain;
  border-radius: 6px;
}

.custom-cta__ph {
  width: 160px;
  height: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: rgba(26, 21, 16, 0.9);
  color: #8a7550;
  font-size: 0.78rem;
  line-height: 1.4;
}

.custom-cta__ph[hidden] {
  display: none !important;
}

.custom-cta__ph p:first-child {
  color: #e0c878;
  margin: 0 0 0.2rem;
}

.custom-cta__ph p:last-child {
  margin: 0;
  font-size: 0.72rem;
}

.custom-cta__caption {
  margin: 0.65rem 0 0;
  font-size: 0.78rem;
  color: #8a7550;
  letter-spacing: 0.14em;
}

/* Responsive */
@media (max-width: 1024px) {
  .custom-grid {
    grid-template-columns: 1fr;
  }

  .custom-card--featured .custom-card__list {
    grid-template-columns: 1fr;
  }

  .custom-bundle-row {
    grid-template-columns: 1fr;
  }

  .custom-flow {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .custom-strip__inner {
    grid-template-columns: 1fr;
  }

  .custom-strip__inner article {
    border-right: 0;
    border-bottom: 1px solid rgba(42, 35, 24, 0.65);
  }

  .custom-strip__inner article:last-child {
    border-bottom: 0;
  }

  .custom-cta__inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .custom-cta__lead {
    margin-left: auto;
    margin-right: auto;
  }

  .custom-cta__tags {
    justify-content: center;
  }

  .custom-cta__qr {
    order: -1;
  }

  .custom-roadmap {
    grid-template-columns: 1fr;
  }

  .custom-flow {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .custom-banner h1 {
    letter-spacing: 0.22em;
    text-indent: 0.22em;
  }

  .custom-card__foot {
    flex-direction: column;
    align-items: flex-start;
  }
}
