:root {
  --bg: #070707;
  --text: #f4f2ee;
  --muted: #8f8b84;
  --faint: #5c5954;
  --accent: #e8a020;
  --accent-soft: rgba(232, 160, 32, 0.12);
  --accent-line: rgba(232, 160, 32, 0.28);
  --line: rgba(255, 255, 255, 0.07);
  --line-strong: rgba(255, 255, 255, 0.12);
  --radius: 14px;
  --radius-lg: 20px;
  --font: "DM Sans", system-ui, -apple-system, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --max: 1080px;
  --shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; color-scheme: dark; }
select {
  color: #f4f2ee;
  background-color: #161616;
}
select option,
select optgroup {
  color: #1a1a1a;
  background-color: #f4f2ee;
}
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  position: relative; /* so absolute character scrolls with page */
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; cursor: pointer; }
em { font-style: italic; font-weight: 500; }

.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 45% at 50% -5%, rgba(232, 160, 32, 0.08), transparent 55%),
    radial-gradient(ellipse 40% 30% at 100% 60%, rgba(60, 40, 15, 0.1), transparent 50%),
    var(--bg);
}

/* Character art — left/right top, scrolls with page (not fixed) */
.bg-character {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  left: 0;
  width: min(46vw, 520px);
  height: min(82vh, 780px);
  opacity: 0.24;
  mix-blend-mode: screen;
  mask-image:
    linear-gradient(270deg, transparent 0%, rgba(0, 0, 0, 0.5) 22%, #000 48%),
    linear-gradient(180deg, #000 0%, #000 72%, transparent 100%);
  -webkit-mask-image:
    linear-gradient(270deg, transparent 0%, rgba(0, 0, 0, 0.5) 22%, #000 48%),
    linear-gradient(180deg, #000 0%, #000 72%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
  filter: saturate(0.85) contrast(1.05);
}
.bg-character img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left top;
  display: block;
  user-select: none;
  will-change: transform;
}
/* Subtle idle float — opposite phase so they feel alive */
@keyframes float-cop {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(4px, -10px, 0); }
}
@keyframes float-street {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(-5px, -12px, 0); }
}
/* Cop — top left */
.bg-character--cop {
  top: 0;
}
.bg-character--cop img {
  animation: float-cop 7s ease-in-out infinite;
}
/* Street character — same height as cop, RIGHT side */
.bg-character--street {
  top: 0;
  left: auto;
  right: 0;
  opacity: 0.24;
  width: min(46vw, 520px);
  height: min(82vh, 780px);
  mask-image:
    linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.5) 22%, #000 48%),
    linear-gradient(180deg, #000 0%, #000 72%, transparent 100%);
  -webkit-mask-image:
    linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.5) 22%, #000 48%),
    linear-gradient(180deg, #000 0%, #000 72%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}
.bg-character--street img {
  object-position: right top;
  animation: float-street 8.2s ease-in-out infinite;
  animation-delay: -2.5s;
}
@media (max-width: 900px) {
  .bg-character {
    width: min(56vw, 380px);
    height: min(65vh, 520px);
    opacity: 0.15;
  }
  .bg-character--street {
    top: 0;
    opacity: 0.15;
    right: 0;
    left: auto;
  }
}
@media (max-width: 640px) {
  .bg-character {
    opacity: 0.1;
    width: 58vw;
    height: 46vh;
  }
  .bg-character--street {
    top: 0;
    opacity: 0.1;
    right: 0;
    left: auto;
  }
}
@media (prefers-reduced-motion: reduce) {
  .bg-character--cop img,
  .bg-character--street img {
    animation: none;
  }
}

.nav, main, .footer { position: relative; z-index: 1; }

/* Top announcement */
.announce {
  position: relative;
  z-index: 45;
  border-bottom: 1px solid var(--accent-line);
  background:
    linear-gradient(90deg, rgba(232, 160, 32, 0.14), rgba(232, 160, 32, 0.06) 45%, rgba(232, 160, 32, 0.12));
}
.announce-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.65rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.55rem 0.85rem;
  text-align: center;
}
.announce-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
  flex-shrink: 0;
  animation: announce-pulse 1.8s ease-in-out infinite;
}
@keyframes announce-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.9); }
}
.announce p {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
  line-height: 1.4;
}
.announce-link {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
}
.announce-link:hover { text-decoration: underline; }
@media (max-width: 640px) {
  .announce-inner { padding: 0.7rem 1rem; }
  .announce p { font-size: 0.84rem; }
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem clamp(1.1rem, 3vw, 2rem);
  background: rgba(7, 7, 7, 0.72);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(16px);
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.nav.is-scrolled {
  background: rgba(7, 7, 7, 0.92);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.brand img {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  border: 1px solid var(--line);
  object-fit: cover;
}
.brand-tag {
  margin-left: 0.15rem;
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
  border: 1px solid var(--accent-line);
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
}
.nav-links a:hover { color: var(--text); }
.nav-links a.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.42rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(232, 160, 32, 0.45);
  background: rgba(232, 160, 32, 0.14);
  color: #f0ad30;
  font-weight: 700;
  font-size: 0.84rem;
  letter-spacing: -0.01em;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.nav-links a.nav-cta:hover {
  background: rgba(232, 160, 32, 0.24);
  border-color: rgba(232, 160, 32, 0.7);
  color: #ffc14a;
}

/* Language switch DA | EN */
.nav-auth {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}
.nav-auth .nav-user {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 500;
}
.nav-auth .btn {
  padding: 0.4rem 0.85rem;
  font-size: 0.82rem;
}
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}
.lang-btn {
  appearance: none;
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  line-height: 1;
  cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease;
}
.lang-btn:hover { color: var(--text); }
.lang-btn.is-active {
  color: #0c0c0c;
  background: var(--accent);
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: transparent;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
}

/* Hero */
.hero {
  max-width: 640px;
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 5rem) 1.5rem 2.5rem;
  text-align: center;
}
.hero-seller {
  max-width: 760px;
  padding-top: clamp(3.4rem, 9vw, 5.8rem);
}
.hero-note {
  margin: 1rem auto 0;
  max-width: 34rem;
  color: var(--faint);
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.hero-logo {
  width: 88px;
  height: 88px;
  margin: 0 auto 1.5rem;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.hero-logo img {
  width: 72%;
  height: 72%;
  object-fit: contain;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1.2rem;
  padding: 0.35rem 0.85rem 0.35rem 0.55rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--muted);
}
.badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 5.5vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
  font-weight: 600;
}
.hero h1 em { color: var(--accent); }
.lead {
  margin: 0 auto 1.75rem;
  max-width: 32rem;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.65;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
}
.hero-hint {
  margin: 0.85rem 0 0;
  font-size: 0.78rem;
  color: var(--faint);
  font-weight: 500;
  min-height: 1.2em;
}
.hero-hint.is-ok { color: var(--accent); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.72rem 1.2rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: -0.01em;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}
.btn:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.2);
}
.btn.primary {
  background: var(--accent);
  border-color: transparent;
  color: #12100c;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.12) inset, 0 8px 22px rgba(232, 160, 32, 0.22);
  font-family: var(--mono);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
}
.btn.primary:hover {
  background: #f0ad30;
  transform: translateY(-1px);
  color: #12100c;
}
.btn.ghost {
  background: transparent;
  color: var(--muted);
}
.btn.ghost:hover { color: var(--text); }

/* Sections */
.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 4rem 1.5rem;
}
.section-soft {
  max-width: none;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.015), transparent);
}
.section-soft > * {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}
.section-head {
  max-width: 34rem;
  margin-bottom: 2rem;
}
.eyebrow {
  margin: 0 0 0.55rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.section-head h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.55rem, 3vw, 2.05rem);
  letter-spacing: -0.03em;
  font-weight: 600;
  line-height: 1.2;
}
.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.65;
}

/* Pillars */
.pillars {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}
@media (min-width: 960px) {
  .pillars {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.pillar {
  padding: 1.35rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}
.pillar .n {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--accent);
  font-weight: 500;
}
.pillar h3 {
  margin: 0.55rem 0 0.45rem;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.pillar p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}
.pillar-meta {
  margin-top: 0.9rem !important;
  font-size: 0.78rem !important;
  color: var(--faint) !important;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}
.card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
  padding: 1.4rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: rgba(12, 12, 12, 0.85);
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}
.card:hover {
  border-color: var(--accent-line);
  background: rgba(232, 160, 32, 0.04);
  transform: translateY(-2px);
}
.card-accent {
  border-color: rgba(232, 160, 32, 0.16);
}
.card-tag {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}
.card h3 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
  flex: 1;
}
.card-link {
  margin-top: 0.5rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
}
.card:hover .card-link { color: var(--accent); }

/* Products */
.product-row {
  display: grid;
  gap: 0.75rem;
}
.product {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.25rem 1.4rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.product:hover {
  border-color: var(--accent-line);
  background: rgba(232, 160, 32, 0.04);
}
.product-status {
  display: inline-block;
  margin-bottom: 0.35rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}
.product-status.muted { color: var(--faint); }
.product h3 {
  margin: 0 0 0.3rem;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.product p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
  max-width: 36rem;
}
.product-arrow {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 1.1rem;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}
.product:hover .product-arrow {
  border-color: var(--accent-line);
  color: var(--accent);
  background: var(--accent-soft);
}

/* CTA */
.cta-section { padding-bottom: 2rem; }
/* Trust strip */
.trust-strip {
  position: relative;
  z-index: 1;
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.015);
}
.trust-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.15rem 1.5rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem 1.25rem;
}
.trust-inner p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}
.trust-inner strong {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--text);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
}
@media (max-width: 800px) {
  .trust-inner {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 520px) {
  .trust-inner {
    grid-template-columns: 1fr;
  }
}

.cta {
  text-align: center;
  padding: 2.7rem 1.6rem;
  border-radius: 24px;
  border: 1px solid rgba(232, 160, 32, 0.22);
  background:
    radial-gradient(ellipse at 50% 0%, var(--accent-soft), transparent 55%),
    rgba(14, 14, 14, 0.9);
  box-shadow: var(--shadow);
}
.cta h2 {
  margin: 0 0 0.55rem;
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  letter-spacing: -0.03em;
  font-weight: 600;
}
.cta > p {
  margin: 0 auto 1.4rem;
  max-width: 28rem;
  color: var(--muted);
  font-size: 1rem;
}

/* AI note — bottom of home + character figure */
.ai-section {
  padding-top: 1.5rem;
  padding-bottom: 4rem;
}
.ai-panel {
  max-width: 52rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(140px, 220px) 1fr;
  gap: 1.25rem 1.75rem;
  align-items: end;
  padding: 1.25rem 1.25rem 1.35rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background:
    radial-gradient(ellipse 50% 60% at 12% 80%, rgba(232, 160, 32, 0.08), transparent 55%),
    rgba(255, 255, 255, 0.02);
  overflow: hidden;
}
.ai-figure {
  position: relative;
  min-height: 200px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.ai-figure img {
  width: 100%;
  max-width: 220px;
  height: auto;
  max-height: 280px;
  object-fit: contain;
  object-position: center bottom;
  display: block;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.45));
  user-select: none;
}
.ai-note {
  min-width: 0;
  text-align: left;
  padding: 0.35rem 0.25rem 0.15rem 0;
}
.ai-note .eyebrow {
  margin-bottom: 0.45rem;
}
.ai-note h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.25rem, 2.5vw, 1.55rem);
  letter-spacing: -0.025em;
  font-weight: 600;
  line-height: 1.25;
}
.ai-note p {
  margin: 0 0 0.85rem;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.65;
}
.ai-note p:last-of-type {
  margin-bottom: 0;
}
.ai-tagline {
  margin-top: 1.1rem !important;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--text) !important;
  font-weight: 600;
  font-size: 0.95rem !important;
  letter-spacing: -0.01em;
}
@media (max-width: 700px) {
  .ai-panel {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 0.75rem;
  }
  .ai-figure {
    order: -1;
    min-height: 0;
  }
  .ai-figure img {
    max-height: 200px;
    max-width: 160px;
  }
  .ai-note {
    text-align: left;
    padding: 0;
  }
}

/* Footer */
.footer {
  border-top: 1px solid var(--line);
  padding: 2.1rem 1.5rem 2.5rem;
  display: grid;
  gap: 0.85rem;
  justify-items: center;
  text-align: center;
  color: var(--faint);
  font-size: 0.85rem;
  background: rgba(0, 0, 0, 0.25);
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--text);
  font-weight: 700;
  letter-spacing: 0.04em;
}
.footer-brand img {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  object-fit: cover;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 1.25rem;
  color: var(--muted);
  font-weight: 500;
  font-size: 0.88rem;
}
.footer-links a:hover { color: var(--accent); }
.footer > p { margin: 0; }

/* Scroll progress */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  z-index: 100;
  background: linear-gradient(90deg, var(--accent), #f0c060);
  box-shadow: 0 0 12px rgba(232, 160, 32, 0.45);
  pointer-events: none;
  transition: width 0.08s linear;
}

/* Stats under hero */
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
  margin: 2.4rem auto 0;
  max-width: 36rem;
  text-align: center;
}
.stat {
  padding: 0.85rem 0.5rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}
.stat strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  font-family: var(--mono);
  font-size: 0.92rem;
}
.stat span {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.72rem;
  color: var(--faint);
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* Steps — get started */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  counter-reset: none;
}
.step {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1.35rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: rgba(12, 12, 12, 0.75);
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}
.step:hover {
  border-color: var(--accent-line);
  background: rgba(232, 160, 32, 0.04);
  transform: translateY(-2px);
}
.step-n {
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.82rem;
  font-weight: 600;
}
.step h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.step p {
  margin: 0 0 0.75rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}
.step-link {
  display: inline-flex;
  align-items: center;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
}
.step-link:hover { text-decoration: underline; }

/* Product catalog (seller) */
.catalog {
  display: grid;
  gap: 1rem;
}
.catalog-card {
  display: grid;
  gap: 0;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: rgba(12, 12, 12, 0.85);
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.catalog-card:hover {
  border-color: var(--accent-line);
  transform: translateY(-3px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.42);
}
.catalog-card.featured {
  border-color: rgba(232, 160, 32, 0.22);
  background:
    radial-gradient(ellipse at 0% 0%, var(--accent-soft), transparent 50%),
    rgba(12, 12, 12, 0.9);
}
@media (min-width: 860px) {
  .catalog-card.featured {
    grid-template-columns: 1.35fr 1fr;
  }
  .catalog:not(:has(.featured:only-child)) {
    grid-template-columns: 1fr 1fr;
  }
  .catalog-card.featured {
    grid-column: 1 / -1;
  }
}
.catalog-media {
  position: relative;
  min-height: 200px;
  background: #0a0a0a;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 860px) {
  .catalog-card.featured .catalog-media {
    border-bottom: none;
    border-right: 1px solid var(--line);
    min-height: 420px;
  }
}

/* Live inventory demo inside featured card only */
.catalog-card.featured .catalog-demo-media {
  min-height: 360px;
  background: #090909;
  overflow: hidden;
}
@media (min-width: 860px) {
  .catalog-card.featured .catalog-demo-media {
    min-height: 100%;
    align-self: stretch;
  }
}
.catalog-demo-stage {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #090909;
}
.catalog-demo-loading {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  background: #090909;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 500;
  transition: opacity 0.4s ease;
}
.catalog-demo-loading.is-done {
  opacity: 0;
  pointer-events: none;
}
.catalog-demo-spinner {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--line-strong);
  border-top-color: var(--accent);
  animation: home-spin 0.75s linear infinite;
}
@keyframes home-spin {
  to { transform: rotate(360deg); }
}
/* Render demo at desktop size, scale to fit the card */
.catalog-demo-frame {
  position: absolute;
  border: 0;
  background: #090909;
  /* Logical “desktop” viewport for the NUI */
  width: 1280px;
  height: 800px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(0.48);
  transform-origin: center center;
  /* Interactive like product page */
  pointer-events: auto;
}
@media (min-width: 1100px) {
  .catalog-demo-frame {
    transform: translate(-50%, -50%) scale(0.55);
  }
}
@media (max-width: 700px) {
  .catalog-demo-media { min-height: 280px; }
  .catalog-demo-frame {
    width: 1100px;
    height: 720px;
    transform: translate(-50%, -50%) scale(0.36);
  }
}
.catalog-demo-expand {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  z-index: 4;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(10, 10, 10, 0.82);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  backdrop-filter: blur(8px);
  transition: color 0.15s ease, border-color 0.15s ease;
}
.catalog-demo-expand:hover {
  color: var(--accent);
  border-color: var(--accent-line);
}
.catalog-demo-locked .catalog-demo-frame {
  filter: blur(6px) saturate(0.7);
  pointer-events: none;
  opacity: 0.35;
}
.catalog-lock-msg {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 1rem;
  text-align: center;
  background: rgba(6, 6, 6, 0.55);
  pointer-events: none;
}
.catalog-lock-badge {
  display: inline-flex;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--accent-line);
  background: rgba(12, 12, 12, 0.85);
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.catalog-lock-msg p {
  margin: 0;
  max-width: 16rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
}
.catalog-demo-media.is-unlocked .catalog-lock-msg {
  display: none;
}
.catalog-demo-media.is-unlocked .catalog-demo-frame {
  filter: none;
  pointer-events: auto;
  opacity: 1;
}

/* Only full-bleed screenshots — NOT collage icons */
.catalog-media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  min-height: 200px;
  max-height: 320px;
}

/* Collage icons: never fill the media box */
.catalog-media .loot-item,
.catalog-media .case-item,
.catalog-media .crime-item {
  width: 36px;
  height: auto;
  max-width: 40px;
  max-height: 40px;
  min-height: 0;
  object-fit: contain;
}
.catalog-badge {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  border: 1px solid var(--accent-line);
  background: rgba(12, 12, 12, 0.85);
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}
.catalog-body {
  padding: 1.35rem 1.4rem 1.45rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.catalog-top {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1rem;
}
.catalog-body h3 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.catalog-price {
  margin: 0;
  font-family: var(--mono);
  font-size: 0.95rem;
  color: var(--accent);
}
.catalog-price span {
  color: var(--faint);
  font-size: 0.72rem;
  font-weight: 500;
  margin-left: 0.25rem;
}
.catalog-body > p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}
.catalog-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.15rem 0 0;
  padding: 0;
  list-style: none;
}
.catalog-tags li {
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.catalog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.5rem;
}
.catalog-actions .btn {
  width: auto;
}

/* DU_Looting — floating custom items collage */
.catalog-looting .catalog-media,
.loot-media,
.catalog-hud .catalog-media,
.hud-media {
  min-height: 230px;
  height: 230px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  background: #090909;
}
.catalog-looting .catalog-demo-stage {
  background: #090909;
}
/* Loot table only — centered, a bit larger, tight on the grid */
.loot-demo-frame {
  width: 380px;
  height: 360px;
  left: 50%;
  top: 50%;
  right: auto;
  transform: translate(-50%, -50%) scale(0.68);
  transform-origin: center center;
}
@media (min-width: 1100px) {
  .loot-demo-frame {
    transform: translate(-50%, -50%) scale(0.72);
  }
}
@media (max-width: 700px) {
  .loot-demo-frame {
    width: 360px;
    height: 340px;
    transform: translate(-50%, -50%) scale(0.62);
  }
}
.catalog-hud .catalog-media,
.hud-media {
  position: relative;
  height: 280px;
}
.catalog-hud .catalog-demo-stage {
  background: #090909;
}
.hud-demo-frame {
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  transform: none;
}
.loot-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 40%, rgba(232, 160, 32, 0.12), transparent 65%),
    radial-gradient(ellipse 50% 50% at 20% 80%, rgba(80, 140, 255, 0.08), transparent 55%),
    linear-gradient(165deg, #0c0c0e 0%, #12141a 45%, #0a0a0c 100%);
}
.loot-media {
  position: relative;
}
.loot-crate {
  position: absolute;
  left: 50%;
  top: 54%;
  width: min(168px, 58%);
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: contain;
  filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.55));
  pointer-events: none;
  user-select: none;
  transition: transform 0.35s ease;
}
.catalog-looting:hover .loot-crate {
  transform: translate(-50%, -54%);
  filter: drop-shadow(0 18px 26px rgba(0, 0, 0, 0.6));
}

/* Portable cases — isolated roulette, same box language as world loot */
.catalog-cases .catalog-media,
.cases-media {
  position: relative;
  min-height: 230px;
  height: 230px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  background: #090909;
}
.catalog-cases .catalog-demo-stage {
  background: #090909;
}
.case-demo-frame {
  width: 520px;
  height: 340px;
  left: 50%;
  top: 50%;
  right: auto;
  transform: translate(-50%, -50%) scale(0.68);
  transform-origin: center center;
}
@media (min-width: 1100px) {
  .case-demo-frame {
    transform: translate(-50%, -50%) scale(0.72);
  }
}
@media (max-width: 700px) {
  .case-demo-frame {
    width: 500px;
    height: 320px;
    transform: translate(-50%, -50%) scale(0.6);
  }
}
.cases-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 65% 55% at 50% 45%, rgba(232, 160, 32, 0.1), transparent 62%),
    radial-gradient(ellipse 40% 45% at 85% 20%, rgba(255, 120, 40, 0.08), transparent 50%),
    linear-gradient(165deg, #0c0c0e 0%, #141218 50%, #0a0a0c 100%);
}
.case-item {
  position: absolute;
  object-fit: contain;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.5));
  pointer-events: none;
  user-select: none;
  transition: transform 0.35s ease;
}
.ci-val {
  width: 36px !important;
  max-width: 36px !important;
  left: 10%;
  top: 16%;
  transform: rotate(-10deg);
  z-index: 4;
}
.ci-weap {
  width: 38px !important;
  max-width: 38px !important;
  right: 10%;
  top: 12%;
  transform: rotate(12deg);
  z-index: 3;
}
.ci-gun {
  width: 36px !important;
  max-width: 36px !important;
  left: 40%;
  top: 10%;
  transform: rotate(6deg);
  z-index: 5;
}
.ci-att {
  width: 34px !important;
  max-width: 34px !important;
  left: 16%;
  bottom: 12%;
  transform: rotate(-8deg);
  z-index: 3;
}
.ci-med {
  width: 34px !important;
  max-width: 34px !important;
  right: 16%;
  bottom: 14%;
  transform: rotate(14deg);
  z-index: 4;
}
.ci-tools {
  width: 34px !important;
  max-width: 34px !important;
  right: 40%;
  top: 44%;
  transform: rotate(-14deg);
  z-index: 2;
}
.catalog-cases:hover .ci-val { transform: rotate(-6deg) translateY(-2px); }
.catalog-cases:hover .ci-weap { transform: rotate(8deg) translateY(-2px); }
.catalog-cases:hover .ci-gun { transform: rotate(3deg) translateY(-3px); }
.catalog-cases:hover .ci-att { transform: rotate(-4deg) translateY(-2px); }
.catalog-cases:hover .ci-med { transform: rotate(10deg) translateY(-2px); }
.catalog-cases:hover .ci-tools { transform: rotate(-10deg) translateY(-2px); }

/* DU_Crime — drug / crime collage */
.catalog-crime .catalog-media,
.crime-media {
  position: relative;
  min-height: 200px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.crime-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 40% 50%, rgba(180, 40, 80, 0.12), transparent 60%),
    radial-gradient(ellipse 50% 45% at 90% 20%, rgba(120, 60, 200, 0.08), transparent 55%),
    linear-gradient(165deg, #0c0a0e 0%, #141018 50%, #0a0a0c 100%);
}
.crime-item {
  position: absolute;
  object-fit: contain;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.5));
  pointer-events: none;
  user-select: none;
  transition: transform 0.35s ease;
}
.cr-coke {
  width: 32px !important;
  max-width: 32px !important;
  left: 10%;
  top: 14%;
  transform: rotate(-11deg);
  z-index: 4;
}
.cr-meth {
  width: 32px !important;
  max-width: 32px !important;
  right: 12%;
  top: 12%;
  transform: rotate(13deg);
  z-index: 3;
}
.cr-weed {
  width: 34px !important;
  max-width: 34px !important;
  left: 42%;
  top: 10%;
  transform: rotate(5deg);
  z-index: 5;
}
.cr-scale {
  width: 30px !important;
  max-width: 30px !important;
  left: 18%;
  bottom: 12%;
  transform: rotate(-8deg);
  z-index: 3;
}
.cr-heroin {
  width: 30px !important;
  max-width: 30px !important;
  right: 18%;
  bottom: 14%;
  transform: rotate(16deg);
  z-index: 4;
}
.cr-pills {
  width: 28px !important;
  max-width: 28px !important;
  right: 42%;
  top: 42%;
  transform: rotate(-15deg);
  z-index: 2;
}
.cr-adderall {
  width: 30px !important;
  max-width: 30px !important;
  left: 54%;
  bottom: 16%;
  transform: rotate(9deg);
  z-index: 3;
}
.cr-skunk {
  width: 30px !important;
  max-width: 30px !important;
  left: 8%;
  top: 50%;
  transform: rotate(18deg);
  z-index: 2;
}
.catalog-crime:hover .cr-coke { transform: rotate(-7deg) translateY(-2px); }
.catalog-crime:hover .cr-meth { transform: rotate(9deg) translateY(-2px); }
.catalog-crime:hover .cr-weed { transform: rotate(2deg) translateY(-3px); }
.catalog-crime:hover .cr-scale { transform: rotate(-4deg) translateY(-2px); }
.catalog-crime:hover .cr-heroin { transform: rotate(11deg) translateY(-2px); }
.catalog-crime:hover .cr-pills { transform: rotate(-10deg) translateY(-2px); }
.catalog-crime:hover .cr-adderall { transform: rotate(5deg) translateY(-2px); }
.catalog-crime:hover .cr-skunk { transform: rotate(12deg) translateY(-2px); }

/* 3-card support row under featured */
.cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 900px) {
  .cards { grid-template-columns: 1fr; }
}

/* Pillar polish */
.pillar {
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}
.pillar:hover {
  border-color: var(--accent-line);
  background: rgba(232, 160, 32, 0.04);
  transform: translateY(-2px);
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* Back to top */
.to-top {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 30;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(14, 14, 14, 0.92);
  color: var(--text);
  font-size: 1rem;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  transition: opacity 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.to-top:hover {
  border-color: var(--accent-line);
  color: var(--accent);
  transform: translateY(-2px);
}
.to-top[hidden] { display: none !important; }

@media (max-width: 800px) {
  .pillars { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 1.1rem 1rem;
    background: rgba(8, 8, 8, 0.98);
    border-bottom: 1px solid var(--line);
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    padding: 0.75rem 0.2rem;
    border-bottom: 1px solid var(--line);
  }
  .lang-switch { margin-top: 0.5rem; align-self: flex-start; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
  .product {
    align-items: flex-start;
  }
  .to-top { right: 0.85rem; bottom: 0.85rem; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
