/* ==============================
   2025.css — кастомные стили INDEXCODE
   ============================== */

/* 1) Постфикс S.R.L. у заголовка INDEXCODE */
h1.ae-1.fromLeft {
  position: relative;
  display: inline-block;
}
h1.ae-1.fromLeft::after {
  content: " S.R.L.";
  font-size: 0.55em;
  font-weight: 200;
  letter-spacing: 1px;
  color: #ccc;
  position: absolute;
  top: 0.1em;
  right: -3.3em;
  opacity: 0.9;
}

/* 2) Универсальный стиль для внешних иконок */
img.icon-inline {
  width: 18px;
  height: 18px;
  vertical-align: middle;
  filter: brightness(0) invert(1);
  opacity: 0.85;
  transition: opacity .2s ease;
}
img.icon-inline:hover { opacity: 1; }

/* 3) Логотип в верхней панели */
nav.panel.top img { height: 32px; margin-right: 8px; }

/* 4) Индикация прокрутки — мышь по центру */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 10;
  width: 100%;
  pointer-events: none;
}
.mouse {
  width: 30px; height: 50px;
  border: 2px solid #ffffff; border-radius: 20px;
  position: relative; margin: 0 auto; opacity: .9;
}
.wheel {
  width: 4px; height: 8px; background: #ffffff; border-radius: 2px;
  position: absolute; top: 10px; left: 50%;
  transform: translateX(-50%);
  animation: scroll-wheel 1.5s infinite;
}
@keyframes scroll-wheel {
  0%   { opacity: 0; transform: translate(-50%, 4px); }
  50%  { opacity: 1; transform: translate(-50%, 16px); }
  100% { opacity: 0; transform: translate(-50%, 4px); }
}
.scroll-caption {
  text-align: center; color: #ffffff; font-size: .8rem;
  margin-top: 10px; opacity: .7; letter-spacing: 1px;
}

/* 5) Плавная левитация картинки телефонов */
.ae-4[data-action="zoom"] {
  animation: floatUpDown 5s ease-in-out infinite;
  will-change: transform;
}
@keyframes floatUpDown {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}

/* 6) Ряд CTA и кнопки */
.cta-row {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 18px;
  border-radius: 22px;
  font-size: 14px;
  line-height: 42px;
  text-decoration: none;
  transition: all .2s ease;
  border: 1px solid rgba(255,255,255,.35);
  color: #e9eef5;
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(2px);
}
.cta-btn:hover {
  border-color: rgba(255,255,255,.6);
  background: rgba(255,255,255,.12);
}
.cta-btn--solid {
  border-color: rgba(255,255,255,.0);
  background: linear-gradient(135deg, rgba(61,123,255,.25), rgba(61,255,182,.25));
}
.cta-btn--solid:hover {
  background: linear-gradient(135deg, rgba(61,123,255,.35), rgba(61,255,182,.35));
}
.cta-btn--ghost {
  background: rgba(255,255,255,.04);
}

/* 7) Анимированный бейдж WhatsApp */
.wa-badge {
  position: relative;
  display: inline-flex;
  width: 42px; height: 42px;
  margin-left: 6px;
  border-radius: 50%;
  overflow: visible;
  align-items: center; justify-content: center;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.35));
  pointer-events: auto;
}
.wa-badge img {
  width: 36px; height: 36px; display: block;
  animation: pulseGlow 2.2s ease-in-out infinite;
}
@keyframes pulseGlow {
  0%, 100% { transform: scale(1);   filter: drop-shadow(0 0 0 rgba(37,211,102,.0)); }
  50%      { transform: scale(1.07); filter: drop-shadow(0 0 12px rgba(37,211,102,.6)); }
}

/* 8) Адаптив: поджать отступ мыши на маленьких экранах */
@media (max-width: 768px) {
  .scroll-indicator { bottom: 24px; }
  .cta-row { gap: 10px; flex-wrap: wrap; }
  .wa-badge { order: 3; }
}
