/* ==========================================================================
   New Landing Blocks Stylesheet
   1. Platform Benefits Block (".platform-benefits")
   2. Luka Embedded in Platform Block (".luka-embedded")
   3. Luka Experts Slider Block (".luka-experts")
   4. Luka Up-to-Date Rules Block (".luka-rules")
   5. Comparison with Other AI Block (".luka-compare")
   6. Luka Daily Stats Block (".luka-stats")
   Isolated from style.css / style.min.css to prevent regressions.
   ========================================================================== */

/* Desktop-only line break helper so Figma phrase breaks stay exact without hurting mobile */
.new-blocks-br {
  display: inline;
}

/* --------------------------------------------------------------------------
   Block 1: Platform Benefits ("Платформа Актион Бухгалтерия позволяет...")
   -------------------------------------------------------------------------- */
.platform-benefits {
  padding: 80px 0;
  background-color: #faf8f5;
  overflow: hidden;
}

.platform-benefits__container {
  max-width: 1372px;
  width: 100%;
  padding: 0 10px;
  margin: 0 auto;
}

.platform-benefits__title {
  max-width: 1046px;
  margin: 0 auto 44px;
  font-family: "Graphik LCG", sans-serif;
  font-weight: 500;
  font-size: 48px;
  line-height: 102%;
  letter-spacing: 0;
  text-align: center;
  color: #000000;
}

/* 4-column equal card grid (4 x 323px + 3 x 20px = 1352px) */
.platform-benefits__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  width: 100%;
}

.platform-benefits__card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 301px;
  padding: 32px 40px 40px;
  background-color: #ffffff;
  border-radius: 24px;
  box-sizing: border-box;
}

.platform-benefits__icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  margin-bottom: 24px;
  display: block;
}

.platform-benefits__card-title {
  margin: 0 0 24px;
  font-family: "Graphik LCG", sans-serif;
  font-weight: 500;
  font-size: 24px;
  line-height: 110%;
  letter-spacing: 0;
  color: #000000;
}

.platform-benefits__card-text {
  margin: 0;
  font-family: "Graphik LCG", sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 126%;
  letter-spacing: 0;
  color: rgba(0, 0, 0, 0.45);
}

/* "НОВИНКА" badge anchored to bottom of the 4th card */
.platform-benefits__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: max-content;
  height: 26px;
  margin-top: auto;
  padding: 0 12px 0 8px;
  border-radius: 6px;
  background-color: #ff6854;
  font-family: "Graphik LCG", sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #ffffff;
  white-space: nowrap;
}

.platform-benefits__badge-icon {
  width: 14px;
  height: 15px;
  flex-shrink: 0;
  display: block;
}

/* --------------------------------------------------------------------------
   Block 2: Luka Embedded in Platform ("Лука встроен в платформу...")
   -------------------------------------------------------------------------- */
.luka-embedded {
  padding: 20px 0 80px;
  background-color: #faf8f5;
  overflow: hidden;
}

.luka-embedded__container {
  max-width: 1372px;
  width: 100%;
  padding: 0 10px;
  margin: 0 auto;
  text-align: center;
}

.luka-embedded__title {
  max-width: 728px;
  margin: 0 auto 24px;
  font-family: "Graphik LCG", sans-serif;
  font-weight: 500;
  font-size: 48px;
  line-height: 102%;
  letter-spacing: 0;
  text-align: center;
  color: #000000;
}

.luka-embedded__subtitle {
  max-width: 894px;
  margin: 0 auto 24px;
  font-family: "Graphik LCG", sans-serif;
  font-weight: 500;
  font-size: 24px;
  line-height: 126%;
  letter-spacing: 0;
  text-align: center;
  color: rgba(0, 0, 0, 0.45);
}

/* Highlight pill directly below subtitle */
.luka-embedded__pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  margin: 0 auto 40px;
  padding: 6px 18px;
  border-radius: 8px;
  background-color: #ff6854;
  font-family: "Graphik LCG", sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 120%;
  letter-spacing: 0;
  text-align: center;
  color: #ffffff;
}

.luka-embedded__media {
  width: 100%;
  max-width: 1352px;
  margin: 0 auto;
}

.luka-embedded__image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
}

/* --------------------------------------------------------------------------
   Block 3: Luka Experts Slider ("Лука обучен разработчиками законов...")
   -------------------------------------------------------------------------- */
.luka-experts {
  padding: 60px 0 80px;
  background-color: #faf8f5;
  overflow: hidden;
}

.luka-experts__container {
  max-width: 1412px;
  width: 100%;
  padding: 0 10px;
  margin: 0 auto;
}

.luka-experts__title {
  max-width: 1210px;
  margin: 0 auto 24px;
  font-family: "Graphik LCG", sans-serif;
  font-weight: 500;
  font-size: 48px;
  line-height: 102%;
  letter-spacing: 0;
  text-align: center;
  color: #000000;
}

.luka-experts__subtitle {
  max-width: 892px;
  margin: 0 auto 56px;
  font-family: "Graphik LCG", sans-serif;
  font-weight: 500;
  font-size: 24px;
  line-height: 126%;
  letter-spacing: 0;
  text-align: center;
  color: rgba(0, 0, 0, 0.45);
}

.luka-experts__carousel {
  position: relative;
  padding: 0 56px;
}

.luka-experts__slider {
  width: 100%;
  overflow: hidden;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  cursor: grab;
}

.luka-experts__slider:active {
  cursor: grabbing;
}

.luka-experts__track {
  display: flex;
  align-items: flex-start;
  transition-property: transform;
  transition-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1);
  will-change: transform;
  box-sizing: content-box;
}

.luka-experts__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex-shrink: 0;
  box-sizing: border-box;
}

.luka-experts__avatar {
  width: 144px;
  height: 144px;
  margin: 0 auto 24px;
  border-radius: 50%;
  object-fit: cover;
  background-color: #ffffff;
  display: block;
  pointer-events: none;
  -webkit-user-drag: none;
}

.luka-experts__name {
  margin: 0 0 8px;
  font-family: "Graphik LCG", sans-serif;
  font-weight: 500;
  font-size: 20px;
  line-height: 24px;
  letter-spacing: 0;
  text-align: center;
  color: #f1361d;
}

.luka-experts__role {
  margin: 0;
  font-family: "Graphik LCG", sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 18px;
  letter-spacing: 0;
  text-align: center;
  color: rgba(0, 0, 0, 0.65);
}

/* Circular red navigation buttons aligned with the center of expert portraits */
.luka-experts__nav {
  position: absolute;
  top: 50px;
  z-index: 5;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background-color: #f1361d;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.luka-experts__nav:hover {
  background-color: #d92d16;
}

.luka-experts__nav:active {
  transform: scale(0.95);
}

.luka-experts__nav--prev {
  left: 0;
}

.luka-experts__nav--next {
  right: 0;
}

.luka-experts__nav-icon {
  width: 24px;
  height: 24px;
  display: block;
}

.luka-experts__nav--next .luka-experts__nav-icon {
  transform: rotate(180deg);
}

/* --------------------------------------------------------------------------
   Block 4: Luka Up-to-Date Rules ("Лука отвечает по правилам...")
   -------------------------------------------------------------------------- */
.luka-rules {
  padding: 60px 0 80px;
  background-color: #faf8f5;
  overflow: hidden;
}

.luka-rules__container {
  max-width: 1372px;
  width: 100%;
  padding: 0 10px;
  margin: 0 auto;
}

.luka-rules__title {
  max-width: 738px;
  margin: 0 auto 24px;
  font-family: "Graphik LCG", sans-serif;
  font-weight: 500;
  font-size: 48px;
  line-height: 102%;
  letter-spacing: 0;
  text-align: center;
  color: #000000;
}

.luka-rules__subtitle {
  max-width: 818px;
  margin: 0 auto 48px;
  font-family: "Graphik LCG", sans-serif;
  font-weight: 500;
  font-size: 24px;
  line-height: 126%;
  letter-spacing: 0;
  text-align: center;
  color: rgba(0, 0, 0, 0.45);
}

.luka-rules__media {
  width: 100%;
  max-width: 1352px;
  margin: 0 auto;
}

.luka-rules__image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
}

/* --------------------------------------------------------------------------
   Block 5: Comparison with Other AI ("Сравнение с другими ИИ")
   -------------------------------------------------------------------------- */
.luka-compare {
  padding: 60px 0 80px;
  background-color: #faf8f5;
  overflow: hidden;
}

.luka-compare__container {
  max-width: 1372px;
  width: 100%;
  padding: 0 10px;
  margin: 0 auto;
}

.luka-compare__title {
  margin: 0 auto 36px;
  font-family: "Graphik LCG", sans-serif;
  font-weight: 500;
  font-size: 48px;
  line-height: 102%;
  letter-spacing: 0;
  text-align: center;
  color: #000000;
}

/* Search prompt bar displaying the compared user query */
.luka-compare__query {
  max-width: 1162px;
  width: 100%;
  min-height: 75px;
  margin: 0 auto 48px;
  padding: 16px 24px 16px 40px;
  border-radius: 20px;
  background-color: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-sizing: border-box;
}

.luka-compare__query-text {
  margin: 0;
  font-family: "Graphik LCG", sans-serif;
  font-weight: 500;
  font-size: 20px;
  line-height: 24px;
  letter-spacing: 0;
  color: #222222;
}

.luka-compare__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 121px;
  height: 33px;
  padding: 0 14px;
  border-radius: 8px;
  background-color: #f1361d;
  font-family: "Graphik LCG", sans-serif;
  font-weight: 400;
  font-size: 14.81px;
  line-height: 23.28px;
  letter-spacing: 0;
  text-align: center;
  vertical-align: middle;
  color: #ffffff;
  text-decoration: none;
  flex-shrink: 0;
  transition: background-color 0.2s ease;
}

.luka-compare__submit:hover {
  background-color: #d92d16;
}

.luka-compare__submit-icon {
  width: 10px;
  height: 12px;
  display: block;
  flex-shrink: 0;
}

/* Side-by-side comparison grid */
.luka-compare__grid {
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.luka-compare__col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.luka-compare__col-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 24px;
}

.luka-compare__col-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.luka-compare__col-name {
  margin: 0;
  font-family: "Graphik LCG", sans-serif;
  font-weight: 500;
  font-size: 30px;
  line-height: 34px;
  letter-spacing: 0;
  text-align: center;
  color: #000000;
}

.luka-compare__screen {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
  margin-bottom: 24px;
}

.luka-compare__status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 0 12px;
  font-family: "Graphik LCG", sans-serif;
  font-weight: 500;
  font-size: 20px;
  line-height: 24px;
  letter-spacing: 0;
  text-align: center;
}

.luka-compare__status--bad {
  color: #f9765f;
}

.luka-compare__status--good {
  color: #08a000;
}

.luka-compare__status-icon {
  width: 20px;
  height: 20px;
  display: block;
  flex-shrink: 0;
}

.luka-compare__caption {
  max-width: 440px;
  margin: 0 auto;
  font-family: "Graphik LCG", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 20px;
  letter-spacing: 0;
  text-align: center;
  color: #222222;
}

/* --------------------------------------------------------------------------
   Block 6: Luka Daily Stats ("Только за сегодня Лука уже")
   -------------------------------------------------------------------------- */
.luka-stats {
  padding: 60px 0 80px;
  background-color: #000000;
  overflow: hidden;
}

.luka-stats__container {
  max-width: 1372px;
  width: 100%;
  padding: 0 10px;
  margin: 0 auto;
}

.luka-stats__title {
  margin: 0 0 32px;
  font-family: "Graphik LCG", sans-serif;
  font-weight: 500;
  font-size: 48px;
  line-height: 102%;
  letter-spacing: 0;
  text-align: center;
  color: #ff1216;
}

/* 3-column metrics grid (3 x 410.67px + 2 x 60px = 1352px) */
.luka-stats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  width: 100%;
}

.luka-stats__item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  padding-top: 24px;
  border-top: 2px solid #202020;
}

.luka-stats__label {
  margin: 0 0 20px;
  font-family: "Graphik LCG", sans-serif;
  font-weight: 500;
  font-size: 24px;
  line-height: 112%;
  letter-spacing: 0;
  color: #ffffff;
}

.luka-stats__value {
  margin: 0;
  font-family: "Graphik LCG", sans-serif;
  font-weight: 500;
  font-size: 80px;
  line-height: 112%;
  letter-spacing: 0;
  color: #f1361d;
}

.luka-stats__unit {
  margin: 0;
  font-family: "Graphik LCG", sans-serif;
  font-weight: 500;
  font-size: 44px;
  line-height: 112%;
  letter-spacing: 0;
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   Responsive Overrides (Mobile <= 530px, matching site breakpoint)
   -------------------------------------------------------------------------- */
@media (max-width: 530px) {
  .new-blocks-br {
    display: none;
  }

  .platform-benefits,
  .luka-embedded,
  .luka-experts,
  .luka-rules,
  .luka-compare,
  .luka-stats {
    padding: 40px 0 60px;
  }

  .platform-benefits__container,
  .luka-embedded__container,
  .luka-experts__container,
  .luka-rules__container,
  .luka-compare__container,
  .luka-stats__container {
    width: 95%;
    padding: 0;
  }

  .platform-benefits__title,
  .luka-embedded__title,
  .luka-experts__title,
  .luka-rules__title,
  .luka-compare__title,
  .luka-stats__title {
    margin-bottom: 20px;
    font-size: 22px;
    line-height: 110%;
  }

  .luka-embedded__subtitle,
  .luka-experts__subtitle,
  .luka-rules__subtitle {
    margin-bottom: 24px;
    font-size: 16px;
    line-height: 130%;
  }

  .platform-benefits__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .platform-benefits__card {
    min-height: auto;
    padding: 24px 20px;
    border-radius: 20px;
  }

  .platform-benefits__icon {
    margin-bottom: 16px;
  }

  .platform-benefits__card-title {
    margin-bottom: 12px;
    font-size: 20px;
  }

  .platform-benefits__card-text {
    font-size: 14px;
    line-height: 130%;
  }

  .platform-benefits__badge {
    margin-top: 20px;
  }

  .luka-embedded__pill {
    margin-bottom: 24px;
    font-size: 14px;
    padding: 6px 14px;
  }

  .luka-experts__carousel {
    padding: 0;
  }

  .luka-experts__nav {
    display: none;
  }

  .luka-experts__avatar {
    width: 120px;
    height: 120px;
    margin-bottom: 16px;
  }

  .luka-experts__name {
    font-size: 18px;
    line-height: 22px;
  }

  .luka-experts__role {
    font-size: 13px;
    line-height: 17px;
  }

  .luka-compare__query {
    flex-direction: column;
    align-items: stretch;
    min-height: auto;
    margin-bottom: 32px;
    padding: 16px;
    border-radius: 16px;
    gap: 12px;
  }

  .luka-compare__query-text {
    font-size: 16px;
    line-height: 20px;
  }

  .luka-compare__submit {
    width: 100%;
    height: 40px;
  }

  .luka-compare__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .luka-compare__col-head {
    margin-bottom: 16px;
    gap: 10px;
  }

  .luka-compare__col-name {
    font-size: 24px;
    line-height: 28px;
  }

  .luka-compare__screen {
    margin-bottom: 16px;
  }

  .luka-compare__status {
    font-size: 18px;
    line-height: 22px;
  }

  .luka-compare__caption {
    font-size: 14px;
    line-height: 18px;
  }

  .luka-stats__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .luka-stats__item {
    gap: 0;
    padding-top: 16px;
  }

  .luka-stats__label {
    margin-bottom: 12px;
    font-size: 18px;
  }

  .luka-stats__value {
    font-size: 56px;
  }

  .luka-stats__unit {
    font-size: 28px;
  }
}
