/* =================================================================
   STALTECH — Car Parts Store Template (Bilingual UA/EN)
   Style: Industrial brutalist · dark concrete · red accents
   ================================================================= */

:root {
  --bg: #1a1a1a;
  --bg-concrete: #1f1f1f;
  --bg-dark: #111111;
  --bg-panel: #252525;
  --bg-elevated: #2a2a2a;
  --concrete-1: #2d2d2d;
  --concrete-2: #383838;
  --concrete-3: #444444;
  --red: #e63946;
  --red-bright: #ff2d3f;
  --red-deep: #b8232f;
  --red-glow: rgba(255, 45, 63, 0.4);
  --yellow: #ffd60a;
  --yellow-deep: #d4a800;
  --orange: #ff6b1a;
  --steel: #6c757d;
  --steel-light: #adb5bd;
  --steel-deep: #495057;
  --carbon: #1a1a1a;
  --carbon-light: #2d2d2d;
  --text: #f8f9fa;
  --text-soft: #ced4da;
  --text-muted: #868e96;
  --text-faint: #495057;
  --line: #343a40;
  --line-bright: #495057;
  --line-red: rgba(230, 57, 70, 0.3);
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
  --shadow-deep: 0 12px 32px rgba(0, 0, 0, 0.8);
  --shadow-red: 0 0 30px rgba(230, 57, 70, 0.3);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  line-height: 1.5;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* ============ CONCRETE BACKGROUND ============ */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse at 20% 10%, rgba(230, 57, 70, 0.08) 0%, transparent 40%),
    radial-gradient(ellipse at 80% 90%, rgba(108, 117, 125, 0.15) 0%, transparent 50%),
    var(--bg);
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.4;
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='4' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.16 0 0 0 0 0.16 0 0 0 0 0.16 0 0 0 0.6 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  mix-blend-mode: overlay;
}

/* Carbon fiber texture utility */
.carbon-texture {
  background:
    linear-gradient(135deg, var(--carbon) 25%, transparent 25%),
    linear-gradient(225deg, var(--carbon) 25%, transparent 25%),
    linear-gradient(45deg, var(--carbon) 25%, transparent 25%),
    linear-gradient(315deg, var(--carbon) 25%, transparent 25%),
    var(--carbon-light);
  background-size: 8px 8px;
  background-position: 4px 0, 4px 0, 0 0, 0 0;
}

/* ============ WARNING STRIP ============ */
.warning-strip {
  background:
    repeating-linear-gradient(
      45deg,
      var(--yellow) 0,
      var(--yellow) 20px,
      var(--bg-dark) 20px,
      var(--bg-dark) 40px
    );
  height: 6px;
  width: 100%;
}

/* ============ TOP STRIP ============ */
.top-strip {
  background: var(--bg-dark);
  color: var(--text-muted);
  padding: 8px 0;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 1px;
  border-bottom: 1px solid var(--line);
}

.top-strip-inner {
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.top-strip-left { display: flex; gap: 24px; }
.top-strip-right { display: flex; gap: 20px; }

.top-strip span { display: inline-flex; align-items: center; gap: 6px; }
.top-strip .icon { color: var(--red); font-size: 12px; }

/* ============ HEADER ============ */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-concrete);
  border-bottom: 2px solid var(--red);
  padding: 16px 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.header-inner {
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 32px;
  align-items: center;
}

.logo {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 28px;
  letter-spacing: 2px;
  color: var(--text);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
}

.logo-mark {
  width: 36px;
  height: 36px;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 20px;
  clip-path: polygon(20% 0, 100% 0, 80% 100%, 0 100%);
}

.logo .accent { color: var(--red); }

/* Search */
.search-wrap {
  display: flex;
  background: var(--bg-dark);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: all 0.3s ease;
  max-width: 540px;
  margin: 0 auto;
  width: 100%;
}

.search-wrap:focus-within {
  border-color: var(--red);
  box-shadow: var(--shadow-red);
}

.search-wrap input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 12px 18px;
  color: var(--text);
  font-family: 'JetBrains Mono', monospace;
  font-weight: 500;
  font-size: 13px;
  outline: none;
}

.search-wrap input::placeholder { color: var(--text-faint); }

.search-btn {
  background: var(--red);
  color: var(--text);
  border: none;
  padding: 0 24px;
  cursor: pointer;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: background 0.2s ease;
}

.search-btn:hover { background: var(--red-bright); }

.header-right { display: flex; gap: 10px; align-items: center; }

/* Language switcher */
.lang-toggle {
  display: flex;
  background: var(--bg-dark);
  border: 1px solid var(--line);
  overflow: hidden;
}

.lang-btn {
  background: transparent;
  border: none;
  padding: 8px 14px;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 12px;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
  letter-spacing: 1.5px;
}

.lang-btn.active {
  background: var(--red);
  color: var(--text);
}

.lang-btn:not(.active):hover { color: var(--red); }

.icon-btn {
  width: 42px;
  height: 42px;
  background: var(--bg-dark);
  border: 1px solid var(--line);
  color: var(--text-soft);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.2s ease;
  position: relative;
}

.icon-btn:hover {
  background: var(--red);
  color: var(--text);
  border-color: var(--red);
}

.icon-btn .count {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--red);
  color: var(--text);
  width: 18px;
  height: 18px;
  border-radius: 0;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Oswald', sans-serif;
  border: 1px solid var(--bg-concrete);
}

/* ============ NAVIGATION ============ */
.nav-bar {
  background: var(--bg-dark);
  border-bottom: 1px solid var(--line);
  padding: 0;
}

.nav-inner {
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  justify-content: center;
  gap: 4px;
  overflow-x: auto;
}

.nav-inner a {
  font-family: 'Oswald', sans-serif;
  color: var(--text-soft);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 16px 20px;
  position: relative;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.nav-inner a:hover, .nav-inner a.active {
  color: var(--text);
  background: var(--bg-panel);
}

.nav-inner a.active {
  color: var(--red);
}

.nav-inner a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--red);
  box-shadow: 0 0 8px var(--red-glow);
}

.nav-inner a .en {
  color: var(--text-faint);
  font-size: 10px;
  margin-left: 4px;
  font-family: 'JetBrains Mono', monospace;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
}

/* ============ HERO ============ */
.hero {
  max-width: 1480px;
  margin: 40px auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
}

.hero-content { position: relative; z-index: 2; }

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-dark);
  border: 1px solid var(--red);
  color: var(--red);
  padding: 6px 14px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-tag .dot {
  width: 8px;
  height: 8px;
  background: var(--red);
  border-radius: 50%;
  animation: pulse-red 1.5s ease-in-out infinite;
}

@keyframes pulse-red {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero-title {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 84px;
  line-height: 0.9;
  letter-spacing: -1px;
  color: var(--text);
  margin-bottom: 20px;
  text-transform: uppercase;
}

.hero-title .accent {
  color: var(--red);
  text-shadow: 0 0 20px var(--red-glow);
}

.hero-title .en {
  display: block;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 20px;
  color: var(--text-muted);
  margin-top: 16px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.hero-desc {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-soft);
  margin-bottom: 32px;
  max-width: 500px;
}

.hero-desc .en {
  display: block;
  color: var(--text-muted);
  font-size: 13px;
  margin-top: 8px;
  font-style: italic;
}

.hero-cta { display: flex; gap: 12px; margin-bottom: 36px; }

.btn {
  font-family: 'Oswald', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 16px 30px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

.btn-primary {
  background: var(--red);
  color: var(--text);
  box-shadow: 0 4px 0 var(--red-deep);
}

.btn-primary:hover {
  background: var(--red-bright);
  transform: translateY(-2px);
  box-shadow: 0 6px 0 var(--red-deep);
}

.btn-ghost {
  background: var(--bg-panel);
  color: var(--text);
  border: 1px solid var(--line-bright);
}

.btn-ghost:hover {
  background: var(--bg-elevated);
  border-color: var(--red);
  color: var(--red);
}

.hero-stats {
  display: flex;
  gap: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.stat .value {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 32px;
  color: var(--red);
  line-height: 1;
  text-shadow: 0 0 10px var(--red-glow);
}

.stat .label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-top: 4px;
}

/* ============ HERO VISUAL ============ */
.hero-visual {
  position: relative;
  aspect-ratio: 4/5;
  background: var(--bg-dark);
  border: 1px solid var(--line);
  overflow: hidden;
}

.hero-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(230, 57, 70, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(230, 57, 70, 0.1) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 2;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.2) saturate(0.8) brightness(0.85);
}

.tech-label {
  position: absolute;
  background: var(--bg-dark);
  border: 1px solid var(--red);
  padding: 6px 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--red);
  letter-spacing: 1px;
  text-transform: uppercase;
  z-index: 3;
}

.tech-label.t1 { top: 20px; left: 20px; }
.tech-label.t2 { bottom: 20px; right: 20px; }
.tech-label.t3 { top: 50%; left: 20px; background: var(--red); color: var(--text); }

.corner-bracket {
  position: absolute;
  width: 24px;
  height: 24px;
  border: 2px solid var(--red);
  z-index: 3;
}

.corner-bracket.tl { top: 8px; left: 8px; border-right: 0; border-bottom: 0; }
.corner-bracket.tr { top: 8px; right: 8px; border-left: 0; border-bottom: 0; }
.corner-bracket.bl { bottom: 8px; left: 8px; border-right: 0; border-top: 0; }
.corner-bracket.br { bottom: 8px; right: 8px; border-left: 0; border-top: 0; }

/* ============ SECTION HEAD ============ */
.section-head {
  max-width: 1480px;
  margin: 80px auto 40px;
  padding: 0 32px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.section-head .left { display: flex; align-items: baseline; gap: 20px; }

.section-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: var(--red);
  letter-spacing: 2px;
}

.section-title {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 48px;
  letter-spacing: 1px;
  color: var(--text);
  text-transform: uppercase;
  line-height: 0.95;
}

.section-title .accent {
  color: var(--red);
  text-shadow: 0 0 12px var(--red-glow);
}

.section-meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 1.5px;
}

.section-meta .blink { color: var(--red); animation: blink 1s steps(2) infinite; }

@keyframes blink {
  0%, 50% { opacity: 1; }
  50.01%, 100% { opacity: 0; }
}

/* ============ CATEGORY GRID ============ */
.categories {
  max-width: 1480px;
  margin: 0 auto 60px;
  padding: 0 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.cat-tile {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  padding: 28px 20px;
  text-align: center;
  text-decoration: none;
  color: var(--text);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.cat-tile::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--red);
  transition: width 0.3s ease;
}

.cat-tile:hover {
  background: var(--bg-elevated);
  border-color: var(--red);
  transform: translateY(-4px);
}

.cat-tile:hover::before { width: 100%; }

.cat-icon {
  font-family: 'Oswald', sans-serif;
  font-size: 32px;
  color: var(--red);
  margin-bottom: 12px;
  line-height: 1;
}

.cat-name {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: var(--text);
  margin-bottom: 4px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.cat-en {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--text-muted);
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.cat-count {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--red);
  letter-spacing: 1px;
}

/* ============ PRODUCT GRID ============ */
.products {
  max-width: 1480px;
  margin: 0 auto 60px;
  padding: 0 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.product {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.product:hover {
  border-color: var(--red);
  transform: translateY(-6px);
  box-shadow: var(--shadow-deep), 0 0 20px var(--red-glow);
}

.product-badge {
  position: absolute;
  top: 0;
  left: 0;
  background: var(--red);
  color: var(--text);
  padding: 5px 12px;
  font-family: 'Oswald', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  z-index: 2;
}

.product-badge.new { background: var(--text); color: var(--bg-dark); }
.product-badge.hot { background: var(--red); color: var(--text); }
.product-badge.sale { background: var(--yellow); color: var(--bg-dark); }

.product-sku {
  position: absolute;
  top: 8px;
  right: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  color: var(--text-faint);
  letter-spacing: 1px;
  z-index: 2;
}

.product-image-wrap {
  aspect-ratio: 1/1;
  background: var(--bg-dark);
  overflow: hidden;
  position: relative;
  border-bottom: 1px solid var(--line);
}

.product-image-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(108, 117, 125, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(108, 117, 125, 0.08) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
  z-index: 1;
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  filter: contrast(1.1) saturate(0.9);
  position: relative;
  z-index: 2;
}

.product:hover .product-image { transform: scale(1.08); }

.product-info { padding: 18px; }

.product-cat {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--red);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.product-name {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: var(--text);
  margin-bottom: 4px;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.product-name-en {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.product-specs {
  background: var(--bg-dark);
  border: 1px solid var(--line);
  padding: 10px;
  margin-bottom: 14px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  padding: 2px 0;
  color: var(--text-muted);
}

.spec-row .v { color: var(--text); font-weight: 500; }
.spec-row .v.red { color: var(--red); }

.product-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.price-block { display: flex; flex-direction: column; }

.price-old {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--text-faint);
  text-decoration: line-through;
}

.price-new {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: var(--text);
  line-height: 1;
}

.price-new .cur {
  font-size: 13px;
  color: var(--text-muted);
  margin-right: 2px;
}

.add-btn {
  background: var(--red);
  color: var(--text);
  border: none;
  width: 40px;
  height: 40px;
  cursor: pointer;
  font-size: 20px;
  font-weight: 700;
  font-family: 'Oswald', sans-serif;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  clip-path: polygon(5px 0, 100% 0, 100% calc(100% - 5px), calc(100% - 5px) 100%, 0 100%, 0 5px);
}

.add-btn:hover {
  background: var(--text);
  color: var(--bg-dark);
}

/* ============ BRANDS MARQUEE ============ */
.brands {
  background: var(--bg-dark);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
  margin: 60px 0;
  overflow: hidden;
  position: relative;
}

.brands::before, .brands::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}

.brands::before { left: 0; background: linear-gradient(90deg, var(--bg-dark), transparent); }
.brands::after { right: 0; background: linear-gradient(270deg, var(--bg-dark), transparent); }

.brands-track {
  display: flex;
  gap: 60px;
  white-space: nowrap;
  animation: scroll 40s linear infinite;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 24px;
  letter-spacing: 4px;
  color: var(--text-faint);
  text-transform: uppercase;
}

.brands-track span { display: inline-flex; align-items: center; gap: 60px; }
.brands-track .accent { color: var(--red); }
.brands-track .sep { color: var(--text-faint); font-size: 16px; }

@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============ TECH BANNER ============ */
.tech-banner {
  max-width: 1480px;
  margin: 80px auto;
  padding: 0 32px;
}

.tech-frame {
  background: var(--bg-dark);
  border: 1px solid var(--red);
  padding: 0;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 0;
  position: relative;
  overflow: hidden;
}

.tech-frame::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background:
    repeating-linear-gradient(
      90deg,
      var(--red) 0,
      var(--red) 20px,
      var(--bg-dark) 20px,
      var(--bg-dark) 40px
    );
}

.tech-content {
  padding: 48px;
  position: relative;
  z-index: 1;
}

.tech-tag {
  display: inline-flex;
  background: var(--red);
  color: var(--text);
  padding: 6px 14px;
  font-family: 'Oswald', sans-serif;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.tech-title {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 48px;
  line-height: 0.95;
  color: var(--text);
  margin-bottom: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.tech-title .accent { color: var(--red); }

.tech-en {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 20px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.tech-desc {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 440px;
}

.tech-desc .en {
  display: block;
  color: var(--text-muted);
  font-size: 12px;
  margin-top: 6px;
  font-style: italic;
}

.tech-visual {
  background: var(--bg-concrete);
  position: relative;
  overflow: hidden;
  min-height: 320px;
  border-left: 1px solid var(--line);
}

.tech-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(230, 57, 70, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(230, 57, 70, 0.06) 1px, transparent 1px);
  background-size: 20px 20px;
}

.tech-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.2) saturate(0.7) brightness(0.9);
}

/* ============ FEATURES ============ */
.features {
  max-width: 1480px;
  margin: 80px auto;
  padding: 0 32px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.feature-card {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  padding: 28px 20px;
  transition: all 0.3s ease;
  position: relative;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--red);
}

.feature-card:hover {
  border-color: var(--red);
  background: var(--bg-elevated);
}

.feature-icon {
  font-family: 'Oswald', sans-serif;
  font-size: 28px;
  color: var(--red);
  margin-bottom: 14px;
  line-height: 1;
}

.feature-title {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: var(--text);
  margin-bottom: 4px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.feature-en {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.feature-desc {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: var(--text-soft);
  line-height: 1.6;
  font-weight: 400;
}

/* ============ NEWSLETTER ============ */
.newsletter {
  max-width: 1480px;
  margin: 80px auto;
  padding: 0 32px;
}

.newsletter-frame {
  background: var(--bg-dark);
  border: 1px solid var(--red);
  padding: 56px 48px;
  position: relative;
  overflow: hidden;
}

.newsletter-frame::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background:
    repeating-linear-gradient(
      45deg,
      var(--yellow) 0,
      var(--yellow) 20px,
      var(--bg-dark) 20px,
      var(--bg-dark) 40px
    );
}

.newsletter-frame::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 6px;
  background:
    repeating-linear-gradient(
      45deg,
      var(--yellow) 0,
      var(--yellow) 20px,
      var(--bg-dark) 20px,
      var(--bg-dark) 40px
    );
}

.newsletter-content { position: relative; z-index: 1; max-width: 580px; margin: 0 auto; text-align: center; }

.newsletter-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--red);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.newsletter h3 {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 40px;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.newsletter h3 .accent { color: var(--red); }

.newsletter .h3-en {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 16px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.newsletter p {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: var(--text-soft);
  margin-bottom: 28px;
  line-height: 1.7;
}

.newsletter-form {
  display: flex;
  max-width: 480px;
  margin: 0 auto;
  background: var(--bg);
  border: 1px solid var(--line);
}

.newsletter-form input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 14px 20px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: var(--text);
  outline: none;
}

.newsletter-form input::placeholder { color: var(--text-faint); }

.newsletter-form button {
  background: var(--red);
  color: var(--text);
  border: none;
  padding: 14px 24px;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease;
}

.newsletter-form button:hover { background: var(--red-bright); }

/* ============ FOOTER ============ */
footer {
  background: var(--bg-dark);
  border-top: 2px solid var(--red);
  padding: 60px 0 28px;
  margin-top: 60px;
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background:
    repeating-linear-gradient(
      45deg,
      var(--yellow) 0,
      var(--yellow) 20px,
      var(--bg-dark) 20px,
      var(--bg-dark) 40px
    );
}

.footer-inner {
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 32px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}

.footer-brand .logo { margin-bottom: 16px; }

.footer-brand p {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.7;
  max-width: 320px;
  margin-bottom: 6px;
}

.footer-brand p.en {
  color: var(--text-muted);
  font-size: 11px;
  font-style: italic;
}

.footer-col h4 {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: var(--red);
  margin-bottom: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }

.footer-col a {
  color: var(--text-soft);
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  transition: color 0.2s ease;
  font-weight: 400;
}

.footer-col a:hover { color: var(--red); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 1px;
}

.footer-socials { display: flex; gap: 8px; }

.footer-socials a {
  width: 36px;
  height: 36px;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  color: var(--text-soft);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: all 0.2s ease;
}

.footer-socials a:hover {
  background: var(--red);
  color: var(--text);
  border-color: var(--red);
}

/* ============ ANIMATIONS ============ */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-content > * { animation: fadeIn 0.6s ease backwards; }
.hero-content > *:nth-child(1) { animation-delay: 0.1s; }
.hero-content > *:nth-child(2) { animation-delay: 0.2s; }
.hero-content > *:nth-child(3) { animation-delay: 0.3s; }
.hero-content > *:nth-child(4) { animation-delay: 0.4s; }
.hero-content > *:nth-child(5) { animation-delay: 0.5s; }
.hero-content > *:nth-child(6) { animation-delay: 0.6s; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; gap: 40px; }
  .hero-title { font-size: 60px; }
  .categories { grid-template-columns: repeat(2, 1fr); }
  .products { grid-template-columns: repeat(2, 1fr); }
  .tech-frame { grid-template-columns: 1fr; }
  .tech-visual { min-height: 240px; border-left: 0; border-top: 1px solid var(--line); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .top-strip-inner { flex-direction: column; gap: 8px; text-align: center; }
  .header-inner { grid-template-columns: auto auto; gap: 12px; padding: 0 20px; }
  .search-wrap { display: none; }
  .logo { font-size: 22px; }
  .nav-inner { gap: 0; padding: 0 20px; }
  .nav-inner a { font-size: 11px; padding: 14px 12px; letter-spacing: 1px; }
  .hero { padding: 0 20px; margin: 24px auto; }
  .hero-title { font-size: 44px; }
  .hero-cta { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
  .hero-stats { flex-wrap: wrap; gap: 16px; }
  .section-head { padding: 0 20px; }
  .section-title { font-size: 32px; }
  .categories, .products, .features, .newsletter, .tech-banner { padding: 0 20px; }
  .categories { grid-template-columns: 1fr; }
  .products { grid-template-columns: 1fr; }
  .tech-content { padding: 32px 24px; }
  .tech-title { font-size: 32px; }
  .features-grid { grid-template-columns: 1fr; }
  .newsletter-frame { padding: 40px 24px; }
  .newsletter h3 { font-size: 28px; }
  .newsletter-form { flex-direction: column; }
  .footer-inner { padding: 0 20px; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
