/* Compact Telegram bot section. Telegram stays blue; HeatCheck details stay orange. */
.bot-section {
  --bot-muted: #a7a7b2;
  --tg: #64c8f1;
  padding: 92px 0;
  border-top: 1px solid var(--border-2);
  background:
    radial-gradient(ellipse 65% 560px at 92% 5%, #1435434d, transparent),
    linear-gradient(180deg, transparent, #0c0c0f 92%);
}

.bot-section :is(h2, h3, h4, p, figure) { margin: 0; }
.bot-section :is(h2, h3, h4) { text-wrap: balance; }
.bot-section p { color: var(--bot-muted); }
.bot-section :is(a, button, video):focus-visible { outline: 3px solid #80d4f4; outline-offset: 5px; }
#bot, .bot-section [id] { scroll-margin-top: 92px; }

.bot-section .btn-tg {
  background: var(--tg);
  color: #082531;
  box-shadow: 0 12px 34px #159bd426;
}
.bot-section .btn-tg:hover { background: #88d6f7; color: #082531; }

.bot-layout {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(380px, .7fr);
  gap: clamp(42px, 7vw, 96px);
  align-items: center;
}

.bot-copy h2 {
  margin-top: 20px;
  max-width: 720px;
  font-size: clamp(38px, 4.4vw, 60px);
  line-height: 1.06;
  letter-spacing: -2.4px;
}
.bot-copy h2 span { color: #83d3f6; }
.bot-lead {
  max-width: 650px;
  margin-top: 24px !important;
  font-size: 18px;
  line-height: 1.68;
}
.bot-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 20px;
  margin-top: 30px;
}
.bot-actions > span {
  max-width: 220px;
  color: #868792;
  font-size: 12px;
  line-height: 1.5;
}

.bot-video {
  width: min(100%, 470px);
  justify-self: center;
  overflow: hidden;
  border: 1px solid #5a382a;
  border-radius: 20px;
  background: #0b0b0d;
  box-shadow: 0 28px 85px #0009, 0 0 0 1px #ff672214 inset;
}
.bot-video-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 15px;
  border-bottom: 1px solid #3d2a22;
  color: #d7d8dc;
  font-size: 12px;
}
.bot-video-bar span { display: inline-flex; align-items: center; gap: 8px; }
.bot-video-bar i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px #ff5a1f; }
.bot-video-bar b { color: #a69a95; font-size: 10px; font-weight: 550; text-transform: uppercase; letter-spacing: .7px; }
.bot-video video { display: block; width: 100%; aspect-ratio: 960 / 1340; background: #060607; }
.bot-video figcaption { display: grid; gap: 3px; padding: 14px 16px 16px; border-top: 1px solid #29282c; }
.bot-video figcaption strong { color: #e9e9ec; font-size: 13px; }
.bot-video figcaption span { color: #92929c; font-size: 11px; line-height: 1.5; }

.bot-features { margin-top: 84px; }
.bot-kicker {
  display: block;
  margin-bottom: 12px;
  color: #ffaa80;
  font-size: 11px;
  line-height: 1.4;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 1.7px;
}
.bot-features h3 {
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.16;
  letter-spacing: -1.2px;
}
.bot-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}
.bot-feature-grid article {
  min-height: 230px;
  padding: 24px;
  border: 1px solid var(--border-2);
  border-radius: 14px;
  background: linear-gradient(145deg, #141417, #101013);
}
.bot-feature-grid article > span { display: block; margin-bottom: 40px; color: #75c8ed; font-size: 11px; font-weight: 700; letter-spacing: 1px; }
.bot-feature-grid h4 { color: #ededf0; font-size: 18px; line-height: 1.3; }
.bot-feature-grid p { margin-top: 11px; font-size: 13px; line-height: 1.62; }

.bot-final {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 20px;
  padding: 22px 24px;
  border: 1px solid #29404b;
  border-radius: 14px;
  background: linear-gradient(110deg, #111c22, #111114);
}
.bot-final > div { display: grid; gap: 5px; }
.bot-final strong { font-size: 15px; }
.bot-final span { color: var(--bot-muted); font-size: 13px; }
.bot-final .btn { flex: 0 0 auto; }

@media (max-width: 960px) {
  .bot-layout { grid-template-columns: minmax(0, 1fr) minmax(340px, .78fr); gap: 36px; }
  .bot-copy h2 { font-size: clamp(36px, 5vw, 48px); }
  .bot-feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bot-feature-grid article { min-height: 200px; }
}

@media (max-width: 700px) {
  .bot-section { padding: 58px 0; }
  .bot-layout { grid-template-columns: 1fr; gap: 38px; }
  .bot-copy h2 { font-size: clamp(35px, 10vw, 46px); letter-spacing: -1.5px; }
  .bot-lead { margin-top: 18px !important; font-size: 16px; }
  .bot-actions { align-items: stretch; flex-direction: column; margin-top: 24px; }
  .bot-actions .btn { justify-content: center; }
  .bot-actions > span { max-width: none; text-align: center; }
  .bot-video { width: min(100%, 440px); }
  .bot-features { margin-top: 58px; }
  .bot-feature-grid { grid-template-columns: 1fr; gap: 10px; }
  .bot-feature-grid article { min-height: 0; padding: 20px; }
  .bot-feature-grid article > span { margin-bottom: 22px; }
  .bot-final { align-items: stretch; flex-direction: column; margin-top: 12px; padding: 20px; }
  .bot-final .btn { justify-content: center; }
}
