/* =========================================================================
   Expvisuals — сайт.

   Палитра красная и намеренно своя: синий и фиолетовый в этом жанре уже
   заняты чужими сборками. Фон почти чёрный с тёплым отливом, один акцент,
   скруглённые поверхности, разделение линией, а не тенью.

   Ничего внешнего: ни шрифтов со стороны, ни библиотек — страница
   открывается и без интернета, прямо из папки.
   ========================================================================= */

:root {
  --bg:        #0C0708;
  --surface:   #150D0F;
  --surface-2: #1D1315;
  --line:      #2C1D20;

  --text:      #F2E9EA;
  --muted:     #B39AA0;
  --dim:       #7A6165;

  --accent:      #E5384B;
  --accent-hot:  #FF5C6C;
  --accent-deep: #A8192B;
  --accent-soft: rgba(229, 56, 75, .14);

  --radius: 16px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
code { font-family: Consolas, monospace; font-size: .9em; color: var(--muted); }

/* --------------------------------------------------------------- шапка */

.top {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; gap: 28px;
  padding: 14px clamp(16px, 5vw, 64px);
  background: rgba(12, 7, 8, .84);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 500; }
.brand img { width: 30px; height: 30px; }
.brand b { font-weight: 700; color: var(--accent-hot); }

.menu { display: flex; gap: 22px; margin-left: auto; font-size: 14.5px; color: var(--muted); }
.menu a { transition: color .15s; }
.menu a:hover { color: var(--text); }

/* -------------------------------------------------------------- кнопки */

.btn {
  display: inline-block; padding: 12px 22px; border-radius: 999px;
  background: linear-gradient(140deg, var(--accent-hot), var(--accent-deep));
  color: #fff; font-weight: 600; font-size: 15px;
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 10px 30px rgba(229, 56, 75, .25);
  transition: transform .15s, box-shadow .2s, filter .2s;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.07);
             box-shadow: 0 14px 38px rgba(229, 56, 75, .38); }
.btn.small { padding: 9px 18px; font-size: 14px; }
.btn.big { padding: 15px 30px; font-size: 16px; }
.btn.ghost { background: transparent; border-color: var(--line);
             color: var(--muted); box-shadow: none; }
.btn.ghost:hover { color: var(--text); border-color: #4A2F34; }

/* --------------------------------------------------------- первый экран */

.hero {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center;
  padding: clamp(48px, 8vw, 100px) clamp(16px, 5vw, 64px) 84px;
  max-width: 1180px; margin: 0 auto;
}

.eyebrow {
  display: inline-block; margin-bottom: 20px; padding: 5px 14px; border-radius: 999px;
  background: var(--accent-soft); border: 1px solid rgba(229, 56, 75, .32);
  color: #FFA3AC; font-size: 13px; letter-spacing: .3px;
}

h1 { font-size: clamp(32px, 5vw, 52px); line-height: 1.14;
     letter-spacing: -.5px; font-weight: 700; }

/* Сменные строки лежат друг на друге: высота заголовка не скачет,
   когда меняется длина фразы */
.swap { position: relative; display: block; min-height: 1.2em; color: var(--accent-hot); }
.swap i {
  position: absolute; left: 0; top: 0; font-style: normal;
  opacity: 0; transform: translateY(10px);
  transition: opacity .5s ease, transform .5s ease;
  white-space: nowrap;
}
.swap i.on { opacity: 1; transform: translateY(0); }

.lead { margin-top: 22px; max-width: 540px; color: var(--muted); font-size: 17px; }
.hero-actions { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }

.badges { display: flex; gap: 10px; margin-top: 26px; flex-wrap: wrap; }
.badges span {
  padding: 6px 12px; border-radius: 8px; font-size: 13px; color: var(--muted);
  background: var(--surface); border: 1px solid var(--line);
}

.hero-art { position: relative; display: grid; place-items: center; }
.hero-art::before {
  content: ""; position: absolute; width: 76%; aspect-ratio: 1;
  background: radial-gradient(circle, rgba(229, 56, 75, .34), transparent 68%);
  filter: blur(42px);
}
.hero-art img { position: relative; width: min(340px, 78%); }

/* --------------------------------------------------------------- блоки */

.block { padding: 76px clamp(16px, 5vw, 64px); max-width: 1180px; margin: 0 auto; }
.block.alt { background: var(--surface); max-width: none; border-block: 1px solid var(--line); }
.block.alt > * { max-width: 1180px; margin-inline: auto; }

.kicker { color: var(--accent-hot); font-size: 13px; letter-spacing: 1.4px;
          text-transform: uppercase; margin-bottom: 10px; }
h2 { font-size: clamp(26px, 3.4vw, 36px); letter-spacing: -.3px; line-height: 1.2; }
.block-lead { margin-top: 14px; color: var(--muted); max-width: 640px; }

/* ---------------------------------------------------------- возможности */

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
         gap: 16px; margin-top: 38px; }
.card { padding: 24px; border-radius: var(--radius);
        background: var(--surface); border: 1px solid var(--line);
        transition: border-color .18s, transform .18s; }
.card:hover { border-color: rgba(229, 56, 75, .45); transform: translateY(-2px); }
.card .ico {
  display: inline-grid; place-items: center; width: 40px; height: 40px;
  border-radius: 11px; margin-bottom: 14px;
  background: var(--accent-soft); border: 1px solid rgba(229, 56, 75, .3);
  color: #FFA3AC; font-size: 12px; font-weight: 700; letter-spacing: .5px;
}
.card h3 { font-size: 17px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 14.5px; }

/* ------------------------------------------------------------ сравнение */

.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 38px; }
.compare-side { padding: 24px; border-radius: var(--radius);
                background: var(--surface-2); border: 1px solid var(--line); }
.compare-side.accent { border-color: rgba(229, 56, 75, .4);
                       background: linear-gradient(180deg, rgba(229, 56, 75, .08), transparent); }
.compare-side ul { list-style: none; margin-top: 16px; display: flex;
                   flex-direction: column; gap: 12px; }
.compare-side li { position: relative; padding-left: 22px; color: var(--muted); font-size: 15px; }
.compare-side li::before { content: ""; position: absolute; left: 0; top: 9px;
                           width: 7px; height: 7px; border-radius: 50%; background: var(--dim); }
.compare-side.accent li::before { background: var(--accent); }
.tag { display: inline-block; padding: 5px 12px; border-radius: 999px;
       font-size: 13px; color: var(--dim);
       background: rgba(255, 255, 255, .04); border: 1px solid var(--line); }
.tag.on { color: #FFA3AC; background: var(--accent-soft); border-color: rgba(229, 56, 75, .35); }

/* -------------------------------------------------------------- лаунчер */

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
         align-items: center; margin-top: 38px; }
.list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.list li { position: relative; padding-left: 26px; color: var(--muted); font-size: 15px; }
.list li::before { content: ""; position: absolute; left: 0; top: 9px;
                   width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.list b { color: var(--text); font-weight: 600; }

/* Окно лаунчера нарисовано разметкой: скриншот пришлось бы переснимать
   после каждой правки интерфейса */
.shot-frame { border-radius: 14px; overflow: hidden;
              background: var(--surface-2); border: 1px solid var(--line);
              box-shadow: 0 24px 60px rgba(0, 0, 0, .5); }
.shot-bar { display: flex; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.shot-bar i { width: 10px; height: 10px; border-radius: 50%; background: #3A2529; }
.shot-body { padding: 22px; }
.shot-title { font-weight: 600; }
.shot-line { margin-top: 6px; color: var(--dim); font-size: 14px; }
.shot-progress { margin-top: 12px; height: 6px; border-radius: 4px; background: #2A1B1E; }
.shot-progress span { display: block; width: 62%; height: 100%; border-radius: 4px;
                      background: linear-gradient(90deg, var(--accent-hot), var(--accent-deep)); }
.shot-mods { margin-top: 18px; display: flex; flex-direction: column; gap: 8px; }
.shot-mod { display: flex; align-items: center; gap: 10px; padding: 9px 12px;
            border-radius: 10px; background: rgba(255, 255, 255, .03);
            border: 1px solid var(--line); font-size: 13.5px; }
.shot-mod i { width: 18px; height: 18px; border-radius: 5px; background: var(--accent-deep); }
.shot-mod em { margin-left: auto; font-style: normal; color: var(--dim); font-size: 12.5px; }

/* ---------------------------------------------------------------- обзор */

.points { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
          gap: 16px; margin-top: 34px; }
.point { padding: 22px; border-radius: var(--radius);
         background: var(--bg); border: 1px solid var(--line); }
.point h3 { font-size: 16px; margin-bottom: 8px; }
.point p { color: var(--muted); font-size: 14.5px; }

/* -------------------------------------------------------------- вопросы */

.faq { margin-top: 32px; display: flex; flex-direction: column; gap: 10px; max-width: 820px; }
.faq details { border-radius: 12px; background: var(--surface);
               border: 1px solid var(--line); overflow: hidden; }
.faq summary { padding: 16px 20px; cursor: pointer; font-weight: 600; font-size: 15.5px;
               list-style: none; display: flex; align-items: center; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; margin-left: auto; color: var(--accent-hot);
                      font-size: 20px; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { padding: 0 20px 18px; color: var(--muted); font-size: 15px; }

/* -------------------------------------------------------------- скачать */

.download { text-align: center; padding: 92px clamp(16px, 5vw, 64px);
            border-top: 1px solid var(--line);
            background: radial-gradient(ellipse at 50% 0%, rgba(229, 56, 75, .18), transparent 62%); }
.download-logo { width: 74px; margin: 0 auto 22px; }
.download p { color: var(--muted); margin-top: 10px; }
.download .btn { margin-top: 26px; }
.note { margin-top: 18px; color: var(--dim); font-size: 14px; }

/* --------------------------------------------------------------- подвал */

.foot { display: flex; align-items: center; gap: 14px;
        padding: 28px clamp(16px, 5vw, 64px);
        border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.foot img { width: 28px; height: 28px; }
.dim { color: var(--dim); font-size: 13px; }

/* --------------------------------------------------------------- узкие */

@media (max-width: 880px) {
  .hero { grid-template-columns: 1fr; text-align: center; }
  .hero .lead { margin-inline: auto; }
  .hero-actions, .badges { justify-content: center; }
  .hero-art { order: -1; }
  .split, .compare { grid-template-columns: 1fr; }
  .menu { display: none; }
  .swap i { white-space: normal; position: static; display: none; }
  .swap i.on { display: block; }
}

/* Выделение текста — оранжевое: просили отдельно, и на красном фоне
   системное синее действительно выглядит чужеродно */
::selection { background: rgba(255, 138, 43, .4); color: #fff; }

/* Снимок настоящего окна вместо нарисованного: рисованное окно выглядело
   макетом и не показывало, как оно есть на самом деле */
.shot-bar span { margin-left: 8px; font-size: 12.5px; color: var(--dim); }
.shot-frame img { display: block; width: 100%; }

/* ==================================================================== цены
   Блок сделан по образцу, который прислал пользователь: диагональные
   бегущие ленты, плашка над заголовком, три карточки с приподнятой
   средней. Палитра своя, красная.                                       */

.pricing {
  position: relative; overflow: hidden;
  padding: 120px clamp(16px, 5vw, 64px) 90px;
  background: var(--surface);
  border-block: 1px solid var(--line);
}

/* ---- бегущие ленты */

.ribbons { position: absolute; inset: 0; pointer-events: none; }

.ribbon {
  position: absolute; left: -12%; width: 124%; overflow: hidden;
  background: linear-gradient(90deg, var(--accent-deep), var(--accent), var(--accent-hot));
  box-shadow: 0 10px 40px rgba(229, 56, 75, .25);
}
.ribbon.left  { top: 34px; transform: rotate(-4deg); }
.ribbon.right { top: 82px; transform: rotate(3.2deg); opacity: .55; }

.ribbon-track { display: flex; width: max-content; }
.ribbon span {
  display: block; white-space: nowrap; padding: 9px 0;
  font-size: 14px; font-weight: 600; letter-spacing: .4px; color: #fff;
  padding-right: 32px;
}
.ribbon.left .ribbon-track  { animation: run-left 26s linear infinite; }
.ribbon.right .ribbon-track { animation: run-right 32s linear infinite; }

@keyframes run-left  { to { transform: translateX(-50%); } }
@keyframes run-right { from { transform: translateX(-50%); } to { transform: translateX(0); } }

/* ---- заголовок */

.pricing-head { position: relative; text-align: center; max-width: 720px; margin: 0 auto 54px; }
.pill {
  display: inline-block; margin-bottom: 22px; padding: 8px 18px; border-radius: 999px;
  background: var(--accent-soft); border: 1px solid rgba(229, 56, 75, .38);
  color: #FFA3AC; font-size: 13.5px;
}
.pricing-head h2 { font-size: clamp(28px, 4.4vw, 44px); line-height: 1.16; }
.pricing-head p { margin-top: 16px; color: var(--muted); }

/* ---- карточки */

.prices {
  position: relative; display: grid; gap: 18px; align-items: center;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 1060px; margin: 0 auto;
}

.price {
  padding: 34px 26px; border-radius: 22px; text-align: center;
  background: var(--bg); border: 1px solid var(--line);
  transition: transform .18s, border-color .18s;
}
.price:hover { transform: translateY(-3px); border-color: rgba(229, 56, 75, .4); }

/* Средний тариф крупнее и подсвечен: так виден тот, который выбирают чаще */
.price.best {
  padding: 46px 30px; border-color: rgba(229, 56, 75, .45);
  background: linear-gradient(180deg, rgba(229, 56, 75, .1), var(--bg) 55%);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .45);
}

.price-row { display: flex; align-items: center; justify-content: center; gap: 10px; }

.price-tag {
  display: inline-flex; align-items: baseline; gap: 8px;
  padding: 7px 16px; border-radius: 999px;
  background: var(--surface-2); border: 1px solid var(--line);
}
.price-tag b { font-size: 16px; font-weight: 700; }

.price-badge {
  padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 600;
  background: linear-gradient(140deg, var(--accent-hot), var(--accent-deep)); color: #fff;
}

.price-term { margin-top: 22px; font-size: clamp(30px, 4vw, 44px);
              font-weight: 700; letter-spacing: -.5px; line-height: 1.1; }
.price.best .price-term { font-size: clamp(34px, 4.6vw, 50px); }

.price-label { margin-top: 8px; font-size: 14px; font-weight: 600; color: var(--accent-hot); }
.price-label.start { color: #FF9BA6; }
.price-label.max   { color: #FFC48C; }

.price-note { margin-top: 18px; color: var(--muted); font-size: 14.5px; line-height: 1.55; }

.price-btn {
  display: block; margin-top: 28px; padding: 14px 20px; border-radius: 14px;
  border: 1px solid var(--line); background: var(--surface-2);
  color: var(--text); font-weight: 600; font-size: 15px;
  transition: border-color .15s, background .15s, transform .15s;
}
.price-btn:hover { border-color: rgba(229, 56, 75, .5); transform: translateY(-1px); }
.price-btn.on {
  background: linear-gradient(140deg, var(--accent-hot), var(--accent-deep));
  border-color: rgba(255, 255, 255, .14); color: #fff;
  box-shadow: 0 12px 32px rgba(229, 56, 75, .3);
}

.price-foot { position: relative; text-align: center; margin-top: 26px;
              color: var(--dim); font-size: 13px; }

/* ---- сброс привязки */

.extra {
  position: relative; display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  max-width: 1060px; margin: 40px auto 0; padding: 20px 24px;
  border-radius: 18px; background: var(--bg); border: 1px solid var(--line);
}
.extra b { display: block; font-size: 15.5px; }
.extra span { display: block; margin-top: 4px; color: var(--muted); font-size: 14px; }
.extra-price { margin-left: auto; font-size: 20px; font-weight: 700; color: var(--accent-hot); }

@media (max-width: 900px) {
  .prices { grid-template-columns: 1fr; }
  .price.best { padding: 36px 26px; }
  .ribbon.right { display: none; }
}
