/* Genesis Bundle — Lanhu design (responsive) */

:root {
  --gb-bg: #101d42;
  --gb-card: rgba(10, 21, 52, 0.8);
  --gb-input: #1a2649;
  --gb-border: #6b6d8d;
  --gb-blue: #1a69ff;
  --gb-blue-soft: #4b7fff;
  --gb-muted: #a2a2a2;
}

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

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

body.gb-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.gb-page .brand { color: #f4f4f5; }
body.gb-page .nav-link { color: rgba(244, 244, 245, 0.72); }
body.gb-page .nav-link:hover,
body.gb-page .nav-link.is-active { color: #f4f4f5; background: rgba(255, 255, 255, 0.06); }
body.gb-page .nav-link.is-active { color: #6f99ff; background: rgba(26, 105, 255, 0.12); }
body.gb-page .nav-dropdown.is-open .nav-dropdown-trigger { color: #6f99ff; background: rgba(26, 105, 255, 0.1); }
body.gb-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.gb-page .dropdown-item:hover { background: rgba(255, 255, 255, 0.06); }
body.gb-page .dropdown-title { color: #f4f4f5; }
body.gb-page .dropdown-desc { color: #a1a1aa; }
body.gb-page .nav-toggle { color: #f4f4f5; }
body.gb-page .nav-toggle:hover { background: rgba(255, 255, 255, 0.06); }

body.gb-page::before {
  display: none;
}

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

/* —— Hero —— */
.gb-hero {
  position: relative;
  width: 100%;
  background: var(--gb-bg);
  overflow: hidden;
}

.gb-hero__media {
  display: block;
  width: 100%;
  height: auto;
}

.gb-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(5, 8, 30, 0.58) 0%,
    rgba(5, 8, 30, 0.28) 34%,
    rgba(5, 8, 30, 0.06) 52%,
    transparent 68%
  );
  pointer-events: none;
}

.gb-hero__inner {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 4rem) var(--container-padding);
  pointer-events: none;
}

.gb-hero__title {
  margin: 0 0 clamp(1.25rem, 2.5vw, 2rem);
  max-width: 12ch;
  font-size: clamp(2rem, 4.6vw, 3.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.12;
  color: #fff;
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

.gb-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  pointer-events: auto;
}

.gb-hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 10.5rem;
  height: 3.25rem;
  padding: 0 1.75rem;
  border-radius: 999px;
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: opacity 0.2s var(--ease), transform 0.15s var(--ease);
}

.gb-hero__btn--primary {
  color: #fff;
  background: url("../images/genesis/lanhu/btn-primary.png") center / 100% 100% no-repeat;
  box-shadow: inset 0 0 6px rgba(255, 255, 255, 0.5);
}

.gb-hero__btn--ghost {
  color: #fff;
  background: rgba(17, 18, 97, 0.8);
  border-color: rgba(255, 255, 255, 0.25);
}

.gb-hero__btn:hover {
  transform: translateY(-1px);
  opacity: 0.95;
}

/* —— Value props —— */
.gb-props-section {
  padding: clamp(2.5rem, 5vw, 3.5rem) 0;
  background: var(--gb-bg);
}

.gb-props {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem 2rem;
}

.gb-prop {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.65rem;
}

.gb-prop__img {
  width: min(100%, 16.875rem);
  aspect-ratio: 1;
  object-fit: contain;
}

.gb-prop__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
  color: #fff;
}

.gb-prop__desc {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
}

/* —— Buy stage —— */
.gb-buy-stage {
  position: relative;
  padding: clamp(3rem, 7vw, 4.5rem) 0 clamp(4rem, 8vw, 6rem);
  background: var(--gb-bg);
  overflow: hidden;
}

.gb-buy-stage__scene {
  position: absolute;
  inset: 0;
  width: 100%;
  background: url("../images/genesis/buy-stage-bg.jpg") center center / cover no-repeat;
  pointer-events: none;
}

.gb-buy-stage__head-wrap {
  position: relative;
  z-index: 1;
  margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
  padding: clamp(2rem, 4vw, 3rem) 0;
  background: none;
}

.gb-buy-stage__head {
  max-width: 40rem;
  margin: 0 auto;
  text-align: center;
}

.gb-buy-stage__title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  color: #fff;
}

.gb-buy-stage__sub {
  margin: 0;
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  color: rgba(255, 255, 255, 0.9);
}

.gb-glass {
  position: relative;
  z-index: 2;
  width: min(100%, 50rem);
  margin: 0 auto;
  padding: 2rem 2rem 1.75rem;
  border-radius: 1.5rem;
  background: var(--gb-card);
  backdrop-filter: blur(12px);
}

.gb-glass__title {
  margin: 0 0 1.25rem;
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
}

.gb-supply {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding: 0.85rem 1rem;
  border-radius: 1rem;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.gb-supply__total {
  font-size: 0.9rem;
  font-weight: 700;
  background: linear-gradient(316deg, #ffb46f 0%, #a770ff 50%, #6f99ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.gb-supply__left {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gb-blue-soft);
}

.gb-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 2.5rem;
  margin-bottom: 1rem;
}

.gb-row__label {
  font-size: 0.95rem;
  color: #fff;
}

.gb-row__value {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.45rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  text-align: right;
}

.gb-qty {
  display: inline-flex;
  align-items: stretch;
  min-height: 3rem;
  border: 1px solid var(--gb-border);
  border-radius: 0.55rem;
  overflow: hidden;
  background: var(--gb-input);
}

.gb-qty__btn {
  width: 3.15rem;
  min-height: 3rem;
  border: 0;
  background: var(--gb-input);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.gb-qty__icon {
  position: relative;
  width: 0.9rem;
  height: 0.9rem;
  display: block;
}

.gb-qty__icon::before,
.gb-qty__icon::after {
  content: "";
  position: absolute;
  background: currentColor;
  border-radius: 1px;
}

.gb-qty__icon--minus::before {
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
  transform: translateY(-50%);
}

.gb-qty__icon--plus::before {
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
  transform: translateY(-50%);
}

.gb-qty__icon--plus::after {
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
}

.gb-qty__btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.gb-qty__btn:not(:disabled):hover {
  background: rgba(255, 255, 255, 0.06);
}

.gb-qty__input {
  width: 2.9rem;
  min-height: 3rem;
  border: 0;
  border-left: 1px solid var(--gb-border);
  border-right: 1px solid var(--gb-border);
  background: transparent;
  color: #fff;
  text-align: center;
  font-weight: 600;
  font-size: 1rem;
}

.gb-tokens {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding-bottom: 1.35rem;
}

.gb-token {
  position: relative;
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
}

.gb-token.is-active {
  border-color: #f0b90b;
  box-shadow: 0 0 0 3px rgba(240, 185, 11, 0.2);
}

.gb-token--deal.is-active {
  border-color: #34d399;
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.22);
}

.gb-token img {
  width: 100%;
  height: 100%;
  border-radius: 999px;
  object-fit: cover;
}

.gb-token__badge {
  position: absolute;
  left: 50%;
  top: calc(100% + 0.45rem);
  bottom: auto;
  transform: translateX(-50%);
  white-space: nowrap;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #fb7185, #f97316);
  color: #fff;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.2;
  box-shadow: 0 4px 10px rgba(249, 115, 22, 0.35);
  pointer-events: none;
}

.gb-token--deal.is-active .gb-token__badge {
  background: linear-gradient(135deg, #34d399, #10b981);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

.gb-deal-hint {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(52, 211, 153, 0.45);
  background: rgba(16, 185, 129, 0.15);
  color: #6ee7b7;
  font-size: 0.72rem;
  font-weight: 700;
}

.gb-glass__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: min(100%, 35rem);
  height: 3rem;
  margin: 1.75rem auto 0;
  border: 0;
  border-radius: 999px;
  background: var(--gb-blue);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
}

.gb-glass__cta:hover {
  background: #2d7aff;
}

/* —— Models —— */
.gb-models-section {
  padding: clamp(4rem, 8vw, 6rem) 0;
  background: var(--gb-bg);
}

.gb-models__head {
  margin: 0 auto clamp(2.5rem, 5vw, 4rem);
  max-width: none;
  text-align: center;
  font-size: clamp(1.35rem, 3.2vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  color: #fff;
  white-space: nowrap;
}

.gb-models__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2.5rem 1.5rem;
}

.gb-model {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.65rem;
}

.gb-model__icon {
  width: 8.25rem;
  height: 8.25rem;
  border-radius: 999px;
  object-fit: cover;
}

.gb-model__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}

.gb-model__desc {
  margin: 0;
  max-width: 16rem;
  font-size: 0.875rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.92);
}

/* —— FAQs —— */
.gb-faq-section {
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(4rem, 8vw, 6rem);
  background: var(--gb-bg);
}

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

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

.gb-faq__item {
  border-radius: 0.5rem;
  margin-bottom: 0.75rem;
}

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

.gb-faq__num {
  font-weight: 700;
  font-size: 0.95rem;
}

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

.gb-faq__panel {
  display: none;
  padding: 0 1rem 1rem 3.5rem;
  color: var(--gb-muted);
  font-size: 0.875rem;
  line-height: 1.65;
  max-width: 48rem;
}

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

/* —— Responsive —— */
@media (max-width: 1100px) {
  .gb-props,
  .gb-models__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .gb-hero::after {
    background: linear-gradient(
      180deg,
      rgba(5, 8, 30, 0.12) 0%,
      rgba(5, 8, 30, 0.42) 48%,
      rgba(5, 8, 30, 0.7) 100%
    );
  }

  .gb-hero__inner {
    justify-content: flex-end;
    padding-bottom: clamp(1.5rem, 6vw, 2.5rem);
  }

  .gb-hero__title {
    max-width: none;
    font-size: clamp(1.75rem, 7.5vw, 2.35rem);
  }

  .gb-models__head {
    font-size: clamp(1.05rem, 4.8vw, 1.45rem);
    padding: 0 0.5rem;
  }

  .gb-props,
  .gb-models__grid {
    grid-template-columns: 1fr;
  }

  .gb-glass {
    padding: 1.25rem;
  }

  .gb-row {
    flex-direction: column;
    align-items: flex-start;
  }

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