/* Partnership — Lanhu dark style */

:root {
  --ps-bg: #101d42;
  --ps-card: #1a2649;
  --ps-input: #2e3b5f;
  --ps-blue: #1a69ff;
  --ps-muted: rgba(255, 255, 255, 0.72);
  --ps-border: rgba(255, 255, 255, 0.12);
}

body.ps-page {
  background: var(--ps-bg);
  min-height: 100vh;
}

body.ps-page::before,
body.ps-page::after {
  display: none;
}

body.ps-page .page-wrap {
  background: var(--ps-bg);
}

body.ps-page .site-header {
  background: rgba(16, 29, 66, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

body.ps-page .brand { color: #f4f4f5; }
body.ps-page .nav-link { color: rgba(244, 244, 245, 0.72); }
body.ps-page .nav-link:hover,
body.ps-page .nav-link.is-active { color: #f4f4f5; background: rgba(255, 255, 255, 0.06); }
body.ps-page .nav-link.is-active { color: #6f99ff; background: rgba(26, 105, 255, 0.12); }
body.ps-page .nav-dropdown.is-open .nav-dropdown-trigger { color: #6f99ff; background: rgba(26, 105, 255, 0.1); }
body.ps-page .nav-dropdown-panel { background: #0a1534; border-color: rgba(255, 255, 255, 0.1); box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45); }
body.ps-page .dropdown-item:hover { background: rgba(255, 255, 255, 0.06); }
body.ps-page .dropdown-title { color: #f4f4f5; }
body.ps-page .dropdown-desc { color: #a1a1aa; }
body.ps-page .nav-toggle { color: #f4f4f5; }
body.ps-page .nav-toggle:hover { background: rgba(255, 255, 255, 0.06); }

.ps-main {
  color: #fff;
  background: var(--ps-bg);
}

/* Hero — keep full 16:9 slice visible (was cropping with short min-height + cover) */
.ps-hero {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: clamp(26rem, 56.25vw, 67.5rem);
  display: flex;
  align-items: center;
  background-color: var(--ps-bg);
  background-image: url("../images/partnership/hero-bg.jpg");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

@media (max-width: 720px) {
  .ps-hero {
    aspect-ratio: auto;
    min-height: min(100svh, 36rem);
    background-position: 72% center;
  }
}

.ps-hero__inner {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: clamp(5rem, 10vw, 8rem) var(--container-padding) clamp(3rem, 6vw, 4.5rem);
  text-align: center;
}

.ps-hero__title {
  margin: 0 auto 1rem;
  max-width: none;
  white-space: nowrap;
  font-size: clamp(1.65rem, 4.2vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: #fff;
}

.ps-hero__lead {
  margin: 0 auto;
  max-width: 34rem;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 600;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
}

.ps-hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1.75rem;
  min-width: 10.5rem;
  height: 2.85rem;
  padding: 0 1.75rem;
  border-radius: 999px;
  background: var(--ps-blue);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(26, 105, 255, 0.35);
  transition: background 0.15s ease, transform 0.15s ease;
}

.ps-hero__btn:hover {
  background: #2d7aff;
  color: #fff;
  transform: translateY(-1px);
}

/* Features */
.ps-features {
  padding: clamp(3rem, 7vw, 5rem) 0;
}

.ps-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  margin-bottom: clamp(3rem, 7vw, 5rem);
}

.ps-feature:last-child {
  margin-bottom: 0;
}

.ps-feature--reverse .ps-feature__media {
  order: 2;
}

.ps-feature--reverse .ps-feature__copy {
  order: 1;
}

.ps-feature__media {
  display: flex;
  justify-content: center;
}

.ps-feature__media img {
  width: min(100%, 28rem);
  height: auto;
  display: block;
}

.ps-feature__title {
  margin: 0 0 1rem;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 800;
  line-height: 1.35;
  color: #fff;
}

.ps-feature__body {
  margin: 0 0 1.25rem;
  color: var(--ps-muted);
  font-size: 0.95rem;
  line-height: 1.75;
}

.ps-feature__list {
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
}

.ps-feature__list li {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  color: #fff;
  font-size: 0.95rem;
  line-height: 1.55;
}

.ps-feature__list li::before {
  content: "✔";
  flex-shrink: 0;
  color: var(--ps-blue);
  font-weight: 700;
}

.ps-feature__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--ps-blue);
  font-weight: 700;
  text-decoration: none;
}

.ps-feature__link:hover {
  color: #4d8aff;
}

.ps-feature__soon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 8rem;
  height: 2.5rem;
  padding: 0 1.25rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.65);
  font-weight: 650;
  font-size: 0.9rem;
}

/* Assets */
.ps-assets {
  padding: clamp(3rem, 7vw, 5rem) 0;
}

.ps-assets__head {
  text-align: center;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.ps-assets__title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: #fff;
}

.ps-assets__lead {
  margin: 0;
  color: var(--ps-muted);
  font-size: 1.05rem;
}

.ps-assets__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.ps-card {
  background: var(--ps-card);
  border-radius: 0.75rem;
  padding: 1.85rem 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  min-height: 26rem;
}

.ps-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.25rem;
}

.ps-card__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}

.ps-card__logo {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  object-fit: cover;
  flex-shrink: 0;
}

.ps-card__name {
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
}

.ps-card__badge {
  flex-shrink: 0;
  padding: 0.25rem 0.55rem;
  border-radius: 0.35rem;
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
}

.ps-card__label {
  color: var(--ps-muted);
  font-size: 0.85rem;
  margin-top: 0.15rem;
}

.ps-card__field {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 3.5rem;
  padding: 0.85rem 1rem;
  border-radius: 0.5rem;
  background: var(--ps-input);
}

.ps-card__amount {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ps-card__token {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.ps-card__token img {
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 999px;
}

.ps-card__cta {
  margin-top: auto;
  width: 100%;
  height: 3rem;
  border: 0;
  border-radius: 0.55rem;
  background: var(--ps-blue);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
}

.ps-card__cta:hover {
  background: #2d7aff;
}

/* FAQs */
.ps-faq {
  padding: clamp(3rem, 7vw, 5rem) 0 clamp(4rem, 8vw, 6rem);
}

.ps-faq__title {
  margin: 0 0 clamp(1.75rem, 4vw, 2.75rem);
  text-align: center;
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: #fff;
}

.ps-faq__list {
  margin: 0 auto;
  padding: 0;
  list-style: none;
  max-width: 75rem;
}

.ps-faq__item {
  margin-bottom: 0.65rem;
}

.ps-faq__trigger {
  width: 100%;
  display: grid;
  grid-template-columns: 2.5rem 1fr auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.95rem 1rem;
  border: 0;
  border-radius: 0.5rem;
  background: transparent;
  color: #fff;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.ps-faq__num {
  font-weight: 800;
  font-size: 0.95rem;
}

.ps-faq__q {
  font-weight: 700;
  font-size: 0.95rem;
}

.ps-faq__panel {
  display: none;
  padding: 0 1rem 1.1rem 3.5rem;
  color: #a2a2a2;
  font-size: 0.875rem;
  line-height: 1.7;
  max-width: 52rem;
  white-space: pre-line;
}

.ps-faq__panel a {
  color: #6f99ff;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.ps-faq__panel a:hover {
  color: #93b4ff;
}

.ps-faq__item.is-open .ps-faq__panel {
  display: block;
}

@media (max-width: 960px) {
  .ps-feature,
  .ps-feature--reverse {
    grid-template-columns: 1fr;
  }

  .ps-feature--reverse .ps-feature__media,
  .ps-feature--reverse .ps-feature__copy {
    order: unset;
  }

  .ps-assets__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .ps-hero__title {
    white-space: nowrap;
    font-size: clamp(1.25rem, 6.5vw, 1.85rem);
  }

  .ps-faq__panel {
    padding-left: 1rem;
  }
}
