/* === Основные стили === */
body {
  margin: 0;
  font-family: 'Helvetica Neue', sans-serif;
  background: #111;
  color: #fff;
  overflow-x: hidden;
}
a {
  color: #ffe600;
  text-decoration: none;
}
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 0;
}

/* Навигация */
.nav {
  background: #000;
  padding: 20px;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 10;
}
.logo {
  font-size: 1.5rem;
  font-weight: 700;
}

/* Hero */
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(270deg, #1a2a6c, #b21f1f, #fdbb2d);
  background-size: 600% 600%;
  animation: gradientShift 20s ease infinite;
  padding: 100px 20px;
}
.hero-content h1 {
  font-size: 3rem;
  line-height: 1.2;
}
.hero-content p {
  font-size: 1.2rem;
  margin: 20px 0 30px;
}
.btn {
  display: inline-block;
  margin: 0 10px;
  padding: 14px 28px;
  border-radius: 8px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(5px);
  transition: transform 0.3s;
  font-weight: 600;
}
.btn:hover {
  transform: scale(1.05);
}

/* Все секции анимация появления */
section {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
section.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* === Пакеты === */
.packages-section {
  background: #0d0d0d;
}
.packages {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}
.package {
  perspective: 1000px;
}
.package-card {
  background: #1a1a1a;
  border-radius: 16px;
  overflow: hidden;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.4s, box-shadow 0.4s;
}
.package-card:hover {
  transform: rotateY(8deg) rotateX(3deg);
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}
.package-card h3 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}
.package-card .price {
  font-size: 1.6rem;
  margin: 15px 0;
}
.package-card .unit-price {
  font-size: 1rem;
  color: #ccc;
}
.package-card ul li {
  margin: 8px 0;
  font-size: 1rem;
}

/* Тестовая полоса */
.test-strip p {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.test-strip .note {
  font-style: italic;
  text-decoration: underline;
  color: #ccc;
}

.btn-small {
  display: inline-block;
  margin-left: 10px;
  padding: 6px 12px;
  font-size: 0.9rem;
  background: #ffe600;
  color: #111;
  border-radius: 6px;
  transition: background 0.3s;
}
.btn-small:hover {
  background: #fff;
}

/* === Галерея «Примеры наших Reels» === */
.examples-section {}
.tabs {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
}
.tab-btn {
  background: transparent;
  border: 2px solid #444;
  padding: 10px 20px;
  border-radius: 6px;
  color: #ddd;
  cursor: pointer;
  transition: background 0.3s, border-color 0.3s;
}
.tab-btn.active,
.tab-btn:hover {
  background: #ffe600;
  border-color: #ffe600;
  color: #111;
}
.examples-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
}
.examples-grid video {
  width: 100%;
  border-radius: 12px;
  transition: transform 0.3s, filter 0.3s;
}
.examples-grid video:hover {
  transform: scale(1.05);
  filter: brightness(1.1);
}
.examples-grid.hide {
  display: none;
}

/* === Почему наши Reels работают === */
.why-section {
  background: #0f0f0f;
  padding: 60px 0;
}

.why-section h2 {
  text-align: center;
  color: #fff;
  font-size: 2rem;
  margin-bottom: 32px;
}

.why-section ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 1200px;
}

.why-section ul li {
  background: #1a1a1a;
  border-radius: 12px;
  padding: 20px;
  font-size: 1rem;
  color: #eee;
  text-align: center;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s, box-shadow 0.3s;
}

.why-section ul li:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.6);
}

/* Мобильная адаптация */
@media (max-width: 600px) {
  .why-section ul {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* === Контакт === */
.contact-section {
  background: url('images/hero.jpg') center/cover no-repeat fixed;
  position: relative;
}
.contact-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.6);
}
.contact-container {
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin: 0 auto;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 40px;
}
.contact-container form {
  display: grid;
  gap: 20px;
}
.contact-container input,
.contact-container textarea {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 6px;
}
.contact-container button {
  padding: 14px;
  background: #ffe600;
  color: #111;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}
.contact-container button:hover {
  background: #fff;
}

/* === Footer === */
.footer {
  text-align: center;
  padding: 40px 0;
  font-size: 0.9rem;
  color: #666;
}

/* === Описание кейса под табами === */
.example-desc {
  margin: 20px 0;
  padding: 16px;
  background: rgba(255,255,255,0.1);
  border-radius: 8px;
  font-size: 1rem;
  color: #eee;
}
.example-desc strong {
  color: #fff;
}

/* === Наши достижения === */
.achievements-section {
  background: #1a1a1a;
  padding: 60px 0;
}
.achievements-section h2 {
  text-align: center;
  color: #fff;
  font-size: 2rem;
  margin-bottom: 24px;
}
/* 1-2-3-4 яркий список */
.achievements-highlights {
  counter-reset: li;
  list-style: none;
  max-width: 600px;
  margin: 0 auto 32px;
  padding: 0;
}
.achievements-highlights li {
  position: relative;
  padding-left: 60px;
  margin-bottom: 24px;
  color: #fff;
  font-size: 1.2rem;
  line-height: 1.3;
}
.achievements-highlights li strong {
  display: block;
  color: #ffe600;
  font-size: 2rem;
  margin-bottom: 4px;
}
.achievements-highlights li span {
  display: block;
  color: #ccc;
  font-size: 0.95rem;
}
.achievements-highlights li::before {
  counter-increment: li;
  content: counter(li);
  position: absolute;
  left: 0; top: 0;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: #ffe600;
  color: #111;
  font-weight: 700;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Вводный текст */
.achievements-intro {
  text-align: center;
  color: #ccc;
  font-size: 1rem;
  max-width: 800px;
  margin: 0 auto 40px;
  line-height: 1.5;
}

/* Сетка карточек */
.achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}
.achievement-card {
  background: #111;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}
.achievement-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.5);
}
.achievement-number {
  font-size: 2.2rem;
  font-weight: 700;
  color: #ffe600;
  line-height: 1;
}
.achievement-label {
  margin-top: 8px;
  font-size: 0.95rem;
  color: #ccc;
}

/* Иллюстрации кейса: две картинки в ряд */
.achievements-illustration {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin: 32px 0;
}
.achievements-illustration img {
  width: 95%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
}

/* Иллюстрации кейса: две картинки в ряд */
.achievements-illustration2 {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin: 32px 0;
}
.achievements-illustration2 img {
  width: 45%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
}


/* Рекомендация под иллюстрациями */
.achievements-recommendation {
  max-width: 800px;
  margin: 0 auto 60px;
  padding: 24px;
  background: rgba(255, 230, 0, 0.05);
  border-left: 4px solid #ffe600;
  border-radius: 8px;
}
.achievements-recommendation p {
  color: #eee;
  font-size: 1rem;
  line-height: 1.6;
  text-align: center;
}

/* === Мобильная адаптация === */
@media (max-width: 600px) {
  /* Hero */
  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero-content .btn {
    margin: 8px 0;
  }

  /* Пакеты — одна колонка */
  .packages {
    grid-template-columns: 1fr;
  }

  /* Таб-баттоны в столбик */
  .tabs {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    margin-bottom: 24px;
  }
  .tab-btn {
    width: 100%;
    padding: 12px;
    font-size: 0.95rem;
  }

  /* Описание кейса */
  .example-desc {
    padding: 16px;
    font-size: 0.95rem;
  }

  /* Видео — один столбец */
  .examples-grid {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }
  .examples-grid video {
    width: 100%;
    height: auto;
  }

  /* Рекомендация */
  .achievements-recommendation {
    padding: 16px;
    margin-bottom: 40px;
  }
  .achievements-recommendation p {
    font-size: 0.95rem;
  }
}

/* === Аккордеон FAQ === */
.faq-section {
  background: #0d0d0d;
  padding: 60px 0;
}
.faq-accordion .faq-item {
  border-bottom: 1px solid #333;
}
.faq-question {
  width: 100%;
  padding: 16px;
  background: transparent;
  border: none;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  position: relative;
  cursor: pointer;
  transition: background 0.3s;
}
.faq-question:hover {
  background: rgba(255,255,255,0.05);
}
.faq-question::after {
  content: '▸';
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%) rotate(0deg);
  transition: transform 0.3s;
  font-size: 1.2rem;
  color: #ffe600;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(.4,0,.2,1), padding 0.3s;
  padding: 0 16px;
}
.faq-answer p {
  margin: 16px 0;
  color: #ccc;
  line-height: 1.5;
}
.faq-item.open .faq-answer {
  max-height: 500px;
  padding-bottom: 16px;
}
.faq-item.open .faq-question::after {
  transform: translateY(-50%) rotate(90deg);
}

/* выделенный блок гарантии */
.faq-guarantee {
  background: rgba(255, 230, 0, 0.1);
  border-left: 4px solid #ffe600;
  padding: 16px;
  margin-bottom: 16px;
  border-radius: 4px;
}
.faq-guarantee p {
  margin: 0;
  font-weight: 600;
  color: #fff;
}


/* === Сразу показываем секцию Примеры работ на мобильных === */
@media (max-width: 600px) {
  /* Для якоря #examples */
  #examples {
    opacity: 1 !important;
    transform: translateY(0) !important;
  }
  /* Для самого блока */
  .examples-section {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* --- Фидбек блок --- */
#contact-feedback {
  margin-bottom: 20px;
  transition: opacity 0.4s ease;
}

/* Ошибки */
#contact-feedback.error {
  background: rgba(255, 0, 0, 0.1);
  border-left: 4px solid #ff4d4f;
  color: #fff;
  padding: 12px;
  border-radius: 4px;
}
#contact-feedback.error ul {
  margin: 0;
  padding-left: 20px;
}
#contact-feedback.error li {
  margin-bottom: 6px;
}

/* Успех */
#contact-feedback.success {
  background: rgba(0, 200, 0, 0.1);
  border-left: 4px solid #4caf50;
  color: #fff;
  padding: 16px;
  border-radius: 4px;
  font-size: 1rem;
  line-height: 1.4;
}

/* Плавное скрытие формы */
#contact-form.hidden {
  opacity: 0;
  height: 0;
  overflow: hidden;
  transition: opacity 0.6s ease, height 0.6s ease;
}

.payment-schedule,
.roi-example {
  background: rgba(255,255,255,0.05);
  padding: 12px 16px;
  border-radius: 6px;
  margin: 16px 0;
  color: #eee;
  font-size: 0.95rem;
}
.payment-schedule ul {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
}
.payment-schedule li {
  margin: 4px 0;
}
.roi-example strong {
  color: #ffe600;
}

/* === Секция Гарантии === */
.guarantee-section {
  background: #0b0b0b;
  padding: 60px 0;
}
.guarantee-section h2 {
  text-align: center;
  font-size: 2rem;
  color: #ffe600;
  margin-bottom: 20px;
}
.guarantee-section p {
  max-width: 800px;
  margin: 0 auto 16px;
  font-size: 1.1rem;
  color: #ddd;
  line-height: 1.5;
  text-align: center;
}
.guarantee-section .guarantee-list {
  max-width: 400px;
  margin: 0 auto 24px;
  list-style: none;
  padding: 0;
}
.guarantee-section .guarantee-list li {
  font-size: 1rem;
  color: #fff;
  margin-bottom: 12px;
  position: relative;
  padding-left: 28px;
}
.guarantee-section .guarantee-list li::before {
  content: '✔';
  position: absolute;
  left: 0;
  top: 0;
  color: #4caf50;
}
.guarantee-section .guarantee-note {
  max-width: 600px;
  margin: 0 auto;
  font-size: 0.95rem;
  color: #ccc;
  text-align: center;
  line-height: 1.4;
}


.telegram-section {
  background: #2a2a2a;
  padding: 60px 0;
  text-align: center;
  color: #fff;
}
.telegram-section h2 {
  font-size: 2rem;
  margin-bottom: 12px;
}
.telegram-section p {
  font-size: 1rem;
  margin-bottom: 20px;
  color: #ccc;
}
.telegram-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #0088cc;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 1.1rem;
  color: #fff;
  transition: background 0.3s;
}
.telegram-btn:hover {
  background: #00aaff;
}
.telegram-icon {
  width: 24px;
  height: 24px;
}

/* Добавь только этот блок! */
.linkedin-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #0a66c2;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 1.1rem;
  color: #fff;
  transition: background 0.3s;
  font-weight: 600;
  margin-left: 14px; /* Чтоб был отступ от Telegram-кнопки */
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}
.linkedin-btn:hover {
  background: #1877f2;
}
.linkedin-icon {
  width: 24px;
  height: 24px;
}
