/* ============================================================
   FLAT BUILDER — flat.css
   Плоска блокова система для лендінгів
   Принцип: кожен елемент — окремий блок, без візуальних декорацій секцій
   ============================================================ */

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  background: #ffffff;
  color: #222;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

/* ---- Універсальний відеоконтейнер  16:9 ---- */
.video-container {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  overflow: hidden;
  border-radius: 8px;
}
.video-container iframe,
.video-container video {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: 0;
}

/* ============================================================
   БЛОКОВА СИСТЕМА  (lb = landing block)
   ============================================================ */
.lb { width: 100%; padding: 48px 24px; position: relative; }
.lb__inner { max-width: 780px; margin: 0 auto; }
.lb__stack { display: flex; flex-direction: column; gap: 20px; }
.lb__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.lb__list-group { display: flex; flex-direction: column; gap: 24px; margin-top: 28px; }
.lb__row { display: flex; gap: 16px; align-items: flex-start; }
.lb__icon { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }

/* Заголовки */
.lb-h { font-size: clamp(1.6rem, 3.5vw, 2.2rem); font-weight: 800; line-height: 1.15; color: #111; }
.lb-h--sm { font-size: 1.05rem; font-weight: 700; }
.lb-h--center { text-align: center; }

/* Текст */
.lb-p { font-size: 1rem; line-height: 1.75; color: #444; }
.lb-p--muted { color: #888; font-size: .9rem; }
.lb-p--center { text-align: center; }
.lb-p--large { font-size: 1.15rem; }

/* Ціна */
.lb-price { display: flex; align-items: baseline; gap: 14px; justify-content: center; align-self: center; }
.lb-price__new { font-size: 2rem; font-weight: 800; color: #e53e00; }
.lb-price__old { font-size: 1rem; color: #aaa; text-decoration: line-through; }

/* CTA */
.lb-cta {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 15px 40px; background: #ff6200; color: #fff;
  font-size: 1rem; font-weight: 700; border-radius: 40px;
  cursor: pointer; border: none; transition: background .2s, transform .2s;
  text-align: center; letter-spacing: .02em;
}
.lb-cta:hover { background: #e55700; transform: translateY(-2px); }
.lb-cta--full { width: 100%; }
.lb-cta--secondary { background: transparent; border: 2px solid #ff6200; color: #ff6200; }

/* Зображення */
.lb-img { width: 100%; height: auto; display: block; border-radius: 8px; }
.lb-img--rounded { border-radius: 16px; }
.lb-img--shadow { box-shadow: 0 8px 32px rgba(0,0,0,.12); }

/* Список */
.lb-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.lb-list li { display: flex; align-items: flex-start; gap: 10px; font-size: .95rem; color: #444; }
.lb-list li::before { content: '✓'; color: #ff6200; font-weight: 800; flex-shrink: 0; line-height: 1.65; }

/* Додаткові елементи */
.lb-divider { height: 1px; background: #ebebeb; border: none; margin: 0; }
.lb-badge { display: inline-block; padding: 4px 12px; background: #fff3e0; color: #e55700; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; border-radius: 20px; }

/* Таймер */
.lb-timer { display: flex; gap: 16px; justify-content: center; }
.lb-timer__cell { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.lb-timer__num { font-size: 2.4rem; font-weight: 800; color: #111; line-height: 1; }
.lb-timer__label { font-size: .65rem; text-transform: uppercase; letter-spacing: .08em; color: #888; }

/* Форма */
.lb-form { display: flex; flex-direction: column; gap: 12px; }
.lb-input { width: 100%; padding: 13px 16px; border: 1.5px solid #ddd; border-radius: 8px; font-size: .95rem; font-family: inherit; outline: none; transition: border-color .2s; }
.lb-input:focus { border-color: #ff6200; }
.lb-label { font-size: .85rem; font-weight: 600; color: #333; }
.lb-note { font-size: .78rem; color: #aaa; text-align: center; }

/* Відгук */
.lb-review { background: #fafafa; border-radius: 12px; padding: 20px 22px; display: flex; flex-direction: column; gap: 10px; }
.lb-review__header { display: flex; align-items: center; gap: 12px; }
.lb-review__avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.lb-review__name { font-weight: 700; font-size: .9rem; }
.lb-review__stars { color: #f5a623; font-size: .85rem; letter-spacing: 1px; }
.lb-review__text { font-size: .9rem; color: #555; line-height: 1.6; }

/* Модифікатори */
.lb--alt { background: #f7f7f5; }
.lb--dark { background: #1a1a2e; }
.lb--dark .lb-h { color: #fff; }
.lb--dark .lb-p { color: rgba(255,255,255,.75); }
.lb--dark .lb-timer__num { color: #fff; }
.lb--dark .lb-timer__label { color: rgba(255,255,255,.5); }
.lb--dark .lb-divider { background: rgba(255,255,255,.08); }
.lb--accent { background: #fff5ee; }
.lb--center { text-align: center; }

/* Респонсивність */
@media (max-width: 640px) {
  .lb { padding: 36px 16px; }
  .lb__cols { grid-template-columns: 1fr; gap: 24px; }
  .lb-h { font-size: 1.5rem; }
  .lb-cta { padding: 14px 28px; }
  .lb-timer__num { font-size: 1.8rem; }
}
