:root {
  --red: #c1121f;
  --red-dark: #8f1018;
  --metal: #9a9da3;
  --metal-dark: #555960;
  --black: #111111;
  --light-black: #1a1a1d;
  --panel: #202024;
  --text: #f4f4f4;
  --muted: #c6c7ca;
  --line: rgba(255,255,255,.12);
  --shadow: 0 24px 80px rgba(0,0,0,.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top left, rgba(193,18,31,.23), transparent 35%), var(--black);
  color: var(--text);
  line-height: 1.6;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 54px);
  background: rgba(17,17,17,.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  letter-spacing: .02em;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 52px;
  height: 42px;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  border: 2px solid var(--metal);
  font-family: Anton, sans-serif;
  font-size: 28px;
  box-shadow: 0 10px 30px rgba(193,18,31,.25);
}
.brand-text { font-family: Anton, sans-serif; font-size: 30px; text-transform: uppercase; }
.main-nav { display: flex; align-items: center; gap: 8px; }
.main-nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 700;
  padding: 10px 12px;
  border-radius: 999px;
  transition: .2s ease;
}
.main-nav a:hover, .main-nav a.active { color: var(--text); background: rgba(255,255,255,.08); }
.nav-toggle { display: none; background: transparent; border: 1px solid var(--line); color: var(--text); font-size: 26px; border-radius: 10px; padding: 6px 10px; }
.hero {
  min-height: 78vh;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr);
  align-items: center;
  gap: clamp(28px, 5vw, 80px);
  padding: clamp(56px, 8vw, 110px) clamp(18px, 6vw, 88px);
}
.eyebrow { color: var(--metal); text-transform: uppercase; font-weight: 900; letter-spacing: .14em; font-size: .83rem; margin: 0 0 12px; }
h1, h2, h3 { line-height: 1.05; margin: 0 0 16px; }
h1 { font-family: Anton, sans-serif; font-size: clamp(3rem, 8vw, 7rem); letter-spacing: .01em; text-transform: uppercase; }
h2 { font-family: Anton, sans-serif; font-size: clamp(2rem, 4vw, 3.8rem); text-transform: uppercase; }
h3 { font-size: 1.25rem; }
.hero-copy, .page-hero p, .section p, .content-panel p { color: var(--muted); font-size: 1.05rem; }
.hero-actions, .form-actions, .output-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 12px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 900;
  cursor: pointer;
  font-family: inherit;
}
.btn-primary { background: var(--red); color: white; box-shadow: 0 12px 30px rgba(193,18,31,.28); }
.btn-primary:hover { background: var(--red-dark); }
.btn-secondary { background: rgba(255,255,255,.08); color: var(--text); border-color: var(--line); }
.hero-card, .feature-card, .content-panel, .form-panel, .submission-output, .item-card {
  background: linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.035));
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
}
.hero-card { padding: 30px; position: relative; overflow: hidden; }
.hero-card::after { content: ""; position: absolute; inset: auto -60px -80px auto; width: 220px; height: 220px; background: var(--red); opacity: .18; border-radius: 50%; }
.status-light { width: 14px; height: 14px; border-radius: 50%; background: var(--red); box-shadow: 0 0 24px var(--red); margin-bottom: 16px; }
.check-list { padding-left: 20px; color: var(--text); font-weight: 700; }
.section, .page-shell { padding: clamp(44px, 6vw, 90px) clamp(18px, 6vw, 88px); }
.page-shell.narrow { max-width: 1120px; margin: 0 auto; }
.split-section { display: grid; grid-template-columns: .75fr 1.25fr; gap: 32px; align-items: start; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.feature-card, .content-panel { padding: 24px; }
.dark-panel { background: var(--light-black); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 24px; }
.item-card { overflow: hidden; cursor: pointer; transition: transform .2s ease, border-color .2s ease; }
.item-card:hover { transform: translateY(-4px); border-color: rgba(193,18,31,.65); }
.item-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; background: #111; }
.item-card-body { padding: 18px; }
.item-meta { display: flex; justify-content: space-between; gap: 10px; color: var(--metal); font-weight: 900; font-size: .92rem; }
.price-tag { color: white; background: var(--red); border-radius: 999px; padding: 4px 10px; white-space: nowrap; }
.text-link { display: inline-block; margin-top: 22px; color: white; font-weight: 900; text-decoration-color: var(--red); text-decoration-thickness: 3px; }
.page-hero { max-width: 850px; margin-bottom: 28px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-panel { padding: 24px; display: grid; gap: 18px; }
.form-row { display: grid; gap: 18px; }
.form-row.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.form-row.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
label { display: grid; gap: 8px; color: var(--text); font-weight: 800; }
input, select, textarea {
  width: 100%;
  background: rgba(0,0,0,.32);
  color: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px 14px;
  font: inherit;
}
textarea { resize: vertical; }
.muted { color: var(--muted); font-size: .95rem; }
code { background: rgba(255,255,255,.1); padding: 2px 6px; border-radius: 6px; }
.submission-output { margin-top: 24px; padding: 24px; }
.output-header { display: flex; justify-content: space-between; align-items: start; gap: 18px; flex-wrap: wrap; }
pre { white-space: pre-wrap; background: rgba(0,0,0,.35); border: 1px solid var(--line); border-radius: 14px; padding: 18px; color: var(--text); overflow: auto; }
.item-dialog { width: min(760px, calc(100% - 28px)); border: 1px solid var(--line); border-radius: 24px; padding: 0; color: var(--text); background: var(--light-black); box-shadow: var(--shadow); }
.item-dialog::backdrop { background: rgba(0,0,0,.72); }
.dialog-close { position: absolute; right: 16px; top: 12px; border: 0; border-radius: 999px; background: var(--red); color: white; width: 38px; height: 38px; font-size: 28px; line-height: 1; cursor: pointer; }
.dialog-body img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 24px 24px 0 0; }
.dialog-copy { padding: 24px; }
.site-footer { display: flex; justify-content: space-between; gap: 24px; padding: 30px clamp(18px, 6vw, 88px); border-top: 1px solid var(--line); background: #0c0c0d; color: var(--muted); }
.site-footer strong { color: white; }
.footer-links { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; font-weight: 800; }
.footer-links a { color: white; }
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .main-nav { display: none; position: absolute; top: 75px; left: 18px; right: 18px; flex-direction: column; align-items: stretch; background: #101011; border: 1px solid var(--line); border-radius: 18px; padding: 12px; }
  .main-nav.open { display: flex; }
  .hero, .split-section, .contact-grid { grid-template-columns: 1fr; }
  .feature-grid, .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-row.two, .form-row.three { grid-template-columns: 1fr; }
}
@media (max-width: 580px) {
  .feature-grid, .card-grid { grid-template-columns: 1fr; }
  .site-footer { flex-direction: column; }
  .brand-text { font-size: 25px; }
}
@media print {
  .site-header, .site-footer, .form-panel, .output-actions { display: none !important; }
  body { background: white; color: black; }
  .submission-output { box-shadow: none; border: none; color: black; }
  pre { color: black; background: white; }
}
