:root {
  --sm-bg: #0f141d;
  --sm-stage: #111722;
  --sm-page: #08090c;
  --sm-panel: #111216;
  --sm-card: #171d29;
  --sm-soft: #202838;
  --sm-border: #25262b;
  --sm-border-strong: #334155;
  --sm-text: #e8e8ea;
  --sm-muted: #8f9aab;
  --sm-faint: #657286;
  --sm-strong: #d8dee9;
  --sm-success: #86efac;
  --sm-warning: #fde68a;
  --sm-danger: #fca5a5;
  --sm-radius-md: 12px;
  --sm-radius-lg: 16px;
  --sm-radius-xl: 24px;
  --sm-radius-2xl: 32px;
  --sm-radius-pill: 999px;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--sm-text);
  background:
    linear-gradient(180deg, rgba(17, 23, 34, .82), rgba(8, 9, 12, 0) 420px),
    var(--sm-page);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 4vw, 72px);
  background: rgba(8, 9, 12, .82);
  border-bottom: 1px solid var(--sm-border);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}

.brand-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--sm-border-strong);
  border-radius: 14px;
  background: #0b0f17;
}

.brand-mark img {
  width: 24px;
  height: 24px;
}

.brand strong {
  display: block;
  font-size: 15px;
  font-weight: 900;
}

.brand small {
  display: block;
  margin-top: 2px;
  color: var(--sm-muted);
  font-size: 11px;
  font-weight: 700;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border: 1px solid var(--sm-border);
  border-radius: var(--sm-radius-pill);
  background: rgba(23, 29, 41, .72);
}

.nav a {
  padding: 9px 16px;
  border-radius: var(--sm-radius-pill);
  color: var(--sm-muted);
  font-size: 13px;
  font-weight: 800;
}

.nav a:hover {
  color: var(--sm-text);
  background: var(--sm-soft);
}

.header-actions,
.cta-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.primary-link,
.ghost-link,
.contact-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  border-radius: var(--sm-radius-pill);
  border: 1px solid transparent;
  font-weight: 900;
  font-size: 13px;
  cursor: pointer;
}

.primary-link,
.contact-form button {
  color: #10141d;
  background: var(--sm-strong);
}

.ghost-link {
  color: var(--sm-text);
  border-color: var(--sm-border-strong);
  background: rgba(23, 29, 41, .72);
}

.large {
  min-height: 48px;
  padding: 0 24px;
  font-size: 14px;
}

.hero-cta {
  gap: 8px;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.hero-cta span {
  display: inline-block;
  font-size: 18px;
  line-height: 1;
  transition: transform .2s ease;
}

.hero-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(216, 224, 237, .12);
}

.hero-cta:hover span {
  transform: translateX(4px);
}

main {
  overflow: hidden;
}

.hero-section,
.capability-section,
.credits-section,
.contact-section {
  width: min(1180px, calc(100vw - 40px));
  margin: 0 auto;
}

.frame-section {
  position: relative;
}

.frame-section::before {
  content: attr(data-frame);
  position: absolute;
  top: 24px;
  left: 0;
  z-index: 1;
  color: var(--sm-faint);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-section::before {
  display: none;
}

.hero-section {
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(360px, .82fr) minmax(620px, 1.18fr);
  gap: 56px;
  align-items: center;
  padding: 100px 0 46px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--sm-success);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(40px, 4.65vw, 74px);
  line-height: 1.06;
  letter-spacing: 0;
  font-weight: 850;
}

.lead {
  max-width: 600px;
  color: #ffffff;
  font-size: 20px;
  line-height: 1.25;
  font-weight: 400;
}

.canvas-showcase {
  display: grid;
  grid-template-columns: 58px 1fr;
  height: 430px;
  border: 1px solid rgba(51, 65, 85, .42);
  border-radius: 4px;
  background: #0d121b;
  overflow: hidden;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .26);
}

.showcase-rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 20px 0;
  border-right: 1px solid rgba(51, 65, 85, .34);
  background: #0a0f17;
}

.rail-logo,
.showcase-rail span:not(.rail-logo) {
  width: 18px;
  height: 18px;
  border: 1px solid #526174;
  border-radius: 6px;
}

.rail-logo {
  position: relative;
  border-radius: 7px;
}

.rail-logo::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  background: #d8dee9;
}

.showcase-rail span:not(.rail-logo) {
  opacity: .55;
  border-radius: 50%;
}

.showcase-rail .active {
  background: #d8dee9;
  opacity: 1 !important;
}

.showcase-board {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 18px;
  padding: 92px 70px 96px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 44%, rgba(134, 239, 172, .04), transparent 34%),
    radial-gradient(rgba(88, 112, 145, .35) 1px, transparent 1px);
  background-size: auto, 16px 16px;
}

.node-card {
  position: relative;
  z-index: 1;
  border: 1px solid rgba(79, 94, 116, .42);
  border-radius: 14px;
  background: rgba(17, 23, 34, .94);
  box-shadow: 0 18px 60px rgba(0,0,0,.22);
  min-height: 220px;
  overflow: hidden;
}

.node-card span {
  display: block;
  padding: 16px 18px 0;
  color: #718096;
  font-size: 11px;
  font-weight: 950;
}

.node-card p {
  margin: 12px 18px 0;
  color: #93a0b3;
  font-size: 11px;
  line-height: 1.55;
  font-weight: 800;
}

.image-node {
  width: auto;
  height: auto;
}

.node-preview {
  height: 106px;
  margin: 14px 16px 0;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(134, 239, 172, .12), transparent 62%),
    linear-gradient(135deg, #18202c, #0d121b);
  border: 1px solid rgba(79, 94, 116, .42);
}

.prompt-node {
  width: auto;
  min-height: 220px;
  padding-bottom: 12px;
}

.node-toolbar,
.node-options {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 12px 14px 0;
}

.node-toolbar b,
.node-options i {
  min-height: 20px;
  padding: 0 9px;
  border: 1px solid rgba(79, 94, 116, .42);
  border-radius: 999px;
  color: #9aa7ba;
  font-size: 9px;
  font-style: normal;
  font-weight: 850;
  display: inline-flex;
  align-items: center;
}

.prompt-node p {
  margin: 12px 14px 4px;
}

.prompt-node button {
  width: calc(100% - 28px);
  height: 30px;
  margin: 14px;
  border: 0;
  border-radius: 8px;
  color: #0d121b;
  background: #d8dee9;
  font-size: 11px;
  font-weight: 950;
}

.output-node {
  width: auto;
  height: auto;
}

.output-preview {
  background:
    linear-gradient(160deg, rgba(216, 224, 237, .16), transparent 48%),
    linear-gradient(135deg, #172131, #0b1018);
}

.connector {
  position: absolute;
  height: 1px;
  background: rgba(216, 222, 233, .74);
  top: 50%;
  z-index: 0;
}

.connector::after {
  content: "";
  position: absolute;
  right: -4px;
  top: -3px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d8dee9;
}

.connector-a {
  left: calc(33.333% - 8px);
  width: 34px;
}

.connector-b {
  left: calc(66.666% - 8px);
  width: 34px;
}

.showcase-minimap {
  position: absolute;
  right: 16px;
  bottom: 16px;
  width: 84px;
  height: 66px;
  border: 1px solid rgba(79, 94, 116, .42);
  border-radius: 10px;
  background: rgba(23, 29, 41, .92);
  display: grid;
  place-items: center;
}

.showcase-minimap span {
  display: block;
  width: 40px;
  height: 8px;
  background: #d8dee9;
}

.showcase-minimap span:nth-child(2) {
  width: 26px;
}

.showcase-minimap span:nth-child(3) {
  width: 18px;
}

.model-showcase {
  width: min(1180px, calc(100vw - 40px));
  margin: 0 auto 42px;
}

.model-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.model-grid article {
  min-height: 96px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 24px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 10px;
  background: #0b0c0e;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.model-grid article:hover {
  transform: translateY(-2px);
  border-color: rgba(134, 239, 172, .3);
  background: #10150f;
}

.model-mark,
.model-logo {
  flex: 0 0 auto;
  width: 32px;
  height: 28px;
  object-fit: contain;
}

.model-grid strong {
  color: #f8fafc;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 850;
}

.capability-section,
.credits-section,
.contact-section {
  padding: 88px 0;
}

.section-heading {
  max-width: 700px;
  margin: 0 auto 28px;
  text-align: center;
}

.section-heading h2,
.contact-copy h2 {
  font-size: clamp(32px, 3.6vw, 40px);
  line-height: 1.08;
  font-weight: 900;
}

.section-heading p,
.contact-copy p {
  color: var(--sm-muted);
  line-height: 1.8;
  font-weight: 650;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.feature-grid article,
.contact-form {
  border: 1px solid var(--sm-border);
  border-radius: var(--sm-radius-xl);
  background: var(--sm-panel);
}

.feature-grid article {
  position: relative;
  overflow: hidden;
  padding: 22px;
  transition: transform .22s ease, border-color .22s ease, background .22s ease, box-shadow .22s ease;
}

.feature-grid article::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background:
    radial-gradient(circle at 18% 14%, rgba(134, 239, 172, .18), transparent 34%),
    linear-gradient(135deg, rgba(134, 239, 172, .08), transparent 46%);
  transition: opacity .22s ease;
}

.feature-grid article > * {
  position: relative;
  z-index: 1;
}

.feature-grid article:hover {
  transform: translateY(-6px);
  border-color: rgba(134, 239, 172, .38);
  background: linear-gradient(180deg, rgba(21, 32, 26, .92), rgba(17, 18, 22, .98));
  box-shadow: 0 18px 46px rgba(0, 0, 0, .28), inset 0 1px 0 rgba(255, 255, 255, .04);
}

.feature-grid article:hover::before {
  opacity: 1;
}

.feature-grid article:hover .icon {
  color: #0b0f17;
  background: #86efac;
  box-shadow: 0 0 0 6px rgba(134, 239, 172, .12), 0 0 26px rgba(134, 239, 172, .24);
  transform: scale(1.04);
}

.icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 30px;
  border-radius: var(--sm-radius-md);
  color: #10141d;
  background: var(--sm-strong);
  font-weight: 900;
  transition: transform .22s ease, background .22s ease, box-shadow .22s ease;
}

.feature-grid h3 {
  font-size: 18px;
  font-weight: 950;
}

.feature-grid p {
  color: var(--sm-muted);
  line-height: 1.7;
  font-size: 14px;
}

.credits-section {
  width: min(1360px, calc(100vw - 40px));
  padding: 96px 0;
  border-top: 1px solid var(--sm-border);
  border-bottom: 1px solid var(--sm-border);
}

.recharge-heading {
  margin: 0 auto 46px;
  text-align: center;
}

.recharge-heading h2 {
  margin: 0 0 22px;
  font-size: clamp(32px, 3.6vw, 40px);
  line-height: 1;
  font-weight: 900;
  color: #ffffff;
}

.recharge-heading p {
  margin: 0;
  color: #626973;
  font-size: 13px;
  font-weight: 650;
}

.recharge-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
}

.recharge-card {
  position: relative;
  min-height: 162px;
  overflow: hidden;
  padding: 0;
  display: grid;
  grid-template-rows: minmax(114px, 1fr) 48px;
  border: 1px solid transparent;
  border-radius: 18px;
  color: #f7fafc;
  background:
    radial-gradient(circle at 20% 96%, rgba(107, 184, 91, .38), transparent 33%),
    radial-gradient(circle at 86% 18%, rgba(255, 255, 255, .07), transparent 24%),
    linear-gradient(180deg, rgba(31, 43, 38, .92), rgba(30, 35, 42, .96));
  cursor: pointer;
  text-align: left;
}

.recharge-card::before {
  content: "";
  position: absolute;
  inset: 0 0 48px;
  opacity: .28;
  background-image: radial-gradient(rgba(135, 255, 126, .55) 1px, transparent 1px);
  background-size: 10px 10px;
}

.recharge-card::after {
  content: "";
  position: absolute;
  right: 34px;
  top: 32px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.06);
  transform: translate(48px, -2px);
}

.recharge-card.is-selected {
  border-color: #804cff;
  box-shadow: 0 0 0 1px #804cff inset;
}

.recharge-value {
  position: relative;
  z-index: 1;
  min-height: 114px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 42px;
  white-space: nowrap;
}

.recharge-card .bolt {
  display: block;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  object-fit: contain;
}

.recharge-card strong {
  display: block;
  min-width: 0;
  font-size: clamp(30px, 2.4vw, 38px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0;
}

.recharge-card small {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  height: 48px;
  display: flex;
  align-items: center;
  padding: 0 42px;
  color: #ffffff;
  background: #20242b;
  font-size: 16px;
  font-weight: 850;
}

.payment-bar {
  display: flex;
  align-items: center;
  gap: 26px;
  min-height: 80px;
  margin-top: 62px;
  padding: 0 36px;
  border: 1px solid #343b46;
  border-radius: 10px;
  background: #20242b;
}

.payment-spacer {
  flex: 1;
}

.payment-summary {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  color: #ffffff;
}

.payment-summary span {
  color: #a8adb5;
  font-size: 13px;
  font-weight: 700;
}

.payment-summary strong {
  font-size: 18px;
  font-weight: 900;
}

.payment-summary output {
  font: inherit;
}

.payment-bar button {
  min-width: 136px;
  min-height: 42px;
  border: 0;
  border-radius: var(--sm-radius-pill);
  color: #111216;
  background: #ffffff;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.payment-bar button:hover {
  transform: translateY(-1px);
  background: #dbeafe;
  box-shadow: 0 12px 24px rgba(147, 197, 253, .18);
}

.contact-section {
  width: min(1180px, calc(100vw - 40px));
  min-height: 540px;
  display: grid;
  grid-template-columns: 1fr 460px;
  gap: 72px;
  align-items: start;
  padding: 98px 0 82px;
}

.contact-copy h2 {
  margin: 0 0 28px;
  color: #ffffff;
  font-size: clamp(32px, 3.6vw, 40px);
  line-height: 1.28;
  font-weight: 900;
}

.contact-copy p {
  max-width: 540px;
  color: #ffffff;
  font-size: 13px;
  line-height: 1.8;
  font-weight: 400;
}

.location-map {
  position: relative;
  width: min(540px, 100%);
  height: 270px;
  margin-top: 42px;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(134, 239, 172, .08), transparent 48%),
    radial-gradient(circle at 68% 44%, rgba(134, 239, 172, .12), transparent 22%),
    radial-gradient(circle at 22% 55%, rgba(96, 165, 250, .12), transparent 26%),
    linear-gradient(rgba(148, 163, 184, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, .045) 1px, transparent 1px),
    #05070a;
  background-size: auto, auto, auto, 28px 28px, 28px 28px, auto;
  box-shadow: none;
}

.location-map::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 20px 18px;
  border: 1px solid rgba(148, 163, 184, .08);
  border-radius: 50%;
  opacity: .8;
}

.location-map::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(5, 7, 10, .72), transparent 16%, transparent 84%, rgba(5, 7, 10, .72));
}

.location-map svg {
  position: absolute;
  z-index: 1;
  inset: 10px 0 8px;
  width: 100%;
  height: calc(100% - 18px);
  opacity: .95;
}

.map-globe {
  fill: none;
  stroke: rgba(148, 163, 184, .08);
  stroke-width: 1;
}

.world-map {
  opacity: .95;
}

.map-land {
  fill: rgba(148, 163, 184, .085);
  stroke: rgba(216, 222, 233, .16);
  stroke-width: 1;
}

.map-line {
  fill: none;
  stroke: rgba(134, 239, 172, .74);
  stroke-width: 1.5;
  stroke-dasharray: 5 8;
}

.map-line.muted {
  stroke: rgba(147, 197, 253, .38);
}

.map-pin {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #f8fafc;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: .02em;
}

.map-pin i {
  position: relative;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #86efac;
  box-shadow: 0 0 0 6px rgba(134, 239, 172, .12), 0 0 24px rgba(134, 239, 172, .42);
}

.map-pin i::after {
  content: "";
  position: absolute;
  inset: -9px;
  border: 1px solid rgba(134, 239, 172, .34);
  border-radius: 50%;
}

.map-pin b {
  padding: 4px 8px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 999px;
  background: rgba(14, 18, 26, .72);
}

.pin-hangzhou {
  right: 142px;
  top: 120px;
}

.pin-silicon {
  left: 90px;
  top: 132px;
}

.pin-newyork {
  left: 132px;
  top: 92px;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  border-color: #333333;
  border-radius: 6px;
  background: #1d1d1d;
}

.contact-form label {
  display: grid;
  gap: 8px;
}

.contact-form span {
  color: #ffffff;
  font-size: 13px;
  font-weight: 650;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #2a2a2a;
  border-radius: 0;
  color: var(--sm-text);
  background: #0b0b0b;
  padding: 12px 14px;
  outline: none;
}

.contact-form textarea {
  min-height: 116px;
  resize: none;
}

.scene-field {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  border: 0;
}

.scene-field legend,
.message-field > span {
  margin-bottom: 2px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 650;
}

.scene-field p {
  margin: -4px 0 2px;
  color: #9ca3af;
  font-size: 12px;
}

.scene-options {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.scene-options label {
  display: inline-flex;
}

.scene-options input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.scene-options span {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid #3a3a3a;
  border-radius: 4px;
  color: #e5e7eb;
  background: #2a2a2a;
  font-size: 12px;
  font-weight: 650;
}

.scene-options input:checked + span {
  border-color: #7c3cff;
  background: #7c3cff;
  color: #ffffff;
}

.contact-form button {
  width: 100%;
  min-height: 40px;
  border: 0;
  border-radius: var(--sm-radius-pill);
  color: #111111;
  background: #ffffff;
}

.payment-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(0, 0, 0, .68);
}

.payment-modal[hidden] {
  display: none !important;
}

.payment-modal.is-open {
  display: flex;
}

.payment-dialog {
  position: relative;
  width: min(512px, calc(100vw - 32px));
  min-height: 250px;
  padding: 28px 32px 30px;
  border: 1px solid #4a4a4a;
  border-radius: 18px;
  background: #1b1b1b;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .58);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 20px;
  width: 34px;
  height: 34px;
  border: 0;
  color: #c9c9f3;
  background: transparent;
  font-size: 42px;
  font-weight: 200;
  line-height: 1;
  cursor: pointer;
  transition: color .18s ease, transform .18s ease;
}

.modal-close:hover {
  color: #ffffff;
  transform: rotate(90deg);
}

.payment-dialog h2 {
  margin: 0 0 28px;
  color: #ffffff;
  font-size: 36px;
  line-height: 1;
  font-weight: 950;
}

.modal-content {
  display: grid;
  grid-template-columns: 148px 1fr;
  gap: 28px;
  align-items: center;
}

.qr-card {
  width: 148px;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 16px;
  background: #ffffff;
  overflow: hidden;
}

.qr-card img {
  width: 100%;
  height: 100%;
  display: block;
}

.modal-copy h3 {
  margin: 0 0 12px;
  color: #ffffff;
  font-size: 23px;
  line-height: 1.34;
  font-weight: 500;
}

.modal-copy p {
  max-width: 260px;
  margin: 0;
  color: #a7a7a7;
  font-size: 15px;
  line-height: 1.55;
}

.brand-wall {
  padding: 58px 0 72px;
  overflow: hidden;
  background: #050505;
}

.brand-wall h2 {
  margin: 0 0 52px;
  color: #ffffff;
  text-align: center;
  font-size: 20px;
  font-weight: 950;
}

.logo-marquee {
  width: 100%;
  overflow: hidden;
}

.logo-track {
  display: flex;
  align-items: center;
  gap: 86px;
  width: max-content;
  animation: logo-scroll 36s linear infinite;
}

.logo-track img {
  width: auto;
  max-width: 220px;
  height: 58px;
  object-fit: contain;
  filter: grayscale(1) brightness(0) invert(1);
  opacity: .94;
}

@keyframes logo-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.form-note {
  margin: 0;
  color: var(--sm-faint);
  font-size: 12px;
  line-height: 1.6;
}

.site-footer {
  position: relative;
  min-height: 118px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 28px clamp(24px, 4vw, 72px) 32px;
  border-top: 0;
  color: #8f8f8f;
  background: #050505;
  font-size: 14px;
  font-weight: 400;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  color: #ffffff;
}

.footer-logo {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.footer-logo img {
  width: 28px;
  height: 28px;
}

.footer-brand strong,
.footer-brand em {
  display: block;
  color: #ffffff;
  line-height: 1.05;
}

.footer-brand strong {
  font-size: 18px;
  font-weight: 950;
}

.footer-brand em {
  margin-top: 1px;
  font-size: 16px;
  font-style: italic;
  font-weight: 900;
}

.site-footer p {
  grid-column: 1;
  margin: 8px 0 0;
  color: #8f8f8f;
  letter-spacing: 0;
}

@media (max-width: 920px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .brand {
    min-width: 0;
  }

  .nav,
  .header-actions {
    width: 100%;
    overflow-x: auto;
  }

  .hero-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .canvas-showcase {
    height: 360px;
    grid-template-columns: 44px 760px;
    overflow-x: auto;
  }

  .showcase-board {
    padding: 70px 42px 74px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .model-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .recharge-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .payment-bar {
    align-items: stretch;
    flex-direction: column;
    padding: 20px;
  }

  .payment-spacer {
    display: none;
  }

  .payment-bar button {
    width: 100%;
  }

  .site-footer {
    grid-template-columns: 1fr;
    font-size: 14px;
  }

  .logo-track {
    gap: 52px;
  }

  .logo-track img {
    max-width: 160px;
    height: 42px;
  }
}

@media (max-width: 560px) {
  .hero-section,
  .capability-section,
  .credits-section,
  .contact-section {
    width: min(100vw - 24px, 1180px);
    padding-block: 56px;
  }

  .model-showcase {
    width: min(100vw - 24px, 1180px);
    margin-bottom: 28px;
  }

  .model-grid {
    grid-template-columns: 1fr;
  }

  .contact-section {
    gap: 28px;
  }

  .contact-form {
    padding: 20px;
  }

  .payment-dialog {
    width: min(100vw - 24px, 512px);
    min-height: auto;
    padding: 26px 22px;
  }

  .modal-close {
    top: 14px;
    right: 16px;
    font-size: 42px;
  }

  .payment-dialog h2 {
    margin-bottom: 22px;
    font-size: 32px;
  }

  .modal-content {
    grid-template-columns: 112px 1fr;
    gap: 18px;
  }

  .qr-card {
    width: 112px;
    border-radius: 14px;
  }

  .modal-copy h3 {
    font-size: 19px;
  }

  .modal-copy p {
    font-size: 13px;
    line-height: 1.45;
  }

  .brand-wall {
    padding: 42px 0 54px;
  }

  .cta-row {
    flex-direction: column;
    align-items: stretch;
  }
}
