:root {
  /* Кольори — на базі andreichuk.dev */
  --ink:         #08080a;   /* глибокий чорний фон */
  --bg:          #0c0c0e;   /* основний фон */
  --bg-soft:     #121215;   /* підняті панелі */
  --panel:       #17171b;   /* картки проєктів */
  --panel-hover: #1c1c22;
  --line:        rgba(255, 255, 255, .08);
  --line-strong: rgba(255, 255, 255, .16);
  --text:        #f4f4f5;
  --muted:       #a1a1aa;
  --dim:         #71717a;
  
  --accent:      #2dd4bf;   /* фірмовий бірюзовий */
  --accent-glow: rgba(45, 212, 191, 0.15);
  --accent-ink:  #04211d;
  --accent-2:    #38bdf8;
  
  --violet:      #a78bfa;
  --amber:       #fbbf24;
  --sky:         #38bdf8;
  --emerald:     #34d399;
  
  /* Форми та розміри */
  --r-lg: 18px;
  --r:    14px;
  --r-sm: 9px;
  --r-xs: 6px;
  
  /* Шрифти */
  --font-ui:      'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Space Grotesk', var(--font-ui);
  --font-mono:    'JetBrains Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;
  
  --transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-ui);
  background-color: var(--ink);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 8, 10, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
}

.brand-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--accent-glow);
  border: 1px solid rgba(45, 212, 191, 0.3);
  border-radius: var(--r-sm);
  font-size: 0.95rem;
}

.brand-badge {
  font-size: 0.75rem;
  font-family: var(--font-mono);
  font-weight: 500;
  color: var(--accent);
  background: rgba(45, 212, 191, 0.1);
  border: 1px solid rgba(45, 212, 191, 0.2);
  padding: 2px 8px;
  border-radius: 999px;
  margin-left: 6px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-links a:not(.btn) {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: var(--transition);
}

.nav-links a:not(.btn):hover {
  color: var(--text);
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--r-sm);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
}

.btn-sm {
  padding: 6px 14px;
  font-size: 0.82rem;
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
}

.btn-primary:hover {
  background: #34e0cb;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px var(--accent-glow);
}

/* HERO */
.hero {
  padding: 64px 0 36px;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(45, 212, 191, 0.08);
  border: 1px solid rgba(45, 212, 191, 0.25);
  border-radius: 30px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 500;
  font-family: var(--font-mono);
  margin-bottom: 22px;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: 2.7rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  max-width: 680px;
  margin: 0 auto 36px;
  color: var(--muted);
  font-size: 1.05rem;
}

.stats-row {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.stat-card {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  padding: 14px 22px;
  border-radius: var(--r);
  min-width: 170px;
  text-align: left;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--accent);
}

.stat-label {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 2px;
  font-family: var(--font-mono);
}

/* TOOLBAR & SEARCH */
.section-projects {
  padding: 30px 0 70px;
  flex-grow: 1;
}

.toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 26px;
  flex-wrap: wrap;
}

.filter-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.chip {
  background: var(--bg-soft);
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 7px 15px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  font-family: var(--font-mono);
  cursor: pointer;
  transition: var(--transition);
}

.chip:hover {
  color: var(--text);
  border-color: var(--line-strong);
}

.chip.active {
  background: var(--accent-glow);
  color: var(--accent);
  border-color: var(--accent);
}

.search-box {
  position: relative;
  min-width: 270px;
}

.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--dim);
  pointer-events: none;
}

.search-box input {
  width: 100%;
  padding: 8px 14px 8px 40px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  font-size: 0.88rem;
  outline: none;
  transition: var(--transition);
}

.search-box input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

/* PROJECTS GRID & CARDS (andreichuk.dev style) */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 22px;
}

.card {
  display: flex;
  flex-direction: column;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color 0.18s, transform 0.18s, box-shadow 0.18s;
  position: relative;
}

.card:hover {
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
}

/* Скріншот картки (16:10 як на andreichuk.dev) */
.card-shot {
  border: 0;
  padding: 0;
  margin: 0;
  background: #09090b;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  position: relative;
  cursor: zoom-in;
  border-bottom: 1px solid var(--line);
}

.card-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s;
  display: block;
}

.card-shot img.contain {
  object-fit: contain;
  padding: 12px;
  background: #09090b;
}

.card:hover .card-shot img {
  transform: scale(1.03);
}

/* Іконка збільшення / переходу в кутку при ховері */
.card-shot::after {
  content: '→';
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(18, 18, 21, 0.85);
  color: #e4e4e7;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  opacity: 0;
  transition: opacity 0.18s;
  backdrop-filter: blur(4px);
  pointer-events: none;
}

.card-shot:hover::after {
  opacity: 1;
}

.card-shot--open {
  cursor: pointer;
  text-decoration: none;
}

.card-head h3 a {
  color: inherit;
  text-decoration: none;
  transition: color 0.18s;
}

.card-head h3 a:hover {
  color: var(--accent);
}

.details-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: rgba(255, 255, 255, .04);
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 14px;
  text-decoration: none;
  font-family: var(--font-mono);
  transition: border-color .15s, background-color .15s, color .15s, transform .15s;
}

.details-link::after {
  content: '→';
  font-size: 13px;
}

.details-link:hover {
  border-color: rgba(45, 212, 191, .5);
  background: rgba(45, 212, 191, .08);
  color: var(--accent);
  transform: translateY(-1px);
}

/* М'який скелетон-анімація при завантаженні */
.card-shot::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(255, 255, 255, .02) 30%, rgba(255, 255, 255, .06) 45%, rgba(255, 255, 255, .02) 60%);
  background-size: 220% 100%;
  animation: sheen 1.6s linear infinite;
  pointer-events: none;
}

.card-shot.loaded::before {
  display: none;
}

@keyframes sheen {
  to { background-position: -220% 0; }
}

/* Тіло картки */
.card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.card-head h3 {
  font-size: 17.5px;
  font-weight: 700;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0;
}

.ver {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  color: var(--muted);
  background: rgba(255, 255, 255, .06);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 8px;
  white-space: nowrap;
}

.cat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
}

.cat::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.card[data-cat*="windows"] .cat::before { background: var(--sky); }
.card[data-cat*="web"] .cat::before     { background: var(--violet); }
.card[data-cat*="bot"] .cat::before     { background: var(--emerald); }

.card-sub {
  color: var(--text);
  font-size: 13.5px;
  font-weight: 600;
  margin: 0;
}

.card-desc {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.55;
  margin: 0;
  flex: 1;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 4px;
}

.tags span {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--muted);
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 3px 8px;
}

/* Блок швидкої дії (.cmd як на andreichuk.dev) */
.card-actions {
  display: flex;
  flex-direction: column;
  gap: 9px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
  margin-top: 6px;
}

.cmd {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: space-between;
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 6px 8px 6px 12px;
}

.cmd code {
  font-size: 11.5px;
  color: var(--muted);
  font-family: var(--font-mono);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cmd a.copybtn {
  flex-shrink: 0;
  border: 0;
  background: rgba(45, 212, 191, .1);
  color: var(--accent);
  font-size: 11.5px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 7px;
  text-decoration: none;
  transition: all .18s;
  font-family: var(--font-mono);
}

.cmd a.copybtn:hover {
  background: var(--accent);
  color: var(--accent-ink);
  transform: translateY(-1px);
}

.links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
  font-family: var(--font-mono);
}

.links a {
  color: var(--muted);
  text-decoration: none;
  transition: color .18s;
}

.links a:hover {
  color: var(--accent);
}

.badge-private-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: var(--amber);
  background: rgba(251, 191, 36, .1);
  border: 1px solid rgba(251, 191, 36, .25);
  padding: 2px 7px;
  border-radius: 6px;
  font-family: var(--font-mono);
}

.mono {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--dim);
}

.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--muted);
  font-size: 1.1rem;
}

/* SCREENSHOT PREVIEW MODAL */
.modal {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: 90vw;
  max-height: 90vh;
  margin: auto;
}

.modal::backdrop {
  background: rgba(8, 8, 10, 0.85);
  backdrop-filter: blur(10px);
}

.modal-card {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  padding: 10px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal-card img {
  max-width: 85vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--r-sm);
  display: block;
}

.modal-close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #1f1f24;
  color: #fff;
  border: 1px solid var(--line-strong);
  font-size: 13px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  z-index: 10;
}

.modal-close:hover {
  background: #ef4444;
  color: #fff;
}

/* FOOTER */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 30px 0;
  background: var(--bg);
  margin-top: auto;
}

.footer-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.88rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--accent);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.1rem;
  }
  .toolbar {
    flex-direction: column;
    align-items: stretch;
  }
  .search-box {
    width: 100%;
  }
  .projects-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   PRODUCT DETAIL PAGES (СТИЛЬ ANDREICHUK.DEV)
   ========================================================================== */

/* Хлібні крихти */
.crumbs {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
  padding: 24px 0 10px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--dim);
}

.crumbs a {
  color: var(--muted);
  text-decoration: none;
  transition: color .18s;
}

.crumbs a:hover {
  color: var(--accent);
}

.crumbs .crumbs-cur {
  color: var(--text);
  font-weight: 600;
}

/* Hero продукту */
.prod-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 46px;
  align-items: center;
  padding: 30px 0 20px;
}

.badge-line {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
}

.badge-line::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.prod-hero h1 {
  font-size: clamp(28px, 4.2vw, 44px);
  font-weight: 700;
  letter-spacing: -0.035em;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.prod-hero h1 .ver {
  font-size: 12px;
  padding: 4px 10px;
}

.prod-sub {
  margin-top: 14px;
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.55;
  max-width: 540px;
}

.prod-hero .tags {
  margin-top: 18px;
}

.prod-hero .card-actions {
  margin-top: 24px;
  border-top: 0;
  padding-top: 0;
  max-width: 480px;
}

/* Рамка «вікна» для скріншота */
.frame {
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  background: var(--panel);
  overflow: hidden;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.5);
}

.frame-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .03);
}

.frame-bar i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .2);
}

.frame-bar em {
  margin-left: auto;
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--dim);
  letter-spacing: .06em;
}

.prod-shot-btn {
  border: 0;
  padding: 0;
  margin: 0;
  background: #09090b;
  display: block;
  width: 100%;
  cursor: zoom-in;
  position: relative;
}

.prod-shot-btn img {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.25s;
}

.prod-shot-btn img.contain {
  object-fit: contain;
  padding: 24px;
  background: #09090b;
}

.prod-shot-btn:hover img {
  transform: scale(1.02);
}

/* Секції сторінки продукту */
.prod-sec {
  padding-top: 70px;
}

.prod-sec-head {
  max-width: 780px;
  margin-bottom: 24px;
}

.sec-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}

.prod-sec-head h2 {
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
}

/* Галерея скріншотів */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.gallery figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.gallery button {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  padding: 0;
  background: #09090b;
  aspect-ratio: 16 / 10;
  cursor: zoom-in;
  display: block;
  width: 100%;
  transition: border-color .18s, transform .18s;
}

.gallery button:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.gallery figcaption {
  color: var(--dim);
  font-size: 12px;
  font-family: var(--font-mono);
}

/* Опис + факти */
.prod-cols {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  gap: 36px;
  align-items: start;
}

.prod-prose p {
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.7;
}

.prod-prose p + p {
  margin-top: 14px;
}

.prod-facts {
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--panel);
  padding: 22px;
}

.prod-facts h3 {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 14px;
}

.facts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.facts li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
  font-size: 13.5px;
}

.facts li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.facts b {
  color: var(--dim);
  font-weight: 500;
  font-size: 13px;
}

.facts span {
  text-align: right;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 12.5px;
}

/* Як працює (кроки 01, 02, 03, 04) */
.how-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}

.how-step {
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--panel);
  padding: 20px;
  transition: border-color .18s;
}

.how-step:hover {
  border-color: var(--line-strong);
}

.how-step .how-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
  letter-spacing: .1em;
  font-weight: 700;
}

.how-step h3 {
  margin-top: 10px;
  font-size: 16px;
  color: var(--text);
}

.how-step p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.5;
}

/* Можливості (список) */
.feat-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 12px 28px;
}

.feat-list li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.55;
}

.feat-list li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
}

/* Стек технологій */
.stack-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 16px;
}

.stack-card {
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--panel);
  padding: 18px;
}

.stack-card .stack-g {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--dim);
}

.stack-card .tags {
  margin-top: 12px;
}

/* Встановлення та вимоги */
.prod-note {
  margin-top: 12px;
  color: var(--dim);
  font-size: 12.5px;
  font-family: var(--font-mono);
}

.prod-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 14px;
  font-size: 13.5px;
}

.prod-links a {
  color: var(--muted);
  text-decoration: none;
  transition: color .18s;
}

.prod-links a:hover {
  color: var(--accent);
}

.reqs {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.reqs li {
  position: relative;
  padding-left: 20px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.5;
}

.reqs li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* CTA блок */
.prod-cta {
  padding-top: 78px;
  margin-bottom: 40px;
}

.prod-cta-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  border: 1px solid rgba(45, 212, 191, .3);
  border-radius: var(--r-lg);
  background: linear-gradient(160deg, rgba(45, 212, 191, .07), rgba(23, 23, 27, .6));
  padding: 30px;
}

.prod-cta-box h2 {
  font-size: clamp(20px, 2.6vw, 28px);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.prod-cta-box p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14.5px;
  max-width: 600px;
}

.prod-cta-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 10px;
  text-decoration: none;
  cursor: pointer;
  transition: all .18s;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, .05);
  color: var(--text);
}

.btn:hover {
  border-color: rgba(255, 255, 255, .3);
  background: rgba(255, 255, 255, .1);
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
  font-weight: 700;
}

.btn-primary:hover {
  background: #34ecd5;
  border-color: #34ecd5;
  color: var(--accent-ink);
  box-shadow: 0 4px 18px rgba(45, 212, 191, .35);
}

@media (max-width: 1080px) {
  .prod-hero {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .prod-cols {
    grid-template-columns: 1fr;
    gap: 26px;
  }
}

@media (max-width: 720px) {
  .prod-sec, .prod-cta {
    padding-top: 52px;
  }
  .gallery {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .prod-cta-box {
    padding: 22px;
  }
}
