/* Telegram: bots + Mini Apps */

body[data-page="bots"] {
  --tg: #2aa8e0;
  --tg-deep: #16323c;
  background-image:
    radial-gradient(900px 380px at 88% -8%, rgba(42, 168, 224, 0.07), transparent 55%);
}

/* People-hero v1: photo only + shared .people-hero overlay (draft variant 1). */
body[data-page="bots"] .app-hero {
  background-image: url("../assets/bots-mall.jpg?v=v1exact");
  background-size: cover;
  background-position: center;
}

body[data-page="bots"] .app-hero .kicker { color: rgba(170, 220, 240, 0.86); }
body[data-page="bots"] .price.popular {
  background: linear-gradient(125deg, #0a0a0a 0%, #122830 78%, #1a3d48 100%);
}

body[data-page="bots"] .dir-tabs,
body[data-page="bots"] .dir-slide {
  background: linear-gradient(125deg, #0a0a0a 0%, #122830 78%, #1a3d48 100%);
  box-shadow: 0 18px 44px rgba(10, 26, 32, 0.28);
}
body[data-page="bots"] .dir-tabs-nav button.is-on {
  background: #fff;
  color: #122830;
  border-color: #fff;
}
body[data-page="bots"] .dir-tabs-panel.is-on {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(42, 168, 224, 0.18);
}
body[data-page="bots"] .dir-tabs-panel li::before {
  background: var(--tg);
}
body[data-page="bots"] .dir-slider-names button.is-on {
  background: var(--tg);
  color: #fff;
  border-color: var(--tg);
}

.bots-stage {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 22px;
  align-items: center;
}

.bots-glass {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  min-height: 320px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--surface);
}
.bots-glass img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  display: block;
}

.bots-cases {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.bots-case {
  padding: 24px 24px 22px;
  border-radius: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.28s ease;
}
.bots-case:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 44px rgba(16, 40, 50, 0.16);
}
.bots-case .tag {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(42, 168, 224, 0.14);
  color: #16708a;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.bots-case h3 { margin: 0 0 10px; font-size: 1.28rem; }
.bots-case p {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.5;
  font-weight: 560;
}
.bots-case ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 7px;
}
.bots-case li {
  position: relative;
  padding-left: 14px;
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.45;
}
.bots-case li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--tg);
  position: absolute;
  left: 0;
  top: 0.55em;
}

.bots-fn {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.bots-fn article {
  padding: 20px 18px 18px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.28s ease;
}
.bots-fn article:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(16, 40, 50, 0.14);
}
.bots-fn h3 { margin: 0 0 8px; font-size: 1.18rem; }
.bots-fn p { margin: 0; color: var(--ink); font-size: 0.98rem; line-height: 1.5; }

.bots-mini {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 16px;
  align-items: stretch;
}
.bots-mini-pic {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  min-height: 280px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.16);
}
.bots-mini-pic::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(125deg, rgba(0, 0, 0, 0.5) 0%, transparent 55%);
  pointer-events: none;
}
.bots-mini-pic img { width: 100%; height: 100%; min-height: 280px; object-fit: cover; }

@media (max-width: 900px) {
  .bots-stage, .bots-cases, .bots-fn, .bots-mini { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  body[data-page="bots"] .app-hero {
    background-size: cover;
    background-position: center;
  }
}
