/* Exo 2 (SIL Open Font License 1.1, Natanael Gama) — раздаётся с этого же сайта, без Google Fonts. */
@font-face { font-family:'Exo 2'; font-style:normal; font-weight:400 800; font-display:swap; src:url('/assets/fonts/exo2-cyrillic-normal.woff2') format('woff2'); unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family:'Exo 2'; font-style:normal; font-weight:400 800; font-display:swap; src:url('/assets/fonts/exo2-latin-normal.woff2') format('woff2'); unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* Магазин Meridian (jincomputers.win). Фирменная гамма сайта и панели: тёмный фон, синий акцент,
   Exo 2, «жидкое стекло» без тяжёлых эффектов: размытие фона только у шапки (владелец 01.10.2026
   жаловался на нагрузку процессора от панели — здесь анимации лёгкие и гаснут вне экрана). */
:root {
  /* палитра: фон, поверхность, линия, текст, приглушённый текст, акцент, «хорошо» */
  --bg: #0b0d12;
  --bg-2: #11141b;
  --surface: rgba(255, 255, 255, .05);
  --surface-2: rgba(255, 255, 255, .085);
  --line: rgba(255, 255, 255, .11);
  --line-2: rgba(255, 255, 255, .2);
  --text: #e8eaf0;
  --dim: #9aa2b5;
  --accent: #5b8cff;
  --accent-2: #8fb0ff;
  --accent-deep: #2c3a63;
  --good: #3ecf8e;
  /* шрифты */
  --font: 'Exo 2', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --radius: 22px;
  --gutter: clamp(16px, 4vw, 40px);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 16px/1.6 var(--font); -webkit-font-smoothing: antialiased;
  padding-inline: var(--gutter);
  min-height: 100vh;
}
/* фон: статичные мягкие свечения за всей страницей (один слой, не перерисовывается) */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(900px 560px at 82% -8%, rgba(91, 140, 255, .26), transparent 62%),
    radial-gradient(760px 520px at -6% 28%, rgba(122, 92, 255, .14), transparent 60%),
    radial-gradient(700px 500px at 60% 118%, rgba(91, 140, 255, .16), transparent 60%),
    var(--bg);
}
img, svg { max-width: 100%; }
a { color: var(--accent-2); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; border-radius: 8px; }
.wrap { max-width: 1160px; margin-inline: auto; }
h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -.01em; text-wrap: balance; }
p { margin: 0; }

/* ---------- шапка ---------- */
header.top {
  position: sticky; top: 12px; z-index: 20; margin-top: 12px;
  background: rgba(17, 20, 27, .62); border: 1px solid var(--line); border-radius: 999px;
  -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 14px 40px -18px rgba(0, 0, 0, .7);
}
.nav { display: flex; align-items: center; gap: 22px; padding: 8px 8px 8px 18px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; font-size: 15px; }
.brand:hover { text-decoration: none; }
.brand img { width: 30px; height: 30px; }
.brand small { font-weight: 500; letter-spacing: .04em; text-transform: none; color: var(--dim); font-size: 13px; }
.nav-links { display: flex; gap: 20px; margin-left: auto; font-size: 15px; font-weight: 500; }
.nav-links a { color: var(--dim); }
.nav-links a:hover { color: var(--text); text-decoration: none; }

/* ---------- кнопки: «жидкое стекло» (владелец 01.10.2026: «сделать более стеклянными»). Без размытия фона
   на каждой кнопке — стекло рисуется полупрозрачной заливкой, бликом сверху и внутренней подсветкой кромки ---------- */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer;
  padding: 11px 22px; border-radius: 999px; font: 700 15px/1 var(--font); color: #fff; text-decoration: none;
  text-shadow: 0 1px 8px rgba(20, 40, 120, .55);
  background: linear-gradient(180deg, rgba(160, 190, 255, .5), rgba(91, 140, 255, .2) 52%, rgba(91, 140, 255, .34));
  border: 1px solid rgba(180, 205, 255, .55);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), inset 0 -10px 18px rgba(40, 80, 200, .22), 0 10px 26px -12px rgba(91, 140, 255, .8);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn::before { /* блик на верхней половине */
  content: ""; position: absolute; z-index: -1; inset: 1px 1px 50% 1px; border-radius: 999px 999px 40% 40%;
  background: linear-gradient(180deg, rgba(255, 255, 255, .4), rgba(255, 255, 255, .02));
  pointer-events: none;
}
.btn:hover {
  transform: translateY(-1px); text-decoration: none;
  background: linear-gradient(180deg, rgba(175, 202, 255, .62), rgba(91, 140, 255, .28) 52%, rgba(91, 140, 255, .44));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .75), inset 0 -10px 18px rgba(40, 80, 200, .25), 0 14px 30px -12px rgba(91, 140, 255, .95);
}
.btn:active { transform: translateY(1px) scale(.985); }
.btn.ghost {
  text-shadow: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, .05) 55%, rgba(255, 255, 255, .1));
  border-color: rgba(255, 255, 255, .34);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), inset 0 -8px 16px rgba(255, 255, 255, .05), 0 8px 22px -14px rgba(0, 0, 0, .8);
}
.btn.ghost::before { background: linear-gradient(180deg, rgba(255, 255, 255, .26), rgba(255, 255, 255, 0)); }
.btn.ghost:hover { background: linear-gradient(180deg, rgba(255, 255, 255, .3), rgba(255, 255, 255, .09) 55%, rgba(255, 255, 255, .15)); }
.btn.sm { padding: 9px 18px; font-size: 14px; }

/* ---------- первый экран ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; gap: 32px; padding-block: clamp(36px, 7vw, 84px) clamp(28px, 5vw, 56px); }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-2); }
.hero h1 { font-size: clamp(34px, 5.4vw, 62px); font-weight: 800; margin-top: 14px; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, #8fb0ff, #5b8cff 60%, #a58bff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { margin-top: 18px; max-width: 54ch; color: var(--dim); font-size: clamp(16px, 1.6vw, 19px); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; padding: 0; list-style: none; }
.facts li { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: 14px; color: var(--text); }
.facts li b { color: var(--good); font-weight: 700; margin-right: 6px; }
.planet-box { display: grid; place-items: center; position: relative; }
.planet-box::before { content: ""; position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(91, 140, 255, .42), transparent 66%); }
.planet { position: relative; width: min(100%, 340px); height: auto; }
/* вращение «меридианов» и бег спутника: только transform, один раз на элемент */
.planet .mer { transform-origin: 120px 120px; animation: mer 14s ease-in-out infinite; }
.planet .mer.b { animation-delay: -4.67s; }
.planet .mer.c { animation-delay: -9.33s; }
.planet .sat { transform-origin: 120px 120px; animation: sat 16s linear infinite; }
@keyframes mer { 0%, 100% { transform: scaleX(1); } 50% { transform: scaleX(.04); } }
@keyframes sat { to { transform: rotate(360deg); } }
.planet-box.paused .mer, .planet-box.paused .sat { animation-play-state: paused; }

/* ---------- разделы ---------- */
section.block { padding-block: clamp(34px, 6vw, 72px); }
.head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 24px; margin-bottom: 26px; }
.head h2 { font-size: clamp(26px, 3.6vw, 40px); font-weight: 800; }
.head p { max-width: 58ch; color: var(--dim); }
.grid { display: grid; gap: 18px; }
.grid.routers { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.grid.accounts { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid.two { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.card {
  position: relative; display: flex; flex-direction: column; gap: 12px; min-width: 0; padding: 22px;
  border-radius: var(--radius); border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .03));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 22px 46px -26px rgba(0, 0, 0, .75);
  transition: transform .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-3px); border-color: var(--line-2); }
.card h3 { font-size: 20px; font-weight: 700; }
.card .spec { color: var(--accent-2); font-weight: 600; font-size: 14px; letter-spacing: .02em; }
.card .lead2 { color: var(--dim); font-size: 15px; }
.pts { margin: 0; padding: 0; list-style: none; display: grid; gap: 7px; font-size: 14.5px; color: var(--text); }
.pts li { position: relative; padding-left: 20px; }
.pts li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px rgba(91, 140, 255, .9); }
.buy { margin-top: auto; padding-top: 10px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.price { font-size: 26px; font-weight: 800; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.price small { display: block; font-size: 13px; font-weight: 500; color: var(--dim); letter-spacing: 0; }
.ico { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(180deg, rgba(91, 140, 255, .28), rgba(91, 140, 255, .1)); border: 1px solid rgba(143, 176, 255, .35); }
.ico svg { width: 30px; height: 30px; }
.card.wide { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.card.wide .txt { flex: 1 1 320px; min-width: 0; display: grid; gap: 6px; }
.usd { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: baseline; }
.usd .price { font-size: 28px; }
.usd span { color: var(--dim); font-size: 14px; }

/* схемы настройки */
.scheme .tag { align-self: start; padding: 4px 12px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-2); }
.scheme.best { border-color: rgba(91, 140, 255, .55); background: linear-gradient(180deg, rgba(91, 140, 255, .2), rgba(91, 140, 255, .05)); }
.scheme .gift { color: var(--good); font-weight: 600; font-size: 14.5px; }

/* Авито */
.avito-card .thumb { aspect-ratio: 4 / 3; border-radius: 16px; border: 1px solid var(--line); background: linear-gradient(135deg, rgba(91, 140, 255, .22), rgba(255, 255, 255, .03)); display: grid; place-items: center; overflow: hidden; }
.avito-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.avito-card .thumb svg { width: 64px; height: 64px; opacity: .85; }
.badge { align-self: start; padding: 3px 10px; border-radius: 999px; background: rgba(62, 207, 142, .14); border: 1px solid rgba(62, 207, 142, .4); color: var(--good); font-size: 12px; font-weight: 700; }
.badge.ex { background: rgba(255, 255, 255, .06); border-color: var(--line-2); color: var(--dim); }

/* шаги и вопросы */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; counter-reset: s; padding: 0; margin: 0; list-style: none; }
.steps li { counter-increment: s; padding: 20px 22px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 12px; border-radius: 50%; background: var(--accent-deep); border: 1px solid rgba(143, 176, 255, .5); font-weight: 800; }
.steps b { display: block; font-size: 17px; margin-bottom: 4px; }
.steps span { color: var(--dim); font-size: 15px; }
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details { border: 1px solid var(--line); border-radius: 16px; background: var(--surface); padding: 4px 18px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent-2); font-weight: 800; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--dim); padding-bottom: 16px; max-width: 70ch; }

footer.foot { border-top: 1px solid var(--line); margin-top: 20px; padding-block: 30px 44px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 30px; color: var(--dim); font-size: 14px; }
footer.foot nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }

@media (max-width: 860px) {
  .hero { grid-template-columns: minmax(0, 1fr); }
  .planet-box { order: -1; }
  .planet { width: min(62%, 260px); }
  .nav-links { display: none; }
  header.top { border-radius: 24px; }
  .nav { justify-content: space-between; }
  .nav .btn { margin-left: auto; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .planet .mer, .planet .sat { animation: none; }
  .planet .mer { transform: scaleX(.34); }
  .card, .btn { transition: none; }
}
