:root {
  --bg: #050505;
  --ink: #f8f7fb;
  --muted: #b8b1c4;
  --panel: #111014;
  --panel-strong: #18141f;
  --line: rgba(255, 255, 255, 0.14);
  --purple: #8f33d6;
  --purple-hot: #b14dff;
  --yellow: #ffc20e;
  --concrete: #7c8580;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(135deg, rgba(143, 51, 214, 0.22), transparent 32%),
    radial-gradient(circle at 80% 8%, rgba(255, 194, 14, 0.16), transparent 28%),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: auto, auto, 42px 42px, 42px 42px;
  content: "";
}

img {
  display: block;
  max-width: 100%;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 5vw, 64px);
  background: rgba(5, 5, 5, 0.82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand img {
  width: clamp(138px, 18vw, 220px);
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.6vw, 30px);
  color: var(--muted);
  font-weight: 800;
}

.nav a:hover,
.site-footer a:hover,
.text-link:hover {
  color: var(--purple-hot);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(30px, 5vw, 76px);
  min-height: calc(100svh - 78px);
  align-items: center;
  padding: clamp(44px, 7vw, 92px) clamp(18px, 5vw, 64px);
}

.hero-copy,
.product-band,
.specs-section,
.parts-section,
.checkout-section {
  max-width: 1220px;
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--yellow);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 840px;
  margin: 0;
  font-size: clamp(2.85rem, 7.6vw, 7.4rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.9;
  text-transform: uppercase;
}

h2 {
  margin: 0;
  font-size: clamp(2.1rem, 4.6vw, 4.2rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.98;
  text-transform: uppercase;
}

h3 {
  margin: 0 0 10px;
  font-size: 1.12rem;
}

.hero-copy p:not(.eyebrow),
.section-heading p,
.spec-grid p,
.parts-copy p,
.checkout-copy p,
.order-line span,
.addon small,
.site-footer {
  color: var(--muted);
}

.hero-copy p:not(.eyebrow) {
  max-width: 680px;
  margin: 24px 0 0;
  font-size: clamp(1.05rem, 2vw, 1.26rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 0;
  border-radius: 8px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

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

.primary,
.checkout {
  background: var(--purple);
  color: var(--ink);
  box-shadow: 0 18px 42px rgba(143, 51, 214, 0.38);
}

.primary:hover,
.checkout:hover {
  background: var(--purple-hot);
}

.ghost {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
}

.hero-media {
  position: relative;
  min-height: min(68vw, 680px);
}

.hero-logo {
  position: absolute;
  top: 0;
  right: 0;
  width: min(62%, 420px);
  opacity: 0.5;
}

.hero-product {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(92%, 760px);
  aspect-ratio: 1.24;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.product-band,
.specs-section,
.parts-section,
.checkout-section {
  padding: clamp(58px, 8vw, 104px) clamp(18px, 5vw, 64px);
}

.product-band {
  border-top: 1px solid var(--line);
}

.section-heading {
  max-width: 820px;
}

.section-heading p {
  max-width: 760px;
  font-size: 1.08rem;
}

.product-gallery {
  display: grid;
  gap: 16px;
  margin-top: 34px;
}

.gallery-main {
  width: 100%;
  aspect-ratio: 1.6;
  max-height: 660px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
}

.thumb {
  display: block;
  min-height: 96px;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  cursor: pointer;
}

.thumb.is-active {
  border-color: var(--purple-hot);
  box-shadow: 0 0 0 2px rgba(177, 77, 255, 0.28);
}

.thumb img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1.75;
  object-fit: cover;
}

.specs-section {
  display: grid;
  grid-template-columns: minmax(0, 0.74fr) minmax(0, 1.26fr);
  gap: clamp(28px, 5vw, 70px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.spec-grid article,
.order-panel,
.next-frame {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(17, 16, 20, 0.88);
}

.spec-grid article {
  min-height: 220px;
  padding: 24px;
}

.spec-grid span {
  display: inline-block;
  margin-bottom: 26px;
  color: var(--yellow);
  font-weight: 900;
}

.spec-list-section {
  max-width: 1220px;
  margin: 0 auto;
  padding: clamp(58px, 8vw, 104px) clamp(18px, 5vw, 64px);
  border-bottom: 1px solid var(--line);
}

.spec-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 34px 0 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.spec-list div {
  display: grid;
  grid-template-columns: minmax(120px, 0.44fr) minmax(0, 1fr);
  gap: 18px;
  padding: 18px;
  background: rgba(17, 16, 20, 0.92);
}

.spec-list dt {
  color: var(--yellow);
  font-weight: 900;
}

.spec-list dd {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
}

.parts-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.55fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: end;
}

.text-link {
  display: inline-flex;
  margin-top: 14px;
  color: var(--yellow);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.checkout-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(310px, 440px);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
}

.checkout-copy p {
  max-width: 660px;
  font-size: 1.08rem;
}

.production-note {
  padding: 16px 18px;
  border: 1px solid rgba(255, 194, 14, 0.38);
  border-radius: 8px;
  background: rgba(255, 194, 14, 0.08);
  color: var(--ink) !important;
  font-weight: 800;
}

.next-frame {
  display: inline-grid;
  gap: 4px;
  margin-top: 24px;
  padding: 16px 18px;
}

.next-frame span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.next-frame strong {
  font-size: 1.45rem;
}

.order-panel {
  display: grid;
  gap: 16px;
  padding: clamp(20px, 4vw, 30px);
  box-shadow: var(--shadow);
}

.order-line,
.total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.order-line {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.order-line div,
.addon span {
  display: grid;
  gap: 2px;
}

fieldset {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  border: 0;
}

legend {
  margin-bottom: 2px;
  font-weight: 900;
}

.addon {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

.addon.has-quantity {
  border-color: rgba(177, 77, 255, 0.9);
  background: rgba(143, 51, 214, 0.18);
}

.addon input {
  width: 76px;
  min-height: 42px;
  padding: 0 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink);
  font: inherit;
  font-weight: 900;
  text-align: center;
}

.total-row {
  padding-top: 8px;
  font-size: 1.1rem;
}

.total-row strong {
  color: var(--yellow);
  font-size: 2rem;
}

.checkout {
  width: 100%;
}

.status-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 360px);
  gap: clamp(28px, 5vw, 70px);
  min-height: calc(100svh - 155px);
  align-items: center;
  max-width: 1220px;
  margin: 0 auto;
  padding: clamp(58px, 8vw, 104px) clamp(18px, 5vw, 64px);
}

.status-copy {
  max-width: 760px;
}

.status-copy h1 {
  font-size: clamp(2.55rem, 6.4vw, 6rem);
}

.status-copy p:not(.eyebrow) {
  max-width: 660px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.24rem);
}

.status-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.status-mark {
  display: grid;
  min-height: 300px;
  align-content: end;
  gap: 10px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(143, 51, 214, 0.28), rgba(17, 16, 20, 0.9)),
    url("assets/yeetlab-logo.png") center 22% / 78% auto no-repeat;
  box-shadow: var(--shadow);
}

.status-mark span {
  color: var(--yellow);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.status-mark strong {
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 900;
  line-height: 0.92;
  text-transform: uppercase;
}

.cancel-status .status-mark {
  background:
    linear-gradient(145deg, rgba(124, 133, 128, 0.28), rgba(17, 16, 20, 0.9)),
    url("assets/yeetlab-logo.png") center 22% / 78% auto no-repeat;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(18px, 5vw, 64px);
  border-top: 1px solid var(--line);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
}

@media (max-width: 900px) {
  .hero,
  .specs-section,
  .parts-section,
  .checkout-section,
  .status-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-media {
    min-height: 500px;
  }

  .hero-product {
    width: 100%;
  }

  .gallery-main {
    max-height: none;
  }

  .spec-list {
    grid-template-columns: 1fr;
  }
}

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

  .nav {
    width: 100%;
    justify-content: space-between;
    font-size: 0.82rem;
  }

  .hero-media {
    min-height: 360px;
  }

  .hero-logo {
    width: 70%;
  }

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

  .button {
    width: 100%;
  }

  .status-section {
    min-height: auto;
  }

  .gallery-thumbs {
    grid-template-columns: 1fr;
  }

  .spec-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
