@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@700&family=Inter:wght@400;500;600;700;800&family=Orbitron:wght@500;600&family=Saira+Stencil+One&display=swap');

:root {
  color-scheme: dark;
  --ink: #f8f5ff;
  --muted: #c0bcc9;
  --bg: #131316;
  --panel: #1c1926;
  --border: #383243;
  --accent: #38edbd;
  font: 16px/1.55 Inter, system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
button, input, select { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
[hidden] { display: none !important; }
.wrap { max-width: 1320px; padding-inline: clamp(20px, 4.6vw, 68px); margin-inline: auto; }
.muted { color: var(--muted); }

.header-inner { min-height: 91px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.wordmark { display: inline-flex; align-items: center; gap: 8px; font-size: 1.125rem; font-weight: 800; white-space: nowrap; text-decoration: none; }
.wordmark-accent { color: var(--accent); }
.mark { display: inline-grid; place-items: center; width: 34px; height: 34px; margin-right: 2px; border-radius: 8px; background: linear-gradient(135deg, #72f4e2, #a4a0ff); color: #140d24; font-weight: 800; }
nav { position: relative; display: flex; gap: clamp(22px, 3.2vw, 42px); align-items: center; isolation: isolate; padding: 12px 30px 12px 20px; }
nav::before, nav::after { content: ''; position: absolute; z-index: -1; clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 100%, 0 100%); }
nav::before { inset: 0; background: #aba4b6; }
nav::after { inset: 1px 2px 1px 1px; background: var(--bg); }
nav a { position: relative; text-decoration: none; color: #f0edf7; font: 600 .76rem/1.6 Orbitron, Inter, sans-serif; letter-spacing: .105em; text-transform: uppercase; white-space: nowrap; }
nav a + a::before { content: ''; position: absolute; left: -19px; top: 50%; width: 1px; height: 18px; background: #938b9f; transform: translateY(-50%) rotate(-36deg); }
nav a:hover, .footer a:hover { color: var(--accent); }

.hero {
  isolation: isolate;
  position: relative;
  overflow: clip;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  min-height: 510px;
  margin-top: 12px;
}
.hero-visual { position: relative; grid-column: 2; grid-row: 1; isolation: isolate; display: grid; align-items: center; padding: 36px 22px 58px; }
.hero-visual::before, .hero-visual::after {
  content: '';
  position: absolute;
  z-index: -1;
  background: repeating-linear-gradient(90deg, #a6a0b43d 0 1px, transparent 1px 33px), repeating-linear-gradient(#a6a0b43d 0 1px, transparent 1px 33px);
  mask-image: radial-gradient(ellipse, #000 15%, transparent 72%);
}
.hero-visual::before { inset: 0 -24% 10% 15%; transform: rotate(-30deg) skewX(26deg); }
.hero-visual::after { inset: 51% 40% -16% -12%; transform: rotate(26deg) skewX(-24deg); }
.hero-art { display: block; width: min(100%, 630px); height: auto; margin-inline: auto; }
.scene-shape { position: absolute; z-index: 1; aspect-ratio: 1; pointer-events: none; }
.scene-orb { width: clamp(44px, 8vw, 100px); bottom: 9%; left: 2%; border-radius: 50%; background: repeating-linear-gradient(29deg, #171632 0 13%, transparent 13% 24%), linear-gradient(135deg, #4fceff 8%, #7a5cf9 48%, #d72cfd 86%); --travel: -15px; --tilt: -18deg; --duration: 5.6s; }
.scene-triangle { top: 14%; left: 10%; width: clamp(12px, 2vw, 21px); background: var(--accent); clip-path: polygon(0 0, 100% 0, 50% 100%); --travel: 11px; --tilt: 12deg; --duration: 3.7s; }
.scene-diamond { bottom: 15%; right: 7%; width: clamp(12px, 2.4vw, 26px); border: 1px solid #ece4ff; transform: rotate(45deg); --travel: -12px; --tilt: 63deg; --duration: 4.7s; }
.motion-toggle { position: absolute; z-index: 2; bottom: 2px; right: 4px; min-height: 40px; padding: 5px 10px; border: 1px solid #777081; border-radius: 4px; color: var(--muted); background: #17141f; font-size: .76rem; }
.motion-toggle:hover { color: var(--ink); border-color: var(--accent); }
.hero-inner { grid-column: 1; grid-row: 1; align-self: center; padding: 44px 30px 50px 4px; }
h1, h2, h3 { margin: 0; }
h1 { font: 400 clamp(2.4rem, 5vw, 4.45rem)/1.03 'Saira Stencil One', Impact, sans-serif; letter-spacing: -.018em; text-transform: uppercase; }
h1 span, h1 strong { display: block; }
h1 span { transform: skewX(-10deg); transform-origin: left center; }
h1 strong { color: var(--accent); font: 500 clamp(1rem, 2vw, 1.85rem)/1.36 Orbitron, Inter, sans-serif; letter-spacing: .115em; margin-top: .6rem; }
.hero-description { color: var(--muted); font-size: 1.03rem; max-width: 40ch; margin: 28px 0; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; border: 1px solid transparent; border-radius: 8px; padding: 8px 18px; font-weight: 750; text-decoration: none; }
.primary { color: #130a28; background: linear-gradient(105deg, #e795fc, #65caff); box-shadow: 0 6px 18px #8056de28; }
.primary:hover { background: linear-gradient(105deg, #f0adff, #96dbff); }
.hero-action { gap: 14px; border-radius: 2px; font: 600 .77rem/1.45 Orbitron, Inter, sans-serif; letter-spacing: .065em; text-transform: uppercase; }
.hero-action::after { content: ''; width: 8px; height: 8px; border-top: 2px solid; border-right: 2px solid; transform: rotate(45deg); margin-right: 3px; }
.hero-art { animation: visor-float 3.3s ease-in-out infinite alternate paused; }
.scene-shape { animation: shape-float var(--duration) ease-in-out infinite alternate paused; }
.hero-visual[data-motion='running'] :is(.hero-art, .scene-shape) { animation-play-state: running; }
@keyframes visor-float { from { transform: translateY(6px) rotate(-3deg); } to { transform: translateY(-15px) rotate(2deg); } }
@keyframes shape-float { to { transform: translateY(var(--travel)) rotate(var(--tilt)); } }
.secondary { border-color: #ff986c55; background: #311b25; color: #ffd5bf; }
.secondary:hover { border-color: #ff986c; }
.buy-link { gap: 9px; }
.bag-icon { position: relative; display: inline-block; width: 14px; height: 12px; border: 1.5px solid currentColor; border-radius: 3px; margin-top: 4px; }
.bag-icon::before { content: ''; position: absolute; width: 6px; height: 5px; left: 2.5px; top: -5px; border: 1.5px solid currentColor; border-radius: 4px 4px 0 0; }

h2 { font: 700 clamp(2rem, 4vw, 2.6rem)/1.05 'Barlow Condensed', 'Arial Narrow', sans-serif; }
.category-section, .catalog-section { margin-block-start: 43px; }
.category-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 17px; }
.category { position: relative; overflow: hidden; isolation: isolate; width: 100%; min-height: 108px; text-align: start; padding: 16px; border: 1px solid var(--border); border-radius: 14px; color: var(--ink); background: linear-gradient(145deg, #181125 44%, var(--tint)); box-shadow: inset 0 1px #fff1, 0 7px 19px #0003; }
.category::after { content: ''; position: absolute; inset: auto -21px -36px auto; z-index: -1; width: 90px; height: 90px; transform: rotate(35deg); border: 1px solid #ffffff1f; border-radius: 18px; box-shadow: 0 0 0 11px #ffffff08, 0 0 0 22px #ffffff06; }
.mobile { --tint: #283932; }
.audio { --tint: #352446; }
.desk { --tint: #23404f; }
.setup { --tint: #432e35; }
.category:hover, .category[aria-pressed='true'] { border-color: var(--accent); }
.category[aria-pressed='true'] { color: var(--accent); }
.category-name, .category-detail { display: block; }
.category-name { font-weight: 800; }
.category-detail { color: #b7c5d8; font-size: .875rem; line-height: 1.45; margin-top: 4px; }

.catalog-section { scroll-margin-top: 24px; padding-bottom: 24px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 14px; }
.section-heading p { margin: 6px 0 0; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; }
input, select { width: 100%; max-width: 100%; background: var(--panel); color: var(--ink); border: 1px solid var(--border); border-radius: 8px; padding: 10px 12px; }
.filters input { width: min(240px, 40vw); }
.filters select { width: auto; appearance: none; padding-right: 34px; background-image: linear-gradient(45deg, transparent 50%, #b5c2d2 50%), linear-gradient(135deg, #b5c2d2 50%, transparent 50%); background-position: right 16px center, right 11px center; background-size: 5px 5px; background-repeat: no-repeat; }
.filters { align-items: end; }
.market-label { display: grid; gap: 3px; font-size: .75rem; color: var(--muted); }
.market-label select { font-size: 1rem; }
.language-menu { position: relative; z-index: 3; }
.language-menu summary { cursor: pointer; padding: 10px 12px; border: 1px solid var(--border); border-radius: 8px; background: var(--panel); white-space: nowrap; }
.language-menu ul { position: absolute; inset-block-start: 100%; inset-inline-end: 0; min-width: max-content; margin: 6px 0 0; padding: 4px; list-style: none; border: 1px solid var(--border); border-radius: 8px; background: var(--panel); }
.language-menu a { display: block; padding: 7px 13px; border-radius: 4px; text-decoration: none; }
.language-menu a:hover, .language-menu a[aria-current='page'] { color: var(--accent); background: #ffffff0c; }
.empty { border-radius: 10px; background: var(--panel); color: var(--muted); padding: 21px; margin: 0 0 16px; border: 1px solid var(--border); }
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(245px, 100%), 1fr)); gap: 15px; }
.product { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--border); border-radius: 15px; background: linear-gradient(145deg, #21172f, var(--panel)); box-shadow: 0 10px 30px #0004; transition: transform .2s, border-color .2s; }
.product-image { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: #f3f4f5; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .product:hover { transform: perspective(650px) translateY(-5px) rotateX(3deg); border-color: #a77bf0; }
}
.product-copy { flex: 1; display: grid; gap: 8px; align-content: start; padding: 17px; }
.product-copy h3 { font-size: 1rem; }
.product-copy h3 a { text-decoration: none; }
.product-copy h3 a:hover { text-decoration: underline; color: var(--accent); }
.product-copy .button { justify-self: start; margin-top: 7px; }
.product-copy p { margin: 0; }
.product-retailer { color: var(--muted); font-size: .875rem; }
.price { color: var(--accent); font-weight: 800; }
.disclosure { font-size: .88rem; color: var(--muted); margin: 18px 0 4px; }
.offer-page { margin-block: 28px 56px; }
.offer-page > a { color: var(--accent); }
.offer-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; margin-block-start: 22px; }
.offer-layout img { display: block; width: 100%; max-height: 510px; object-fit: contain; border-radius: 12px; background: #f3f4f5; }
.offer-layout h1 { font: 700 clamp(1.9rem, 4vw, 3.1rem)/1.12 Inter, system-ui, sans-serif; text-transform: none; letter-spacing: -.035em; }
.offer-layout .price { font-size: 1.3rem; }
.offer-layout .secondary { margin-block-start: 9px; }
:dir(rtl) .hero h1 span, :dir(rtl) .hero h1 strong { font-family: Tahoma, Arial, sans-serif; letter-spacing: 0; transform: none; }
:dir(rtl) .hero-action::after { transform: rotate(-135deg); }
:dir(rtl) .language-menu ul { text-align: start; }

.footer { border-top: 1px solid var(--border); color: var(--muted); font-size: .88rem; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; min-height: 74px; }
.footer-inner > span { flex: 1 0 auto; color: var(--ink); font-weight: 750; }

@media (max-width: 740px) {
  .header-inner { min-height: 74px; }
  .hero { min-height: 0; margin-top: 6px; grid-template-columns: minmax(0, 1fr); }
  .hero-visual { grid-column: 1; padding: 24px 22px 42px; }
  .hero-art { max-width: 470px; }
  .hero-inner { grid-row: 2; padding: 15px 4px 25px; }
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section-heading { align-items: start; flex-direction: column; gap: 12px; }
  .filters { width: 100%; }
  .filters input { flex: 1; min-width: 125px; }
  .offer-layout { grid-template-columns: minmax(0, 1fr); gap: 18px; }
}
@media (max-width: 670px) {
  .category-nav { display: none; }
  nav { gap: 12px; padding: 0; }
  nav::before, nav::after, nav a::before { display: none; }
}
@media (max-width: 515px) {
  .wordmark-accent { display: none; }
}
@media (max-width: 410px) {
  .header-inner, nav { gap: 12px; }
  nav a { font-size: .72rem; letter-spacing: .035em; }
  .hero-inner { padding-inline: 4px; }
  .category { padding: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .product { transition: none; }
}
