/*
 * AI24Solutions — AQENA product landing v1
 * Scope: /aqena/ and /en/aqena/ only.
 */

.aqena-hero {
  overflow: hidden;
  background:
    radial-gradient(
      circle at 82% 20%,
      rgba(127,154,130,.18),
      transparent 34%
    ),
    linear-gradient(
      145deg,
      #f8faf7,
      #eef3ee
    );
}

.aqena-product-visual {
  position: relative;
  display: grid;
  min-height: 390px;
  place-items: center;
  padding: 34px;
  overflow: hidden;
  border: 1px solid rgba(75,103,80,.14);
  border-radius: 30px;
  background:
    linear-gradient(
      145deg,
      #18221b,
      #26362a
    );
  box-shadow:
    0 26px 70px rgba(27,45,31,.18);
}

.aqena-product-visual::before {
  position: absolute;
  inset: 0;
  content: "";
  background-image:
    linear-gradient(
      rgba(255,255,255,.04) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(255,255,255,.04) 1px,
      transparent 1px
    );
  background-size: 34px 34px;
  mask-image:
    linear-gradient(
      to bottom,
      rgba(0,0,0,.9),
      transparent
    );
}

.aqena-visual-core {
  position: relative;
  z-index: 1;
  display: grid;
  width: 138px;
  height: 138px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 34px;
  background: rgba(255,255,255,.96);
  box-shadow:
    0 24px 54px rgba(0,0,0,.22);
}

.aqena-visual-core img {
  display: block;
  width: 110px;
  height: 110px;
  object-fit: contain;
}

.aqena-visual-note {
  position: absolute;
  z-index: 2;
  display: grid;
  gap: 3px;
  min-width: 150px;
  padding: 12px 15px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 15px;
  background: rgba(20,30,22,.88);
  box-shadow:
    0 16px 36px rgba(0,0,0,.18);
  color: #eef5ef;
}

.aqena-visual-note strong {
  font-size: 13px;
}

.aqena-visual-note span {
  color: #b8c8ba;
  font-size: 11px;
}

.aqena-visual-note--knowledge {
  top: 54px;
  left: 30px;
}

.aqena-visual-note--test {
  top: 92px;
  right: 26px;
}

.aqena-visual-note--widget {
  right: 46px;
  bottom: 44px;
}

.aqena-ownership-note {
  margin-top: 18px;
  color: #657268;
  font-size: 14px;
  font-weight: 750;
}

.aqena-boundaries {
  display: grid;
  grid-template-columns:
    minmax(0,.92fr)
    minmax(0,1.08fr);
  gap: 50px;
  align-items: start;
  padding: 44px;
  border: 1px solid rgba(75,103,80,.12);
  border-radius: 28px;
  background: #fff;
  box-shadow:
    0 18px 48px rgba(31,48,34,.06);
}

.aqena-boundary-list {
  display: grid;
  gap: 12px;
}

.aqena-boundary-list > div {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px;
  border-radius: 16px;
  background: #f5f8f5;
}

.aqena-boundary-list span {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 10px;
  background: #e4ece5;
  color: #536b57;
  font-size: 11px;
  font-weight: 900;
}

.aqena-boundary-list p {
  margin: 4px 0 0;
  color: #59645b;
  line-height: 1.55;
}

@media (max-width: 1050px) {
  .aqena-product-visual {
    min-height: 350px;
  }

  .aqena-boundaries {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 680px) {
  .aqena-product-visual {
    min-height: 330px;
    padding: 24px;
  }

  .aqena-visual-core {
    width: 112px;
    height: 112px;
    border-radius: 28px;
  }

  .aqena-visual-core img {
    width: 88px;
    height: 88px;
  }

  .aqena-visual-note {
    min-width: 125px;
    padding: 10px 12px;
  }

  .aqena-visual-note--knowledge {
    top: 34px;
    left: 18px;
  }

  .aqena-visual-note--test {
    top: 88px;
    right: 14px;
  }

  .aqena-visual-note--widget {
    right: 24px;
    bottom: 30px;
  }

  .aqena-boundaries {
    padding: 26px 20px;
  }
}

/*
 * V33-B2.1 — AQENA hero CTA readability.
 * Desktop: size buttons to their labels instead of the global 220px width.
 * Mobile: preserve the existing stacked full-width CTA layout.
 */
.aqena-hero .hero-actions .btn {
  width: auto;
  white-space: nowrap;
}

@media (max-width: 680px) {
  .aqena-hero .hero-actions .btn {
    width: 100%;
  }
}

/* ==========================================================
   V36 — ИИ-виджет: стартовая акция BY/RU
   ========================================================== */

.aqena-launch-badge {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 14px;
  padding: 9px 14px;
  border-radius: 999px;
  background: #ff7900;
  color: #fff;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.2;
  letter-spacing: .05em;
  text-transform: uppercase;
  box-shadow: 0 10px 28px rgba(255, 121, 0, .28);
}

.aqena-old-price {
  margin: 0 0 5px;
  color: #8b95a7;
  font-size: 18px;
  font-weight: 700;
}

.aqena-old-price del,
.aqena-rub-price del {
  text-decoration-color: #ff7900;
  text-decoration-thickness: 2px;
}

.aqena-launch-price {
  margin: 0 0 9px !important;
  font-size: clamp(31px, 4vw, 46px) !important;
  line-height: 1 !important;
  letter-spacing: -.04em;
}

.aqena-rub-price {
  margin: 0 0 16px;
  color: #475467;
  font-size: 15px;
  line-height: 1.5;
}

@media (max-width: 640px) {
  .aqena-launch-badge {
    border-radius: 14px;
    font-size: 10px;
  }

  .aqena-launch-price {
    font-size: 35px !important;
  }
}
