:root {
  --bg: #0a0b10;
  --bg-2: #11131b;
  --card: #151824;
  --line: #242838;
  --text: #eef0f6;
  --muted: #8b90a5;
  --accent: #7c5cff;
  --accent-2: #00d4ff;
  --ok: #2bd67b;
  --warn: #ffb020;
  --radius: 18px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Inter", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3 { line-height: 1.15; }
h1, h2 { font-family: "Unbounded", "Inter", sans-serif; font-weight: 800; letter-spacing: -0.01em; }
h2 { font-size: clamp(26px, 4vw, 40px); margin-bottom: 32px; }

.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
.container--narrow { width: min(820px, 100% - 32px); }
.accent {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 12px; border: 0; cursor: pointer;
  font: 600 15px/1 "Inter", sans-serif; color: #fff;
  background: linear-gradient(135deg, var(--accent), #5a3dff);
  box-shadow: 0 8px 30px -8px rgba(124, 92, 255, .6);
  transition: transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 36px -8px rgba(124, 92, 255, .8); }
.btn--ghost { background: transparent; border: 1px solid var(--line); box-shadow: none; }
.btn--ghost:hover { border-color: var(--accent); box-shadow: none; }
.btn--sm { padding: 10px 16px; font-size: 14px; }
.btn--full { width: 100%; }

/* Header */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 11, 16, .8); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header__inner { display: flex; align-items: center; gap: 32px; height: 70px; }
.logo { font-family: "Unbounded", sans-serif; font-weight: 800; font-size: 18px; display: flex; align-items: center; gap: 8px; }
.logo__mark {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); font-size: 13px;
}
.nav { display: flex; gap: 26px; margin-right: auto; }
.nav a { color: var(--muted); font-weight: 500; font-size: 15px; transition: color .2s; }
.nav a:hover { color: var(--text); }
.header__actions { display: flex; align-items: center; gap: 16px; }
.header__phone { font-weight: 600; font-size: 15px; }
.burger { display: none; background: none; border: 0; cursor: pointer; width: 32px; height: 32px; flex-direction: column; justify-content: center; gap: 5px; }
.burger span { display: block; height: 2px; background: var(--text); border-radius: 2px; }

/* Hero */
.hero { position: relative; padding: 80px 0 100px; overflow: hidden; }
.hero__glow {
  position: absolute; inset: -30% -10% auto auto; width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(124, 92, 255, .35), transparent 60%);
  filter: blur(40px); pointer-events: none;
}
.hero__inner { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 40px; }
.chip {
  display: inline-block; padding: 8px 14px; border-radius: 99px; font-size: 13px; color: var(--muted);
  border: 1px solid var(--line); background: var(--bg-2); margin-bottom: 24px;
}
.hero h1 { font-size: clamp(36px, 6vw, 68px); margin-bottom: 22px; }
.hero p { color: var(--muted); font-size: 18px; max-width: 520px; margin-bottom: 34px; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }
.hero__stats { list-style: none; display: flex; gap: 36px; flex-wrap: wrap; }
.hero__stats b { display: block; font-family: "Unbounded", sans-serif; font-size: 24px; }
.hero__stats span { color: var(--muted); font-size: 14px; }

/* CSS-рендер корпуса ПК */
.hero__visual { display: grid; place-items: center; }
.pc {
  width: min(340px, 80vw); aspect-ratio: 3 / 4; border-radius: 22px; padding: 18px;
  background: linear-gradient(160deg, #1c2030, #0e1018);
  border: 1px solid #2c3146; box-shadow: 0 40px 100px -20px rgba(124, 92, 255, .5);
  transform: perspective(900px) rotateY(-14deg);
}
.pc__glass {
  position: relative; height: 100%; border-radius: 14px; padding: 16px;
  background: linear-gradient(135deg, rgba(255,255,255,.05), rgba(255,255,255,0));
  border: 1px solid rgba(255,255,255,.08);
  display: flex; flex-direction: column; justify-content: space-between; align-items: flex-end;
}
.pc__fan {
  width: 34%; aspect-ratio: 1; border-radius: 50%;
  background: conic-gradient(from 0deg, var(--accent), var(--accent-2), #ff3ea5, var(--accent));
  -webkit-mask: radial-gradient(circle, transparent 28%, #000 30%, #000 66%, transparent 68%);
          mask: radial-gradient(circle, transparent 28%, #000 30%, #000 66%, transparent 68%);
  animation: spin 4s linear infinite; filter: drop-shadow(0 0 12px rgba(124,92,255,.8));
}
.pc__gpu {
  position: absolute; left: 16px; right: 44%; top: 56%; height: 36px; border-radius: 8px;
  background: #1a1d2a; border: 1px solid #333a52; overflow: hidden;
}
.pc__gpu i { position: absolute; inset: auto 0 0; height: 3px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
@keyframes spin { to { transform: rotate(360deg); } }

/* Sections */
.section { padding: 90px 0; }
.section--alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.section__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 18px; }
.section__head h2 { margin-bottom: 0; }

/* Filters */
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filter {
  padding: 10px 18px; border-radius: 99px; border: 1px solid var(--line); background: transparent;
  color: var(--muted); font: 500 14px "Inter", sans-serif; cursor: pointer; transition: .2s;
}
.filter:hover { color: var(--text); }
.filter.is-active { background: var(--text); color: var(--bg); border-color: var(--text); }
.sort { display: flex; gap: 24px; flex-wrap: wrap; align-items: center; color: var(--muted); font-size: 14px; margin-bottom: 28px; }
.sort select {
  margin-left: 8px; background: var(--card); color: var(--text); border: 1px solid var(--line);
  border-radius: 10px; padding: 8px 10px; font: inherit;
}
.sort__check { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.sort__check input { accent-color: var(--accent); width: 16px; height: 16px; }

/* Product grid */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 22px; }
.card {
  display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden;
  background: var(--card); border: 1px solid var(--line); transition: transform .25s, border-color .25s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(124, 92, 255, .6); }
.card__img {
  position: relative; aspect-ratio: 16 / 10; display: grid; place-items: center;
  background: radial-gradient(circle at 50% 60%, rgba(124,92,255,.25), transparent 65%), #0f111a;
}
.card__img img { width: 100%; height: 100%; object-fit: cover; }
.card__ph { width: 34%; aspect-ratio: 3/4; border-radius: 10px; border: 1px solid #333a52; background: linear-gradient(160deg,#1f2335,#0e1018); position: relative; }
.card__ph::after { content: ""; position: absolute; inset: 18% 22%; border-radius: 50%; border: 3px solid var(--accent); box-shadow: 0 0 18px var(--accent); }
.badge {
  position: absolute; top: 14px; left: 14px; padding: 6px 10px; border-radius: 8px;
  font-size: 12px; font-weight: 600; background: rgba(43, 214, 123, .15); color: var(--ok);
}
.badge--order { background: rgba(255, 176, 32, .15); color: var(--warn); }
.card__body { padding: 22px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.card__title { font-size: 20px; font-weight: 700; }
.card__tag { color: var(--muted); font-size: 14px; margin-top: -8px; }
.specs { list-style: none; display: grid; gap: 8px; font-size: 14px; }
.specs li { display: flex; gap: 10px; }
.specs span { color: var(--muted); min-width: 44px; }
.card__games { font-size: 13px; color: var(--accent-2); }
.card__foot { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.price { font-size: 22px; font-weight: 800; white-space: nowrap; }
.price s { display: block; font-size: 13px; color: var(--muted); font-weight: 500; }
.card__btns { display: flex; gap: 8px; }
.empty { color: var(--muted); padding: 40px 0; }

.custom {
  margin-top: 40px; padding: 32px; border-radius: var(--radius); display: flex; align-items: center;
  justify-content: space-between; gap: 24px; flex-wrap: wrap;
  background: linear-gradient(120deg, rgba(124,92,255,.18), rgba(0,212,255,.08)); border: 1px solid rgba(124,92,255,.35);
}
.custom h3 { font-size: 22px; margin-bottom: 6px; }
.custom p { color: var(--muted); }

/* Features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { padding: 28px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.feature__icon { font-size: 28px; margin-bottom: 14px; }
.feature h3 { font-size: 18px; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 15px; }

/* Steps */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.steps li { padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); position: relative; }
.steps b { font-family: "Unbounded", sans-serif; font-size: 34px; color: transparent; -webkit-text-stroke: 1px var(--accent); display: block; margin-bottom: 14px; }
.steps h3 { font-size: 18px; margin-bottom: 6px; }
.steps p { color: var(--muted); font-size: 15px; }

/* FAQ */
.faq { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 40px 22px 0; font-weight: 600; font-size: 17px; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 24px; color: var(--accent); transition: transform .2s; }
.faq[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq p { color: var(--muted); padding-bottom: 22px; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.contact__info p { color: var(--muted); margin: -12px 0 28px; font-size: 17px; }
.contact__list { list-style: none; display: grid; gap: 16px; }
.contact__list li { display: flex; flex-direction: column; }
.contact__list span { font-size: 13px; color: var(--muted); }
.contact__list a, .contact__list b { font-size: 17px; font-weight: 600; }
.form { padding: 30px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); display: grid; gap: 16px; }
.form label { display: grid; gap: 6px; font-size: 14px; color: var(--muted); }
.form input, .form select, .form textarea {
  width: 100%; padding: 13px 14px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--bg); color: var(--text); font: 15px "Inter", sans-serif; resize: vertical;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--accent); }
.form small { color: var(--muted); font-size: 12px; text-align: center; }

/* Footer */
.footer { padding: 40px 0; border-top: 1px solid var(--line); }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer__links { display: flex; gap: 22px; color: var(--muted); }
.footer__links a:hover { color: var(--text); }
.footer small { color: var(--muted); }

.footer__legal { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 14px; }
.footer__legal a { color: var(--muted); }
.footer__legal a:hover, .footer__legal a[aria-current] { color: var(--text); }
.link { color: var(--accent-2); text-decoration: underline; text-underline-offset: 2px; }

/* Legal pages */
.doc { padding: 60px 0 90px; }
.doc__back { display: inline-block; color: var(--muted); font-size: 14px; margin-bottom: 24px; }
.doc__back:hover { color: var(--text); }
.doc h1 { font-size: clamp(28px, 5vw, 44px); margin-bottom: 10px; }
.doc__date { color: var(--muted); font-size: 14px; margin-bottom: 40px; }
.doc h2 { font-family: "Inter", sans-serif; font-size: 21px; font-weight: 700; margin: 36px 0 12px; }
.doc p, .doc li { color: #c9ccd9; font-size: 16px; }
.doc p + p { margin-top: 12px; }
.doc ul, .doc ol { padding-left: 22px; display: grid; gap: 8px; margin-top: 10px; }
.doc a { color: var(--accent-2); }
.req { width: 100%; border-collapse: collapse; margin-top: 10px; }
.req td { padding: 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.req td:first-child { color: var(--muted); width: 42%; padding-right: 16px; }
.doc__nav { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 36px; }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.7); backdrop-filter: blur(4px); }
.modal__box {
  position: relative; width: min(720px, 100%); max-height: 90vh; overflow: auto;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 22px; padding: 32px;
}
.modal__close { position: absolute; top: 14px; right: 18px; background: none; border: 0; color: var(--muted); font-size: 32px; cursor: pointer; }
.modal h3 { font-family: "Unbounded", sans-serif; font-size: 26px; margin-bottom: 6px; }
.modal .card__tag { margin: 0 0 22px; }
.modal table { width: 100%; border-collapse: collapse; margin-bottom: 24px; }
.modal td { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.modal td:first-child { color: var(--muted); width: 40%; }
.modal__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* WhatsApp float */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 10px 30px rgba(37,211,102,.45);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); }

/* Responsive */
@media (max-width: 980px) {
  .hero__inner, .contact { grid-template-columns: 1fr; }
  .hero__visual { order: -1; }
  .pc { width: 220px; }
  .features { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .header__phone { display: none; }
  .burger { display: flex; }
  .nav {
    position: fixed; top: 70px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--bg-2); border-bottom: 1px solid var(--line);
    transform: translateY(-120%); transition: transform .3s; z-index: -1;
  }
  .nav.is-open { transform: none; }
  .nav a { padding: 16px; border-top: 1px solid var(--line); }
  .hero { padding: 40px 0 70px; }
  .section { padding: 64px 0; }
  .grid { grid-template-columns: 1fr; }
  .features, .steps { grid-template-columns: 1fr; }
  .card__foot { flex-direction: column; align-items: stretch; }
  .card__btns .btn { flex: 1; }
}

/* Иллюстрация на первом экране */
.hero__img { width: 100%; max-width: 560px; height: auto; border-radius: var(--radius); filter: drop-shadow(0 40px 80px rgba(124, 92, 255, .35)); }
@media (max-width: 980px) { .hero__img { max-width: 420px; } }
