.buyer-page {
  --buyer-orange: #f07a43;
  --buyer-blue: #4f83f1;
  --buyer-green: #59c779;
  background: #0b0d10;
}

.buyer-container {
  width: min(1160px, calc(100% - 48px));
  margin-inline: auto;
}

.buyer-hero {
  position: relative;
  display: flex;
  min-height: 500px;
  align-items: end;
  padding: calc(var(--header-height) + 84px) 0 72px;
  background:
    linear-gradient(90deg, rgba(5, 7, 9, 0.96) 0%, rgba(5, 7, 9, 0.78) 62%, rgba(5, 7, 9, 0.52) 100%),
    linear-gradient(0deg, rgba(5, 7, 9, 0.8), transparent 58%),
    url("/images/studio-hero.jpg") center 62% / cover no-repeat;
}

.buyer-hero__content {
  max-width: 790px;
}

.buyer-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 16px;
  color: #ff9a68;
  font-size: 13px;
  font-weight: 800;
}

.buyer-eyebrow::before {
  width: 28px;
  height: 2px;
  background: currentColor;
  content: "";
}

.buyer-hero h1 {
  margin-bottom: 20px;
  color: #fff;
  font-size: 52px;
}

.buyer-hero p {
  max-width: 720px;
  margin-bottom: 0;
  color: #c6ccd2;
  font-size: 18px;
}

.buyer-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.buyer-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 11px 21px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  line-height: 1.2;
  transition:
    transform 160ms ease,
    background-color 160ms ease,
    border-color 160ms ease;
}

.buyer-button:hover {
  transform: translateY(-2px);
}

.buyer-button--primary,
.buyer-button--orange {
  background: var(--buyer-orange);
  color: #fff;
}

.buyer-button--primary:hover,
.buyer-button--orange:hover {
  background: #ff8c54;
}

.buyer-button--blue {
  background: var(--buyer-blue);
  color: #fff;
}

.buyer-button--green {
  background: var(--buyer-green);
  color: #0c2514;
}

.buyer-button--outline {
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(9, 11, 13, 0.42);
  color: #fff;
}

.buyer-button--outline:hover {
  border-color: #fff;
}

.buyer-button--light {
  background: #fff;
  color: #171a1e;
}

.buyer-product-choices {
  padding: 88px 0;
  background: #101318;
}

.buyer-section-heading {
  max-width: 720px;
  margin-bottom: 42px;
}

.buyer-section-heading--center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.buyer-section-heading h2 {
  margin-bottom: 12px;
  color: #fff;
  font-size: 38px;
}

.buyer-section-heading p {
  color: #aeb5bd;
}

.buyer-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.buyer-product-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #2b3138;
  border-radius: 8px;
  background: #171b20;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.buyer-product-card:hover {
  transform: translateY(-5px);
  border-color: #4a515a;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.26);
}

.buyer-product-card__visual {
  display: grid;
  aspect-ratio: 16 / 9;
  place-items: center;
  overflow: hidden;
  border-bottom: 1px solid #2b3138;
  background: #0b0d10;
}

.buyer-product-card__visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.buyer-product-card__visual--symbol {
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    #0b0d10;
  background-size: 30px 30px;
}

.buyer-product-symbol {
  display: grid;
  width: 92px;
  height: 92px;
  place-items: center;
  border: 1px solid rgba(240, 122, 67, 0.42);
  border-radius: 8px;
  background: rgba(240, 122, 67, 0.12);
  color: #ff9563;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.24);
}

.buyer-product-symbol svg {
  width: 46px;
  height: 46px;
}

.buyer-product-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 30px;
}

.buyer-product-card__label {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 18px;
  padding: 5px 9px;
  border: 1px solid #383f47;
  border-radius: 4px;
  color: #aeb5bd;
  font-size: 12px;
  font-weight: 700;
}

.buyer-product-card h3 {
  margin-bottom: 10px;
  color: #fff;
  font-size: 27px;
}

.buyer-product-card p {
  margin-bottom: 26px;
  color: #aeb5bd;
}

.buyer-product-card .buyer-button {
  width: 100%;
  margin-top: auto;
}

.buyer-prepare {
  padding: 78px 0;
  color: #15181c;
  background: #f4f4f1;
}

.buyer-prepare h2 {
  margin-bottom: 34px;
  font-size: 32px;
}

.buyer-prepare__items {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid #d5d6d9;
  border-bottom: 1px solid #d5d6d9;
}

.buyer-prepare__item {
  min-height: 190px;
  padding: 30px 26px;
  border-right: 1px solid #d5d6d9;
}

.buyer-prepare__item:last-child {
  border-right: 0;
}

.buyer-prepare__item svg {
  width: 30px;
  height: 30px;
  margin-bottom: 22px;
  color: var(--buyer-orange);
}

.buyer-prepare__item:nth-child(2) svg {
  color: var(--buyer-blue);
}

.buyer-prepare__item:nth-child(3) svg {
  color: #319754;
}

.buyer-prepare__item h3 {
  margin-bottom: 8px;
  font-size: 18px;
}

.buyer-prepare__item p {
  margin-bottom: 0;
  color: #60656d;
  font-size: 14px;
}

.buyer-quick-nav {
  position: sticky;
  z-index: 800;
  top: var(--header-height);
  overflow-x: auto;
  border-top: 1px solid #292f36;
  border-bottom: 1px solid #292f36;
  background: rgba(15, 18, 22, 0.96);
  backdrop-filter: blur(14px);
}

.buyer-quick-nav__inner {
  display: flex;
  min-width: max-content;
  align-items: center;
  justify-content: center;
}

.buyer-quick-nav a {
  padding: 17px 22px;
  color: #aeb5bd;
  font-size: 13px;
  font-weight: 700;
}

.buyer-quick-nav a:hover {
  color: #fff;
}

.buyer-guide-section {
  padding: 88px 0;
  background: #0e1115;
}

.buyer-guide-section--soft {
  background: #15191e;
}

.buyer-step-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1.35fr);
  align-items: center;
  gap: 60px;
}

.buyer-step-grid--reverse .buyer-step-copy {
  order: 2;
}

.buyer-step-grid--reverse .buyer-step-visual {
  order: 1;
}

.buyer-step-copy {
  min-width: 0;
}

.buyer-step-number {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  border: 1px solid rgba(240, 122, 67, 0.5);
  border-radius: 6px;
  color: #ff9967;
  font-size: 14px;
  font-weight: 900;
}

.buyer-step-number--orange {
  border-color: rgba(79, 131, 241, 0.55);
  color: #7ba5ff;
}

.buyer-step-copy h2 {
  margin-bottom: 16px;
  color: #fff;
  font-size: 32px;
}

.buyer-step-copy > p {
  color: #b1b8bf;
}

.buyer-step-copy .buyer-button {
  margin-top: 8px;
}

.buyer-status-panel,
.buyer-login-panel {
  width: min(100%, 620px);
  min-height: 300px;
  margin-inline: auto;
  border: 1px solid #353c44;
  border-radius: 8px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    #0b0e12;
  background-size: 30px 30px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
}

.buyer-status-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 34px;
  text-align: center;
}

.buyer-status-panel__icon {
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  margin-bottom: 22px;
  border: 1px solid rgba(240, 122, 67, 0.45);
  border-radius: 8px;
  background: rgba(240, 122, 67, 0.12);
  color: #ff9563;
}

.buyer-status-panel__icon svg {
  width: 34px;
  height: 34px;
}

.buyer-status-panel__eyebrow {
  margin-bottom: 6px;
  color: #ff9563;
  font-size: 11px;
  font-weight: 900;
}

.buyer-status-panel strong {
  margin-bottom: 8px;
  color: #fff;
  font-size: 22px;
}

.buyer-status-panel > span:last-child {
  color: #929aa2;
  font-size: 13px;
}

.buyer-login-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-content: center;
  gap: 0;
  padding: 34px;
}

.buyer-login-panel > div {
  display: grid;
  min-width: 0;
  min-height: 128px;
  place-items: center;
  align-content: center;
  gap: 12px;
  border-right: 1px solid #353c44;
  color: #fff;
  text-align: center;
}

.buyer-login-panel > div:nth-child(3) {
  border-right: 0;
}

.buyer-login-panel svg {
  width: 32px;
  height: 32px;
  color: #7ba5ff;
}

.buyer-login-panel strong {
  font-size: 14px;
}

.buyer-login-panel p {
  grid-column: 1 / -1;
  padding-top: 24px;
  margin: 24px 0 0;
  border-top: 1px solid #353c44;
  color: #9da5ad;
  font-size: 13px;
  text-align: center;
}

.buyer-step-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 22px 0 0;
  color: #c7ccd1;
  list-style: none;
}

.buyer-step-list li {
  position: relative;
  padding-left: 20px;
}

.buyer-step-list li::before {
  position: absolute;
  top: 11px;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--buyer-orange);
  content: "";
}

.buyer-callout {
  margin-top: 24px;
  padding: 16px 18px;
  border-left: 3px solid var(--buyer-orange);
  border-radius: 0 6px 6px 0;
  background: rgba(240, 122, 67, 0.08);
  color: #cbd0d5;
  font-size: 14px;
}

.buyer-shot-stack {
  display: grid;
  gap: 24px;
}

.buyer-shot {
  margin: 0;
}

.buyer-shot__frame {
  position: relative;
  overflow: hidden;
  border: 1px solid #353c44;
  border-radius: 8px;
  background: #080a0d;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
}

.buyer-shot__frame img {
  width: 100%;
  height: auto;
}

.buyer-shot__frame--narrow {
  max-width: 380px;
  margin-inline: auto;
}

.buyer-shot__zoom {
  position: absolute;
  z-index: 4;
  right: 12px;
  bottom: 12px;
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 6px;
  background: rgba(8, 10, 12, 0.8);
  color: #fff;
  cursor: pointer;
}

.buyer-shot figcaption {
  padding: 12px 2px 0;
  color: #929aa2;
  font-size: 13px;
}

.buyer-mark {
  position: absolute;
  z-index: 2;
  border: 4px solid var(--buyer-orange);
  border-radius: 7px;
  box-shadow: 0 0 0 4px rgba(240, 122, 67, 0.22);
  pointer-events: none;
}

.buyer-mark::before {
  position: absolute;
  right: -4px;
  bottom: calc(100% + 9px);
  max-width: 220px;
  padding: 8px 11px;
  border-radius: 5px;
  background: var(--buyer-orange);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
  color: #fff;
  content: attr(data-label);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.4;
  white-space: nowrap;
}

.buyer-mark::after {
  position: absolute;
  top: -10px;
  right: 18px;
  transform: rotate(180deg);
  border-width: 8px 7px 0;
  border-style: solid;
  border-color: var(--buyer-orange) transparent transparent;
  content: "";
}

.buyer-mark--blue {
  border-color: var(--buyer-blue);
  box-shadow: 0 0 0 4px rgba(79, 131, 241, 0.22);
}

.buyer-mark--blue::before {
  background: var(--buyer-blue);
}

.buyer-mark--blue::after {
  border-color: var(--buyer-blue) transparent transparent;
}

.mark-electric-menu {
  top: 72%;
  left: 18%;
  width: 68%;
  height: 8%;
}

.mark-electric-pay {
  top: 80%;
  left: 28%;
  width: 43%;
  height: 11%;
}

.mark-electric-qr {
  top: 15%;
  left: 14%;
  width: 69%;
  height: 71%;
}

.mark-ai-login {
  top: 34%;
  left: 46%;
  width: 46%;
  height: 31%;
}

.mark-ai-avatar {
  top: 1%;
  left: 73%;
  width: 8%;
  height: 7%;
}

.mark-ai-uid {
  top: 24%;
  left: 18%;
  width: 31%;
  height: 10%;
}

.mark-ai-recharge-entry {
  top: 20%;
  left: 74%;
  width: 17%;
  height: 11%;
}

.mark-ai-pay {
  top: 74%;
  left: 24%;
  width: 50%;
  height: 10%;
}

.mark-ai-qr {
  top: 18%;
  left: 14%;
  width: 72%;
  height: 67%;
}

.buyer-proof-band {
  padding: 82px 0;
  background: #f4f4f1;
  color: #15181c;
}

.buyer-proof-band h2 {
  margin-bottom: 14px;
  font-size: 34px;
}

.buyer-proof-band > .buyer-container > p {
  max-width: 760px;
  color: #5f646b;
}

.buyer-proof-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin-top: 32px;
  border: 1px solid #d4d6d9;
  border-radius: 8px;
  background: #d4d6d9;
}

.buyer-proof-item {
  padding: 26px;
  background: #fff;
}

.buyer-proof-item strong {
  display: block;
  margin-bottom: 8px;
}

.buyer-proof-item span {
  color: #5f646b;
  font-size: 14px;
}

.buyer-contact {
  padding: 88px 0;
  background: #101318;
}

.buyer-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.buyer-qr-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  align-items: center;
  gap: 28px;
  padding: 26px;
  border: 1px solid #2b3138;
  border-radius: 8px;
  background: #171b20;
}

.buyer-qr-image,
.buyer-qr-placeholder {
  display: grid;
  width: 200px;
  aspect-ratio: 1;
  place-items: center;
  overflow: hidden;
  border: 1px solid #363d45;
  background: #fff;
}

.buyer-qr-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.buyer-qr-placeholder {
  border-style: dashed;
  background: #111419;
  color: #818990;
  text-align: center;
}

.buyer-qr-placeholder svg {
  width: 42px;
  height: 42px;
  margin-bottom: 8px;
}

.buyer-qr-card h3 {
  margin-bottom: 8px;
  color: #fff;
}

.buyer-qr-card p {
  margin-bottom: 8px;
  color: #aeb5bd;
  font-size: 14px;
}

.buyer-qr-card strong {
  color: #fff;
}

.buyer-finish {
  background: #1a1f25;
}

.buyer-finish__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-top: 42px;
  padding-bottom: 42px;
}

.buyer-finish h2 {
  margin-bottom: 7px;
  color: #fff;
  font-size: 27px;
}

.buyer-finish p {
  margin-bottom: 0;
  color: #aeb5bd;
}

.image-lightbox {
  position: fixed;
  z-index: 1500;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
}

.image-lightbox.is-open {
  display: flex;
}

.image-lightbox__dialog {
  position: relative;
  max-width: min(1400px, 96vw);
  max-height: 92vh;
}

.image-lightbox img {
  max-width: 100%;
  max-height: 84vh;
  object-fit: contain;
}

.image-lightbox__close {
  position: absolute;
  z-index: 2;
  top: 10px;
  right: 10px;
  background: rgba(8, 10, 12, 0.84);
}

.image-lightbox__caption {
  margin-top: 10px;
  color: #c6ccd2;
  text-align: center;
}

@media (max-width: 920px) {
  .buyer-step-grid {
    grid-template-columns: 1fr;
  }

  .buyer-step-grid--reverse .buyer-step-copy,
  .buyer-step-grid--reverse .buyer-step-visual {
    order: initial;
  }

  .buyer-step-copy {
    max-width: 720px;
  }

  .buyer-contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .buyer-container {
    width: min(100% - 28px, 1160px);
  }

  .buyer-hero {
    min-height: 470px;
    padding-bottom: 54px;
    background-position: 64% center;
  }

  .buyer-hero h1 {
    font-size: 38px;
  }

  .buyer-hero p {
    font-size: 16px;
  }

  .buyer-hero__actions {
    display: grid;
  }

  .buyer-button {
    width: 100%;
  }

  .buyer-product-choices,
  .buyer-guide-section,
  .buyer-contact {
    padding: 64px 0;
  }

  .buyer-section-heading h2,
  .buyer-proof-band h2 {
    font-size: 29px;
  }

  .buyer-choice-grid,
  .buyer-proof-grid,
  .buyer-prepare__items {
    grid-template-columns: 1fr;
  }

  .buyer-prepare__item {
    min-height: auto;
    padding-inline: 0;
    border-right: 0;
    border-bottom: 1px solid #d5d6d9;
  }

  .buyer-prepare__item:last-child {
    border-bottom: 0;
  }

  .buyer-quick-nav__inner {
    justify-content: flex-start;
  }

  .buyer-quick-nav a {
    padding-inline: 15px;
  }

  .buyer-step-grid {
    gap: 36px;
  }

  .buyer-step-copy h2 {
    font-size: 27px;
  }

  .buyer-status-panel,
  .buyer-login-panel {
    min-height: 260px;
    padding: 26px 20px;
  }

  .buyer-login-panel {
    grid-template-columns: 1fr;
  }

  .buyer-login-panel > div {
    grid-template-columns: 38px 1fr;
    min-height: 64px;
    justify-items: start;
    border-right: 0;
    border-bottom: 1px solid #353c44;
    text-align: left;
  }

  .buyer-login-panel > div:nth-child(3) {
    border-bottom: 0;
  }

  .buyer-login-panel p {
    grid-column: auto;
  }

  .buyer-mark {
    border-width: 3px;
  }

  .buyer-mark::before {
    max-width: 145px;
    padding: 6px 8px;
    font-size: 10px;
    white-space: normal;
  }

  .buyer-qr-card {
    grid-template-columns: 132px 1fr;
    gap: 18px;
    padding: 20px;
  }

  .buyer-qr-image,
  .buyer-qr-placeholder {
    width: 132px;
  }

  .buyer-finish__inner {
    display: block;
  }

  .buyer-finish .buyer-button {
    margin-top: 22px;
  }
}

@media (max-width: 480px) {
  .buyer-hero h1 {
    font-size: 33px;
  }

  .buyer-product-card__body {
    padding: 22px;
  }

  .buyer-qr-card {
    grid-template-columns: 1fr;
  }

  .buyer-qr-image,
  .buyer-qr-placeholder {
    width: min(220px, 100%);
  }
}
