/* ============================================
   APLTECH — Gaming PC Components
   Design tokens + shared components
   ============================================ */

:root {
  /* Palette */
  --bg:           #07050d;
  --bg-elev:      #0e0a1a;
  --surface:      #140d24;
  --surface-2:    #1c1331;
  --line:         #2a1f44;
  --line-soft:    #1f1735;

  --primary:      #6d3fc7;
  --primary-2:    #5832a8;
  --primary-soft: rgba(109, 63, 199, 0.08);
  --accent:       #c8bde0;
  --neon:         #c8bde0;

  --text:         #f3eeff;
  --text-2:       #c8bde0;
  --muted:        #8a7da8;
  --dim:          #5a4f74;

  --success:      #4ade80;
  --warn:         #fbbf24;
  --danger:       #f87171;

  /* Type */
  --f-sans: "Bricolage Grotesque", "Geist", ui-sans-serif, system-ui, sans-serif;
  --f-body: "Geist", ui-sans-serif, system-ui, sans-serif;
  --f-mono: "Geist Mono", "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Radius / shadow */
  --r-xs: 4px;
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;
  --glow: 0 0 0 1px rgba(121,72,212,.25), 0 6px 24px -10px rgba(121,72,212,.14);
  --glow-soft: 0 4px 18px -10px rgba(121,72,212,.10);

  /* Layout */
  --nav-h: 72px;
  --container: 1280px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 15px;
  line-height: 1.55;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  background: var(--bg);
  min-height: 100vh;
  overflow-x: hidden;
}

/* Texture overlay disabled — less visual noise */
body::before { content: none; }

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: 0; background: 0; color: inherit; }

h1,h2,h3,h4,h5 {
  font-family: var(--f-sans);
  font-weight: 600;
  letter-spacing: -0.015em;
  margin: 0;
  color: var(--text);
  font-variation-settings: "opsz" 48;
}

h1 {
  font-size: clamp(40px, 6vw, 88px);
  line-height: 1.0;
  letter-spacing: -0.03em;
  font-weight: 700;
  font-variation-settings: "opsz" 96;
}
h2 {
  font-size: clamp(28px, 3.4vw, 46px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 600;
  font-variation-settings: "opsz" 64;
}
h3 { font-size: 22px; line-height: 1.2; font-variation-settings: "opsz" 32; }
h4 { font-size: 17px; line-height: 1.3; font-variation-settings: "opsz" 24; letter-spacing: -0.01em; }

p { margin: 0; color: var(--text-2); }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
  z-index: 1;
}

/* ============================================
   NAV
   ============================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  background: rgba(7, 5, 13, 0.78);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--line-soft);
}
.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-sans);
  font-weight: 700;
  letter-spacing: 0.18em;
  font-size: 14px;
}
.brand-mark {
  width: 28px;
  height: 28px;
  position: relative;
  display: grid;
  place-items: center;
}
.brand-mark::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--primary);
  clip-path: polygon(50% 0, 100% 30%, 100% 70%, 50% 100%, 0 70%, 0 30%);
}
.brand-mark::after {
  content: "";
  position: absolute;
  inset: 6px;
  background: var(--bg);
  clip-path: polygon(50% 0, 100% 30%, 100% 70%, 50% 100%, 0 70%, 0 30%);
}
.brand-mark svg { position: relative; z-index: 1; }
.brand-name { color: var(--text); }
.brand-name span { color: var(--primary); }

.nav-links {
  display: flex;
  gap: 4px;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
}
.nav-links a {
  padding: 9px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
  border-radius: var(--r-sm);
  transition: color .15s, background .15s;
  letter-spacing: 0.01em;
}
.nav-links a:hover { color: var(--text); background: var(--primary-soft); }
.nav-links a.active {
  color: var(--text);
  background: var(--primary-soft);
  box-shadow: inset 0 0 0 1px var(--line);
}
.nav-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: var(--r-sm);
  color: var(--text-2);
  transition: background .15s, color .15s;
  position: relative;
}
.icon-btn:hover { background: var(--primary-soft); color: var(--text); }
.cart-count {
  position: absolute;
  top: 4px; right: 4px;
  min-width: 16px; height: 16px;
  background: var(--primary);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  border-radius: 8px;
  padding: 0 4px;
  display: grid; place-items: center;
  font-family: var(--f-mono);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  font-family: var(--f-sans);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: transform .12s, box-shadow .2s, background .15s, color .15s;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
}
.btn-primary:hover { background: var(--primary-2); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  box-shadow: inset 0 0 0 1px var(--line);
}
.btn-ghost:hover { background: var(--primary-soft); box-shadow: inset 0 0 0 1px var(--primary); }
.btn-sm { padding: 9px 14px; font-size: 11px; }
.btn-lg { padding: 16px 28px; font-size: 14px; }

/* Tag / chip */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--neon);
  background: var(--primary-soft);
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(168,85,247,.25);
}
.tag-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 8px var(--primary); }

/* Eyebrow */
.eyebrow {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--neon);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--primary);
}

/* ============================================
   CARDS
   ============================================ */
.card {
  background: linear-gradient(180deg, var(--surface), var(--bg-elev));
  border-radius: var(--r-lg);
  box-shadow: inset 0 0 0 1px var(--line-soft);
  padding: 24px;
  position: relative;
  transition: box-shadow .25s, transform .2s;
}
.card:hover { box-shadow: inset 0 0 0 1px var(--line), var(--glow-soft); }

/* Bevel-corner card — simplified to plain rounded for cleaner look */
.card-bevel { /* intentionally no clip-path — keeps cards simple */ }

/* Image placeholder */
.placeholder {
  background:
    repeating-linear-gradient(135deg, rgba(121,72,212,.04) 0 6px, transparent 6px 14px),
    var(--bg-elev);
  display: grid;
  place-items: center;
  color: var(--muted);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: var(--r-md);
  box-shadow: inset 0 0 0 1px var(--line-soft);
}

/* Section spacing */
section { padding: 88px 0; position: relative; z-index: 1; }
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.section-head p { color: var(--muted); max-width: 480px; }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  padding: 64px 0 32px;
  border-top: 1px solid var(--line-soft);
  margin-top: 64px;
  position: relative;
  z-index: 1;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer h5 {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
  font-weight: 500;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer ul a { font-size: 14px; color: var(--text-2); transition: color .15s; }
.footer ul a:hover { color: var(--primary); }
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.06em;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom .status-dot {
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 8px var(--success);
  margin-right: 6px;
  vertical-align: middle;
}

/* ============================================
   UTILITY
   ============================================ */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.flex { display: flex; }
.between { justify-content: space-between; }
.center { align-items: center; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.mono { font-family: var(--f-mono); }
.muted { color: var(--muted); }
.t-up { text-transform: uppercase; letter-spacing: 0.12em; }

/* Scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--surface-2); border-radius: 5px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: var(--line); }

/* Selection */
::selection { background: var(--primary); color: #fff; }

/* ============================================
   MARQUEE TOP BAR
   ============================================ */
.marquee {
  background: var(--primary);
  color: #fff;
  overflow: hidden;
  white-space: nowrap;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.marquee-track {
  display: inline-flex;
  gap: 40px;
  padding: 9px 0;
  animation: marquee-scroll 40s linear infinite;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
}
.marquee-item { display: inline-flex; align-items: center; gap: 40px; }
.marquee-dot { opacity: 0.55; }
@keyframes marquee-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================
   BRAND STRIP (logo carousel)
   ============================================ */
.brand-strip {
  background: var(--bg-elev);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  overflow: hidden;
  padding: 22px 0;
}
.brand-strip-track {
  display: inline-flex;
  gap: 64px;
  animation: marquee-scroll 50s linear infinite;
  white-space: nowrap;
}
.brand-strip-item {
  font-family: var(--f-sans);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: 0.04em;
  color: var(--muted);
  transition: color .2s;
  text-transform: uppercase;
}
.brand-strip-item:hover { color: var(--text); }
.brand-strip-dot { color: var(--primary); opacity: 0.55; font-size: 16px; }

/* ============================================
   SECTION NUMBER HEADER
   ============================================ */
.section-num {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--neon);
  margin-bottom: 12px;
}
.section-num-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px; height: 22px;
  padding: 0 8px;
  background: var(--primary-soft);
  color: var(--primary);
  border-radius: 4px;
  font-weight: 600;
  box-shadow: inset 0 0 0 1px rgba(121,72,212,.25);
}

/* ============================================
   DISCOUNT BADGE
   ============================================ */
.discount-badge {
  position: absolute;
  top: 12px; left: 12px;
  padding: 5px 9px;
  background: var(--primary);
  color: #fff;
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: 4px;
  z-index: 1;
}
.stock-badge {
  position: absolute;
  top: 12px; right: 12px;
  padding: 4px 9px;
  background: rgba(74,222,128,.16);
  color: var(--success);
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  z-index: 1;
}
.stock-badge::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 6px var(--success);
}
.price-old {
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--muted);
  text-decoration: line-through;
  margin-left: 8px;
}

/* ============================================
   NAV ADDITIONS
   ============================================ */
.nav-text-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
  padding: 8px 10px;
  transition: color .15s;
}
.nav-text-link:hover { color: var(--text); }

/* ============================================
   PRODUCT CARD
   ============================================ */
.product-card {
  background: var(--surface);
  border-radius: var(--r-md);
  box-shadow: inset 0 0 0 1px var(--line-soft);
  overflow: hidden;
  position: relative;
  transition: box-shadow .2s, transform .15s;
}
.product-card:hover {
  box-shadow: inset 0 0 0 1px var(--line);
  transform: translateY(-2px);
}
.product-img {
  height: 200px;
  background:
    repeating-linear-gradient(135deg, rgba(121,72,212,.04) 0 6px, transparent 6px 14px),
    var(--bg-elev);
  display: grid;
  place-items: center;
  border-bottom: 1px solid var(--line-soft);
  position: relative;
}
.product-brand {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--muted);
  text-transform: uppercase;
}

/* ============================================
   HERO SLIDER (centered)
   ============================================ */
.hero {
  padding: 64px 0 32px;
  position: relative;
  overflow: hidden;
  min-height: 620px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-glow {
  position: absolute;
  top: 50%; left: 50%;
  width: 1000px; height: 700px;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at center, rgba(121,72,212,.10), transparent 65%);
  filter: blur(10px);
  pointer-events: none;
  z-index: 0;
}
.hero-bg-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  animation: heroBgIn .9s ease-out both;
}
.hero-bg-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.10;
  filter: blur(2px) saturate(0.85);
  transform: scale(1.03);
}
.hero-bg-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(7,5,13,.4) 30%, rgba(7,5,13,.92) 80%),
    linear-gradient(180deg, var(--bg) 0%, transparent 25%, transparent 75%, var(--bg) 100%);
}
@keyframes heroBgIn {
  from { opacity: 0; transform: scale(1.04); }
  to   { opacity: 1; transform: none; }
}
.hero-stage {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 24px 0;
}
.hero-copy {
  max-width: 820px;
  margin: 0 auto;
  animation: heroFadeIn .55s ease-out both;
}
.hero-copy .eyebrow {
  margin-bottom: 6px;
}
.hero-title {
  margin-top: 22px;
  margin-bottom: 24px;
  text-wrap: balance;
}
.hero-title .hl { color: var(--primary); }
.hero-sub {
  font-size: 18px;
  color: var(--text-2);
  max-width: 620px;
  margin: 0 auto 32px;
  text-wrap: pretty;
}
.hero-ctas {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.hero-spotlight {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line-soft);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--text-2);
  margin-bottom: 36px;
  max-width: 100%;
}
.hero-spotlight-dot {
  color: var(--primary);
  opacity: 0.5;
  font-size: 8px;
}
.hero-spotlight-price {
  color: var(--primary);
  font-weight: 600;
  letter-spacing: 0.04em;
}
.hero-stats {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  justify-content: center;
}
.hero-stats > div { text-align: center; }

.hero-controls {
  position: relative;
  z-index: 1;
  margin-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.hero-dots {
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-dot {
  width: 32px;
  height: 4px;
  background: var(--line);
  border-radius: 2px;
  cursor: pointer;
  transition: background .2s, width .2s;
  border: 0;
  padding: 0;
}
.hero-dot.is-active {
  background: var(--primary);
  width: 56px;
}
.hero-counter {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--muted);
  margin-left: 8px;
}
.hero-arrows { display: flex; gap: 8px; }
.hero-arrow {
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line-soft);
}
.hero-arrow:hover {
  background: var(--surface-2);
  color: var(--text);
}

@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}

/* Hero responsive */
@media (max-width: 720px) {
  .hero { min-height: 520px; padding: 32px 0; }
  .hero-spotlight { font-size: 10px; gap: 10px; padding: 8px 14px; }
  .hero-stats { gap: 28px; }
}

/* ============================================
   STORE PAGE
   ============================================ */
.store-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;
  align-items: start;
}
.store-sidebar {
  position: sticky;
  top: 120px;
  display: grid;
  gap: 16px;
}
.sidebar-cat {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 6px;
  text-align: left;
  background: transparent;
  color: var(--text-2);
  cursor: pointer;
  transition: background .15s, color .15s;
}
.sidebar-cat svg { color: var(--muted); }
.sidebar-cat:hover { background: rgba(255,255,255,.02); }
.sidebar-cat.is-active {
  background: var(--surface-2);
  color: var(--text);
  box-shadow: inset 0 0 0 1px var(--line-soft);
}
.sidebar-cat.is-active svg { color: var(--text); }
.brand-chip {
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 10px;
  letter-spacing: 0.08em;
  background: transparent;
  color: var(--text-2);
  box-shadow: inset 0 0 0 1px var(--line);
  cursor: pointer;
  transition: all .15s;
  font-weight: 600;
}
.brand-chip:hover { color: var(--text); }
.brand-chip.is-active {
  background: var(--primary);
  color: #fff;
  box-shadow: none;
}
.store-search {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--bg);
  box-shadow: inset 0 0 0 1px var(--line-soft);
  min-width: 280px;
}
.store-search svg { color: var(--muted); }
.store-search input {
  flex: 1; background: transparent; border: 0; outline: 0;
  color: var(--text); font-size: 14px; font-family: var(--f-body);
}
.store-search button { color: var(--muted); cursor: pointer; background: transparent; }
.store-sort {
  padding: 8px 30px 8px 12px;
  border-radius: 6px;
  background: var(--surface);
  color: var(--text);
  border: 0;
  outline: 0;
  box-shadow: inset 0 0 0 1px var(--line-soft);
  font-family: var(--f-body);
  font-size: 13px;
  cursor: pointer;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--text-2) 50%), linear-gradient(135deg, var(--text-2) 50%, transparent 50%);
  background-position: calc(100% - 16px) 16px, calc(100% - 11px) 16px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

@media (max-width: 900px) {
  .store-grid { grid-template-columns: 1fr; }
  .store-sidebar { position: static; }
}

/* ============================================
   PRODUCT DETAIL
   ============================================ */
.product-hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: start;
}
.product-thumb {
  height: 72px;
  border-radius: 6px;
  overflow: hidden;
  background: var(--bg);
  box-shadow: inset 0 0 0 1px var(--line-soft);
  cursor: pointer;
  position: relative;
}
.product-thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-thumb.is-active { box-shadow: inset 0 0 0 1.5px var(--primary); }
.product-price-block {
  display: flex; align-items: baseline; gap: 14px;
  padding: 22px 24px;
  background: var(--bg);
  border-radius: 10px;
  margin-bottom: 24px;
  box-shadow: inset 0 0 0 1px var(--line-soft);
  flex-wrap: wrap;
}
.product-price {
  font-family: var(--f-sans);
  font-weight: 700;
  font-size: 38px;
  color: var(--text);
  letter-spacing: -0.025em;
}
.product-save {
  margin-left: auto;
  padding: 5px 10px;
  border-radius: 4px;
  background: var(--primary);
  color: #fff;
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 700;
}
.qty-box {
  display: inline-flex;
  align-items: center;
  border-radius: 6px;
  background: var(--bg);
  box-shadow: inset 0 0 0 1px var(--line-soft);
}
.qty-box .icon-btn { width: 42px; height: 100%; border-radius: 0; }
.qty-box span {
  min-width: 36px; text-align: center;
  font-family: var(--f-mono); font-size: 14px;
}
.trust-badge {
  display: flex; align-items: center; gap: 12px;
  padding: 12px;
  border-radius: 8px;
  background: var(--surface-2);
}
.trust-badge-icon {
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  display: grid; place-items: center;
  box-shadow: inset 0 0 0 1px var(--line-soft);
}
.product-tab {
  padding: 14px 18px;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  cursor: pointer;
  background: transparent;
  text-transform: uppercase;
}
.product-tab.is-active {
  color: var(--text);
  border-bottom-color: var(--primary);
}

@media (max-width: 800px) {
  .product-hero { grid-template-columns: 1fr; }
}

/* ============================================
   CART
   ============================================ */
.cart-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 28px;
  align-items: start;
}
.cart-row {
  padding: 18px;
  display: grid;
  grid-template-columns: 84px 1fr auto;
  gap: 18px;
  align-items: center;
}
.cart-row-thumb {
  width: 84px;
  height: 84px;
  border-radius: 8px;
  background: var(--surface-2);
  color: var(--text-2);
  display: grid;
  place-items: center;
  box-shadow: inset 0 0 0 1px var(--line-soft);
}
.cart-remove {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.12em;
  cursor: pointer;
  background: transparent;
}
.cart-remove:hover { color: var(--text); }
.cart-foot-link {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.14em;
  background: transparent;
  cursor: pointer;
}
.cart-foot-link:hover { color: var(--text); }

@media (max-width: 800px) {
  .cart-grid { grid-template-columns: 1fr; }
}

/* ============================================
   CHECKOUT
   ============================================ */
.checkout-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 28px;
  align-items: start;
}
.checkout-input, .checkout-select {
  width: 100%;
  padding: 13px 14px;
  border-radius: 8px;
  background: var(--bg);
  color: var(--text);
  border: 0;
  outline: 0;
  box-shadow: inset 0 0 0 1px var(--line-soft);
  font-family: var(--f-body);
  font-size: 14px;
  transition: box-shadow .15s;
}
.checkout-input.is-mono { font-family: var(--f-mono); letter-spacing: 0.04em; }
.checkout-input:focus, .checkout-select:focus { box-shadow: inset 0 0 0 1.5px var(--primary); }
.checkout-select {
  appearance: none;
  padding-right: 36px;
  background-image: linear-gradient(45deg, transparent 50%, var(--text-2) 50%), linear-gradient(135deg, var(--text-2) 50%, transparent 50%);
  background-position: calc(100% - 18px) 18px, calc(100% - 13px) 18px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}
.pay-method {
  display: grid;
  grid-template-columns: 44px 1fr 22px;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border-radius: 10px;
  text-align: left;
  cursor: pointer;
  background: var(--bg);
  box-shadow: inset 0 0 0 1px var(--line-soft);
  transition: box-shadow .15s;
}
.pay-method.is-active { box-shadow: inset 0 0 0 1.5px var(--primary); }
.pay-method-icon {
  width: 44px; height: 44px; border-radius: 8px;
  background: var(--surface-2);
  color: var(--text);
  display: grid; place-items: center;
  box-shadow: inset 0 0 0 1px var(--line-soft);
}
.pay-method-radio {
  width: 20px; height: 20px; border-radius: 50%;
  background: transparent;
  box-shadow: inset 0 0 0 1.5px var(--line);
  transition: all .15s;
}
.pay-method.is-active .pay-method-radio {
  background: var(--primary);
  box-shadow: inset 0 0 0 5px var(--bg);
}

@media (max-width: 800px) {
  .checkout-grid { grid-template-columns: 1fr; }
}

/* ============================================
   PC BUILDER
   ============================================ */
.builder-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 24px;
  align-items: start;
}
.purpose-toggle {
  display: flex;
  gap: 6px;
  padding: 4px;
  background: var(--bg);
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px var(--line-soft);
}
.purpose-toggle button {
  flex: 1;
  padding: 9px 14px;
  border-radius: 5px;
  font-size: 11px;
  letter-spacing: 0.12em;
  background: transparent;
  color: var(--text-2);
  cursor: pointer;
  font-weight: 600;
}
.purpose-toggle button.is-active {
  background: var(--primary);
  color: #fff;
}
.slot-row {
  display: grid;
  grid-template-columns: 44px 70px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 16px 24px;
  border-bottom: 1px solid var(--line-soft);
}
.slot-row:last-child { border-bottom: 0; }
.slot-thumb {
  width: 70px;
  height: 60px;
  border-radius: 6px;
  overflow: hidden;
  background: var(--surface-2);
  box-shadow: inset 0 0 0 1px var(--line-soft);
  display: grid;
  place-items: center;
  color: var(--text-2);
}
.slot-thumb img { width: 100%; height: 100%; object-fit: cover; }
.slot-change {
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 10px;
  letter-spacing: 0.12em;
  background: var(--surface-2);
  color: var(--text-2);
  box-shadow: inset 0 0 0 1px var(--line-soft);
  cursor: pointer;
  font-weight: 600;
}
.slot-change:hover { color: var(--text); }

/* Picker modal */
.picker-overlay {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(7,5,13,.82);
  backdrop-filter: blur(8px);
  display: grid; place-items: center;
  padding: 24px;
  animation: pickerFadeIn .18s ease-out;
}
.picker-modal {
  width: 100%;
  max-width: 720px;
  max-height: 85vh;
  background: var(--surface);
  border-radius: var(--r-lg);
  box-shadow: 0 24px 80px -20px rgba(0,0,0,.8), inset 0 0 0 1px var(--line);
  display: flex; flex-direction: column;
  overflow: hidden;
  animation: pickerSlideIn .22s ease-out;
}
.picker-head {
  padding: 22px 28px;
  border-bottom: 1px solid var(--line-soft);
  display: flex; justify-content: space-between; align-items: center;
}
.picker-body {
  padding: 16px 20px 20px;
  overflow-y: auto;
  display: grid; gap: 8px;
}
.picker-row {
  display: flex; align-items: center; gap: 14px;
  padding: 12px;
  background: var(--bg);
  border-radius: 10px;
  cursor: pointer;
  transition: box-shadow .15s, transform .12s;
  width: 100%;
  text-align: left;
}
.picker-row:hover { transform: translateY(-1px); }
@keyframes pickerFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes pickerSlideIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

@media (max-width: 900px) {
  .builder-grid { grid-template-columns: 1fr; }
}

/* ============================================
   CATEGORY CARDS (home)
   ============================================ */
.cat-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px;
  background: linear-gradient(180deg, var(--surface), var(--bg-elev));
  border-radius: var(--r-lg);
  box-shadow: inset 0 0 0 1px var(--line-soft);
  text-decoration: none;
  position: relative;
  transition: box-shadow .2s, transform .15s;
}
.cat-card:hover {
  box-shadow: inset 0 0 0 1px var(--line);
  transform: translateY(-2px);
}
.cat-card:hover .cat-arrow { color: var(--primary); transform: translateX(2px); }
.cat-icon {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  background: var(--surface-2);
  color: var(--text-2);
  display: grid;
  place-items: center;
  box-shadow: inset 0 0 0 1px var(--line-soft);
}
.cat-icon-img {
  overflow: hidden;
  padding: 0;
  position: relative;
}
.cat-icon-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease, filter .3s ease;
}
.cat-icon-img::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 1px rgba(121,72,212,0);
  border-radius: 10px;
  transition: box-shadow .2s;
}
.cat-card:hover .cat-icon-img img { transform: scale(1.08); filter: brightness(1.1) saturate(1.1); }
.cat-card:hover .cat-icon-img::after { box-shadow: inset 0 0 0 1px rgba(121,72,212,.35); }
.cat-card:hover .cat-icon { color: var(--primary); }
.cat-arrow {
  color: var(--muted);
  transition: color .15s, transform .15s;
}

/* ============================================
   PILLAR CARDS (why choose)
   ============================================ */
.pillar-card {
  position: relative;
  background: linear-gradient(180deg, var(--surface), var(--bg-elev));
  border-radius: var(--r-lg);
  box-shadow: inset 0 0 0 1px var(--line-soft);
  padding: 28px;
}
.pillar-num {
  position: absolute;
  top: 22px;
  right: 24px;
  font-family: var(--f-mono);
  font-size: 48px;
  font-weight: 700;
  color: rgba(121,72,212,.10);
  letter-spacing: -0.04em;
  line-height: 1;
}
.pillar-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--surface-2);
  color: var(--text);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  box-shadow: inset 0 0 0 1px var(--line-soft);
}
.pillar-card:hover .pillar-icon { color: var(--primary); }

/* ============================================
   PRODUCT CARD (refined)
   ============================================ */
.product-card {
  background: var(--surface);
  border-radius: var(--r-md);
  box-shadow: inset 0 0 0 1px var(--line-soft);
  overflow: hidden;
  position: relative;
  transition: box-shadow .2s, transform .15s;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  box-shadow: inset 0 0 0 1px var(--line);
  transform: translateY(-2px);
}
.product-img {
  height: 200px;
  background:
    repeating-linear-gradient(135deg, rgba(121,72,212,.03) 0 6px, transparent 6px 14px),
    var(--bg-elev);
  display: grid;
  place-items: center;
  border-bottom: 1px solid var(--line-soft);
  position: relative;
  overflow: hidden;
}
.product-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: transform .4s ease, filter .3s ease;
}
.product-card:hover .product-img img { transform: scale(1.04); filter: brightness(1.05); }
.product-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7,5,13,.0) 40%, rgba(7,5,13,.55) 100%);
  z-index: 1;
  pointer-events: none;
}
.product-model {
  position: absolute;
  bottom: 12px;
  left: 14px;
  font-family: var(--f-mono);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,.92);
  text-transform: uppercase;
  z-index: 2;
  padding: 4px 8px;
  background: rgba(7,5,13,.55);
  backdrop-filter: blur(4px);
  border-radius: 4px;
  max-width: calc(100% - 28px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.product-icon { display: none; }
.product-brand {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--muted);
  text-transform: uppercase;
}

/* ============================================
   BUILDER CTA + REVIEWS + MISC
   ============================================ */
.builder-cta {
  padding: 56px;
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 32px;
  align-items: center;
  background: linear-gradient(135deg, #150b25 0%, #0a0617 70%);
  border-radius: var(--r-lg);
  box-shadow: inset 0 0 0 1px var(--line-soft);
  position: relative;
  overflow: hidden;
}
.builder-cta-bg {
  position: absolute; inset: 0;
  background: radial-gradient(circle at 85% 50%, rgba(121,72,212,.14), transparent 60%);
  pointer-events: none;
}

.review-card {
  display: flex;
  flex-direction: column;
  padding: 22px;
}
.review-product {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--neon);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
  text-decoration: none;
}
.review-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
}
.review-avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--text-2);
  display: grid; place-items: center;
  font-family: var(--f-sans);
  font-weight: 700;
  font-size: 11px;
  box-shadow: inset 0 0 0 1px var(--line-soft);
}

.view-all {
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

/* Eyebrow — neutral accent line */
.eyebrow { color: var(--text-2); }
.eyebrow::before {
  background: var(--line);
  opacity: 1;
}

/* Section number tag — neutral, not purple */
.section-num { color: var(--text-2); }
.section-num-tag {
  background: var(--surface-2);
  color: var(--text);
  box-shadow: inset 0 0 0 1px var(--line);
}

/* View-all link — muted, not purple */
.view-all { color: var(--text-2); }
.view-all:hover { color: var(--text); }

/* Tag chips — neutral by default */
.tag {
  color: var(--text-2);
  background: var(--surface-2);
  box-shadow: inset 0 0 0 1px var(--line);
}
.tag-dot { background: var(--text-2); box-shadow: none; }

/* Hero glow much fainter, almost grey */
.hero-glow {
  background: radial-gradient(ellipse at center, rgba(109,63,199,.04), transparent 70%);
}
.hero-bg-image img { opacity: 0.06; filter: blur(2px) saturate(0.5); }

/* Old grid responsive cleanup (centered hero handles its own breakpoints) */
@media (max-width: 960px) {
  .builder-cta { grid-template-columns: 1fr; padding: 40px 28px; }
}

/* Responsive */
@media (max-width: 960px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  section { padding: 56px 0; }
}
@media (max-width: 600px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .container { padding: 0 20px; }
}
