:root {
  --bg: #050505;
  --panel: #101010;
  --panel-2: #151515;
  --line: #292929;
  --text: #ffffff;
  --muted: #b9b9b9;
  --red: #e11d25;
  --red-2: #ff3138;
  --silver: #d8d8d8;
  --green: #2ecc71;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 82px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Arial, sans-serif;
  overflow-x: hidden;
}

a {
  color: inherit;
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  height: 72px;
  min-height: 72px;
  padding: 8px 6vw;
  background: rgba(0, 0, 0, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  z-index: 1000;
}

body {
  padding-top: 72px;
}

.logo img {
  width: 132px;
  max-width: 34vw;
  height: auto;
  display: block;
}

.menu {
  display: flex;
  align-items: center;
  gap: 18px;
  font-weight: 700;
}

.menu a {
  text-decoration: none;
  color: #f1f1f1;
  white-space: nowrap;
}

.quote-btn,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: transparent;
  color: white;
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
}

.quote-btn {
  border-color: var(--red);
  background: rgba(225, 29, 37, 0.15);
}

.primary {
  border-color: transparent;
  background: linear-gradient(135deg, #c3141a, var(--red-2));
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.72fr);
  align-items: center;
  gap: 42px;
  min-height: 58vh;
  padding: 42px 6vw 54px;
  background:
    radial-gradient(circle at 12% 8%, rgba(225, 29, 37, 0.24), transparent 26%),
    linear-gradient(135deg, #050505, #101010 72%, #19070a);
}

.hero h1 {
  max-width: 960px;
  margin: 0;
  font-size: clamp(38px, 5.5vw, 72px);
  line-height: 0.95;
  text-transform: uppercase;
}

.red {
  color: var(--red-2);
}

.hero p,
.muted {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.hero p {
  max-width: 760px;
  margin: 24px 0 0;
  font-size: 20px;
}

.buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero-media {
  overflow: hidden;
  min-height: 360px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  background: #0a0a0a url("../laser-ready-files/reference-images/slide-card.png") center/cover no-repeat;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.58);
}

section {
  padding: 68px 6vw;
  scroll-margin-top: 82px;
}

.dark {
  background: linear-gradient(180deg, #0b0b0b, #050505);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.inner {
  width: min(1220px, 100%);
  margin: 0 auto;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 28px;
}

h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1;
}

h3 {
  margin: 0 0 10px;
}

.filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.chip {
  min-height: 38px;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid #333;
  background: #0c0c0c;
  color: #ededed;
  font-weight: 800;
  cursor: pointer;
}

.chip.active {
  border-color: var(--red);
  background: rgba(225, 29, 37, 0.18);
}

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

.product-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  overflow: hidden;
}

.product-art {
  min-height: 170px;
  padding: 18px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 40%, rgba(255, 255, 255, 0.10), transparent 34%),
    linear-gradient(135deg, #181818, #070707 65%, #26080b);
}

.product-art svg {
  width: 100%;
  height: 134px;
  display: block;
}

.product-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px;
  flex: 1;
}

.rank {
  color: var(--red-2);
  font-weight: 900;
  letter-spacing: 0.08em;
  font-size: 12px;
  text-transform: uppercase;
}

.product-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: auto;
  color: #e7e7e7;
  font-weight: 900;
}

.small-btn {
  min-height: 38px;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

.studio-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 18px;
  align-items: start;
}

.studio-flow {
  display: grid;
  gap: 18px;
  margin-bottom: 20px;
}

.flow-step {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 22px;
}

.step-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.step-head > span {
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--red);
  color: #fff;
  background: rgba(225, 29, 37, 0.16);
  font-weight: 900;
}

.step-head h3,
.step-head p {
  margin: 0;
}

.part-options,
.engraving-options {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.part-tile,
.engraving-tile {
  min-height: 72px;
  padding: 12px;
  border: 1px solid #333;
  border-radius: 8px;
  background: #0b0b0b;
  color: #fff;
  text-align: left;
  cursor: pointer;
}

.part-tile strong,
.engraving-tile strong,
.part-tile span,
.engraving-tile span {
  display: block;
}

.part-tile span,
.engraving-tile span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.part-tile.active,
.engraving-tile.active {
  border-color: var(--red);
  background: rgba(225, 29, 37, 0.15);
}

.panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 22px;
}

.control-group {
  margin-bottom: 18px;
}

label {
  display: block;
  margin: 0 0 8px;
  color: #f1f1f1;
  font-weight: 800;
}

select,
input,
textarea {
  width: 100%;
  min-height: 44px;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #343434;
  background: #070707;
  color: #fff;
  font: inherit;
}

textarea {
  min-height: 92px;
  resize: vertical;
}

.design-options,
.font-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.text-controls {
  display: grid;
  grid-template-columns: minmax(280px, 1.2fr) minmax(180px, 0.6fr) minmax(220px, 0.8fr);
  gap: 16px;
  align-items: start;
}

.option-tile {
  min-height: 58px;
  padding: 12px;
  border: 1px solid #333;
  border-radius: 8px;
  background: #0b0b0b;
  color: #fff;
  font-weight: 800;
  cursor: pointer;
  text-align: left;
  line-height: 1.15;
}

.option-tile.active {
  border-color: var(--red);
  background: rgba(225, 29, 37, 0.15);
}

.option-tile .fine-print {
  display: block;
  margin-top: 6px;
  font-family: Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0;
}

.proof-stage {
  min-height: 560px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    #090909;
  background-size: 18px 18px;
  padding: 22px;
}

.proof-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.proof-toolbar span {
  color: var(--muted);
  font-size: 14px;
}

.proof-wrap {
  display: grid;
  place-items: center;
  min-height: 455px;
  overflow: auto;
}

#proofSvg {
  width: min(100%, 820px);
  height: auto;
  max-height: 440px;
}

.job-list {
  display: grid;
  gap: 12px;
  margin: 0;
}

.job-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid #252525;
}

.job-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.job-row strong {
  color: #fff;
}

.job-row span,
.fine-print {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.notice {
  border-left: 4px solid var(--red);
  border-radius: 8px;
  background: #111;
  padding: 18px;
  color: #d6d6d6;
  line-height: 1.6;
}

.compat-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.compat-list span {
  padding: 7px 10px;
  border-radius: 999px;
  background: #181818;
  border: 1px solid #303030;
  color: #ddd;
  font-size: 12px;
  font-weight: 800;
}

footer {
  padding: 42px 6vw;
  color: #777;
  border-top: 1px solid #1e1e1e;
}

@media (max-width: 1120px) {
  .hero,
  .studio-shell {
    grid-template-columns: 1fr;
  }

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

  .text-controls {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

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

@media (max-width: 760px) {
  .topbar {
    height: 64px;
    min-height: 64px;
    padding: 8px 20px;
  }

  body {
    padding-top: 64px;
  }

  .logo img {
    width: 104px;
  }

  .menu a:not(.quote-btn) {
    display: none;
  }

  section,
  .hero {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero {
    min-height: auto;
    padding-top: 34px;
    padding-bottom: 42px;
  }

  .store-grid,
  .design-options,
  .font-options,
  .part-options,
  .engraving-options {
    grid-template-columns: 1fr;
  }

  .section-head {
    display: block;
  }

  .filters {
    margin-top: 18px;
  }
}
