@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #0f1115;
  --bg-deep: #0b0d10;
  --card: #171a21;
  --card-hover: #1d222c;
  --panel: #13161c;
  --border: #292f3a;
  --border-soft: rgba(232,234,240,.11);
  --text: #f0f1f5;
  --muted: #9aa3b2;
  --faint: #687181;
  --accent: #866cff;
  --accent-bright: #a493ff;
  --accent-soft: rgba(134,108,255,.14);
  --success: #52dfa0;
  --warning: #f4c66a;
  --danger: #ff8c8c;
  --radius: 14px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 Manrope, sans-serif; -webkit-font-smoothing: antialiased; }
body::before { content: ''; position: fixed; inset: 0; pointer-events: none; opacity: .28; background-image: radial-gradient(rgba(255,255,255,.05) .65px, transparent .65px); background-size: 7px 7px; mask-image: linear-gradient(to bottom, black, transparent 78%); }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; }
h1,h2,h3,p { margin-top: 0; }
h1,h2,h3,strong { font-weight: 800; letter-spacing: -.045em; }

.site-header { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 72px; padding: 12px max(22px, calc((100vw - var(--max)) / 2)); background: rgba(15,17,21,.86); border-bottom: 1px solid var(--border-soft); backdrop-filter: blur(18px); }
.brand { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; font-size: 1.12rem; font-weight: 800; letter-spacing: -.04em; }
.brand img { width: 34px; height: 34px; }
.site-header nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px 20px; }
.site-header nav a { color: var(--muted); font-size: .78rem; font-weight: 600; transition: color .2s ease; }
.site-header nav a:hover, .site-header nav a:focus-visible { color: var(--text); }

.hero { min-height: 570px; display: grid; place-items: center; padding: 100px 22px 88px; text-align: center; background: radial-gradient(ellipse at 50% 10%, rgba(134,108,255,.16), transparent 54%); }
.hero-copy { width: min(100%, 920px); }
.eyebrow { margin: 0 0 20px; color: var(--accent-bright); font: 500 .7rem/1.2 'DM Mono', monospace; letter-spacing: .14em; text-transform: uppercase; }
.dot { display: inline-block; width: 6px; height: 6px; margin-left: 6px; border-radius: 50%; background: var(--success); box-shadow: 0 0 14px rgba(82,223,160,.6); vertical-align: 1px; }
.hero h1 { max-width: 920px; margin: 0 auto 24px; font-size: clamp(3.2rem, 8vw, 6.5rem); line-height: .96; }
.hero h1 .accent, .section-heading h2 span { color: var(--accent-bright); }
.lead { max-width: 630px; margin: 0 auto 34px; color: var(--muted); font-size: clamp(1rem, 1.5vw, 1.13rem); line-height: 1.75; }
.button { display: inline-flex; align-items: center; gap: 15px; min-height: 50px; padding: 13px 19px; border: 1px solid transparent; border-radius: 9px; font-size: .84rem; font-weight: 800; transition: transform .2s, background .2s, border-color .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--accent); color: #fff; box-shadow: 0 12px 32px rgba(134,108,255,.23); }
.button-primary:hover { background: #9b87ff; }

.section { width: min(100%, var(--max)); margin: auto; padding: 86px 22px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 34px; }
.section-heading h2 { margin: 0; font-size: clamp(2rem, 4.5vw, 3.5rem); line-height: 1; }
.section-note { max-width: 255px; margin: 0 0 4px; color: var(--muted); font-size: .88rem; }
.cat-grid { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 10px; }
.cat-card { position: relative; display: flex; min-height: 220px; flex-direction: column; padding: 20px; overflow: hidden; background: linear-gradient(145deg, var(--card), rgba(23,26,33,.7)); border: 1px solid var(--border); border-radius: var(--radius); transition: transform .25s, border-color .25s, background .25s; }
.cat-card::after { content: ''; position: absolute; width: 90px; height: 90px; right: -35px; bottom: -35px; border-radius: 50%; background: var(--accent-soft); }
.cat-card:hover { transform: translateY(-5px); border-color: var(--accent); background: var(--card-hover); }
.cat-icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: auto; border-radius: 13px; background: var(--accent-soft); font-size: 1.45rem; }
.cat-card strong { max-width: 150px; margin-top: 22px; font-size: 1rem; line-height: 1.2; }
.cat-card small { max-width: 160px; margin-top: 8px; color: var(--muted); font-size: .72rem; line-height: 1.45; }
.cat-arrow { position: absolute; top: 20px; right: 20px; color: var(--accent-bright); font-size: 1.15rem; }
.method { max-width: none; padding-inline: 22px; background: var(--panel); border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.steps article { padding-top: 20px; border-top: 1px solid var(--border); }
.steps article > span { color: var(--accent); font: 500 1.8rem/1 'DM Mono', monospace; }
.steps h3 { margin: 15px 0 8px; font-size: 1rem; }
.steps p { margin: 0; color: var(--muted); font-size: .87rem; line-height: 1.7; }
.site-footer { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 30px; padding: 44px max(22px, calc((100vw - var(--max)) / 2)) 30px; border-top: 1px solid var(--border-soft); }
.site-footer p, .site-footer small { color: var(--muted); font-size: .78rem; }
.site-footer p { margin: 7px 0 0; text-align: right; }
.site-footer small { grid-column: 1 / -1; padding-top: 22px; border-top: 1px solid var(--border-soft); }

.category-main { width: min(100%, var(--max)); margin: auto; padding: 42px 22px 90px; }
.breadcrumb { display: flex; gap: 10px; color: var(--faint); font-size: .75rem; }
.breadcrumb a:hover { color: var(--text); }
.category-intro { padding: 66px 0 36px; }
.category-intro .eyebrow { margin-bottom: 14px; }
.category-intro h1 { margin-bottom: 12px; font-size: clamp(2.6rem, 6vw, 5rem); line-height: .98; }
.category-intro p:last-child { max-width: 620px; margin: 0; color: var(--muted); font-size: 1rem; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; padding: 17px 0; border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); }
.chip { cursor: pointer; padding: 8px 13px; border: 1px solid var(--border); border-radius: 99px; background: transparent; color: var(--muted); font-size: .76rem; font-weight: 700; transition: .2s; }
.chip:hover, .chip.active { border-color: var(--accent); background: var(--accent-soft); color: var(--text); }
.status { min-height: 25px; padding: 22px 0 16px; color: var(--muted); font: .73rem 'DM Mono', monospace; }
.status.is-error { color: var(--danger); }
.products { display: grid; gap: 12px; }
.card { display: grid; grid-template-columns: 150px minmax(0,1fr) 160px; gap: 22px; align-items: center; padding: 17px; background: linear-gradient(120deg, var(--card), rgba(23,26,33,.72)); border: 1px solid var(--border); border-radius: var(--radius); transition: transform .2s, border-color .2s; }
.card:hover { transform: translateY(-2px); border-color: #4a5262; }
.thumb { display: grid; place-items: center; min-height: 150px; overflow: hidden; border-radius: 10px; background: #202530; color: var(--faint); font-size: .7rem; text-align: center; }
.thumb img { width: 100%; height: 150px; object-fit: cover; }
.card-main { min-width: 0; }
.badge { display: inline-flex; align-items: center; margin-bottom: 10px; padding: 4px 9px; border: 1px solid rgba(82,223,160,.25); border-radius: 99px; background: rgba(82,223,160,.12); color: var(--success); font: 600 .68rem 'DM Mono', monospace; }
.card h2 { margin: 0 0 12px; font-size: 1.14rem; line-height: 1.2; }
.card ul { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; color: var(--muted); font-size: .78rem; }
.card li { position: relative; padding-left: 15px; }
.card li::before { content: '+'; position: absolute; left: 0; color: var(--success); font-weight: 800; }
.card li.weak { color: #c59b82; }
.card li.weak::before { content: '−'; color: var(--warning); }
.plus { margin: 13px 0 0; color: var(--text); font-size: .76rem; font-weight: 700; }
.plus::before { content: '✦'; margin-right: 7px; color: var(--accent-bright); }
.tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 13px; }
.tag { padding: 3px 7px; border-radius: 5px; background: rgba(255,255,255,.06); color: var(--faint); font: .64rem 'DM Mono', monospace; }
.side { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; text-align: right; }
.price { color: var(--text); font-size: 1.22rem; letter-spacing: -.04em; }
.date { color: var(--faint); font: .65rem 'DM Mono', monospace; }
.btn-offer { display: inline-flex; margin-top: 11px; padding: 9px 11px; border: 1px solid var(--accent); border-radius: 7px; color: var(--accent-bright); font-size: .72rem; font-weight: 800; transition: background .2s, color .2s; }
.btn-offer:hover { background: var(--accent); color: #fff; }
.empty { padding: 38px 20px; border: 1px dashed var(--border); border-radius: var(--radius); color: var(--muted); text-align: center; }
.empty code { color: var(--accent-bright); }

@media (max-width: 900px) { .cat-grid { grid-template-columns: repeat(3, 1fr); } .cat-card:last-child { grid-column: span 1; } .card { grid-template-columns: 120px minmax(0,1fr) 135px; } }
@media (max-width: 680px) { .site-header { align-items: flex-start; } .site-header nav { display: none; } .hero { min-height: 0; padding: 78px 22px 70px; } .section-heading { display: block; } .section-note { margin-top: 20px; } .cat-grid { grid-template-columns: repeat(2, 1fr); } .steps { grid-template-columns: 1fr; gap: 24px; } .card { grid-template-columns: 92px 1fr; gap: 15px; } .thumb, .thumb img { min-height: 110px; height: 110px; } .side { grid-column: 2; align-items: flex-start; text-align: left; } .btn-offer { margin-top: 7px; } .site-footer { grid-template-columns: 1fr; } .site-footer p { text-align: left; } .site-footer small { grid-column: auto; } }
@media (max-width: 430px) { .cat-grid { grid-template-columns: 1fr; } .category-intro { padding-top: 50px; } .hero h1 { font-size: clamp(2.8rem, 14vw, 4rem); } }
