/* ================================
   БАЗА И СБРОС
================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: #111827;
  background: radial-gradient(circle at top left, #ffffff 0%, #f3f4f6 55%, #e5e7eb 100%);
}
.container { max-width: 1120px; margin: 0 auto; padding: 0 16px; }

/* ================================
   ШАПКА — УБРАНА ПОЛНОСТЬЮ
================================ */
.site-header, .site-header.scrolled {
  display: none !important;
}
.top-logo {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 22px 0;
}

.top-logo img {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 20px rgba(249,115,22,0.3);
}

/* Отступ под шапку — убран */
main { margin-top: 0 !important; }

/* ================================
   КНОПКИ
================================ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f97316;
  color: #fff;
  padding: 22px 48px;
  border-radius: 10px;
  font-size: 20px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 14px 30px rgba(249,115,22,.45);
  transition: all .2s ease;
}
.btn-primary:hover { background: #ea580c; transform: translateY(-3px); }

/* ================================
   HERO
================================ */
.hero { padding: 80px 0; }
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 3.1fr) minmax(0, 2.4fr);
  gap: 50px;
  align-items: center;
}
.hero-title { font-size: 50px; font-weight: 800; line-height: 1.15; }
.hero-accent { color: #f97316; }
.hero-small-text { margin: 20px 0 30px; font-size: 18px; color: #000; }

/* ================================
   ФИЧИ
================================ */
.hero-features {
  display: flex;
  flex-wrap: nowrap;
  gap: 32px;
  margin-top: 48px;
  justify-content: space-between;
}
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  flex: 1;
}
.feature-dot {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: url("images/logo.JPG") center/cover no-repeat;
}
.feature-title { font-weight: 700; font-size: 18px; }
.feature-subtitle { font-size: 16px; }

/* ================================
   Видео
================================ */
.hero-photo-wrapper,
.ai-photo-wrapper,
.photo-frame {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  background: #111827;
  box-shadow: 0 24px 50px rgba(15,23,42,.35);
}
.hero-video { width: 100%; display: block; pointer-events: none; }

/* ================================
   БЛОКИ AI / БАБУШКА
================================ */
.ai-section, .photo-section { padding: 80px 0; }
.ai-inner { max-width: 1000px; margin: 0 auto; }
.ai-heading { text-align: right; max-width: 900px; margin-left: auto; }
.ai-title, .photo-title, .launch-title { font-size: 50px; font-weight: 800; }
.ai-bottom, .photo-bottom {
  display: grid;
  grid-template-columns: 2.3fr 2.3fr;
  gap: 40px;
  align-items: center;
}
.ai-note { font-size: 20px; }

/* Текст справа в блоке бабушки */
.photo-cta { margin-left: auto; max-width: 380px; }

/* ================================
   Запустить Бота
================================ */
.launch-section {
  padding: 80px 0;
  background: #f3f4f6;
  text-align: center;
}

.launch-telegram:hover { transform: scale(1.08); }
.launch-icon { width: 56px; height: 56px; }

/* ================================
   ФУТЕР — ЛОГО НАСТРОЕН
================================ */
.site-footer {
  background: #000;
  color: #f9fafb;
  text-align: center;
  padding: 60px 16px 80px;
}
.logo-circle--footer img {
  width: 60px !important;
  height: 60px !important;
  border-radius: 50%;
  object-fit: cover;
}
.footer-copy { margin-top: 16px; color: #9ca3af; }

/* ================================
   Мобильная лента примеров
================================ */
.memory-section { display: none; }
.memory-video {
  width: 100%;
  border-radius: 16px;
  height: auto;
  pointer-events: none;
}

/* ================================
   Десктопный фон
================================ */
@media (min-width: 786px) {
  .hero {
    background: url("images/default.webp") center top/cover no-repeat;
    padding-bottom: 140px;
  }
  .ai-section:first-of-type {
    margin-top: -80px;
    padding-top: 160px;
  }
}

/* ================================
   Планшет
================================ */
@media (max-width: 960px) {
  .hero-inner,
  .ai-bottom,
  .photo-bottom {
    grid-template-columns: 1fr;
  }
  .hero-right { order: -1; }
}

/* ================================
   МОБИЛКА ≤785px
================================ */
@media (max-width: 785px) {

  .hero, .ai-section, .photo-section, .launch-section {
    padding: 60px 0;
  }

  .hero-title,
  .ai-title,
  .photo-title,
  .launch-title {
    font-size: 32px;
    line-height: 1.25;
  }

  .hero-small-text,
  .ai-note,
  .photo-desc {
    font-size: 17px;
  }

  .btn-primary {
    padding: 18px 34px;
    font-size: 18px;
    border-radius: 10px;
  }

  /* Фичи — колонкой */
  .hero-features {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .feature-dot { width: 28px; height: 28px; }

  /* Мобильные фоны */
  .hero                         { background: url("images/1block.webp") center top/cover no-repeat; }
  .ai-section:first-of-type     { background: url("images/2block.webp") center top/cover no-repeat; }
  main > section:nth-of-type(3) { background: url("images/3block.webp") center top/cover no-repeat; }
  main > section:nth-of-type(4) { background: url("images/4blcok.webp") center top/cover no-repeat; }
  .launch-section               { background: url("images/lastblock.webp") center top/cover no-repeat; }

  /* Telegram кнопка */
  .launch-telegram { width: 68px !important; height: 68px !important; }
  .launch-icon { width: 38px !important; height: 38px !important; }

  /* Бабушки блок */
  .photo-inner--grandma > *,
  .photo-bottom {
    display: block !important;
    width: 100% !important;
    margin: 24px 0 !important;
  }
  .photo-cta { margin-left: 0 !important; max-width: none !important; }

  /* Включаем мобильную сетку примеров */
  .memory-section {
    display: block !important;
    padding: 40px 0;
  }
  .memory-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .memory-video {
    height: 180px;
    object-fit: cover;
    border-radius: 16px;
    /* ЛОГОТИП НА ВЕРХУ (вместо шапки) */
  }

  .top-logo img {
    width: 48px;
    height: 48px;
  }
  .top-logo {
    padding: 16px 0;
  }

  }
