/* === Подключение Montserrat Light === */
@font-face {
  font-family: 'Montserrat Light';
  src: url('fonts/Montserrat-Light.woff2') format('woff2'),
       url('fonts/Montserrat-Light.woff') format('woff');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'Druk Cyr';
  src: url('/fonts/DrukCyr-Regular.woff2') format('woff2'),
       url('/fonts/DrukCyr-Regular.woff') format('woff'),
       url('/fonts/DrukCyr-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Druk Cyr';
  src: url('/fonts/DrukCyr-Bold.woff2') format('woff2'),
       url('/fonts/DrukCyr-Bold.woff') format('woff'),
       url('/fonts/DrukCyr-Bold.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
}

/* === 📱 Полное скрытие всех .obj и декоративных элементов на телефоне === */
@media only screen and (max-width: 768px) {
  .obj,
  .globe,
  .money-left,
  .money-right1,
  .money-right2,
  .money-right3,
  .laptop {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    position: absolute !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
  }
}


/* === Базовые стили === */
body, html {
  scroll-behavior: smooth;
  font-family: 'Montserrat Light', sans-serif;
  margin: 0;
  font-weight: 300;
  background: #000;
  color: #000;
  overflow-x: hidden;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px;
  background: #000;
  color: #fff;
  position: relative;
  z-index: 100;
}

.logo img {
  width: 65px;
  transition: transform 0.3s;
}

.logo img:hover {
  transform: scale(1.2);
}

.menu {
  display: flex;
  gap: 30px;
}

.menu a {
  color: #fff;
  text-decoration: none;
  font-weight: 300;
  transition: color 0.3s, transform 0.3s;
}

.menu a:hover {
  transform: scale(1.05);
}

/* Иконки */
.icons {
  display: flex;
  align-items: center;
  gap: 15px;
}

.icons a img {
  width: 26px;
  transition: transform 0.3s;
}

.icons a img:hover {
  transform: scale(1.2);
}

/* Кнопка БРИФ */
.brief-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 36px;
  background: #fff;
  color: #000;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  border-radius: 50px;
  border: none;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.brief-btn:hover {
  transform: translateY(-7px);
  box-shadow: 0 6px 18px rgba(255, 255, 255, 0.25);
}

.brief-arrow {
  display: inline-block;
  font-size: 20px;
  transition: transform 0.4s ease, color 0.4s ease;
}

.brief-btn:hover .brief-arrow {
  transform: translateX(8px) scale(1.15);
  color: #007aff;
}

.hero {
  text-align: center;
  padding-top: 0;
  margin-top: 0;
}

.hero h1 {
  font-family: 'Druk Cyr', sans-serif;
  color: white;
  font-size: 6.5rem;
  line-height: 1.1;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cta-button {
  display: inline-block;
  margin-top: 40px;
  background: linear-gradient(180deg, #4caf50, #2e7d32);
  color: white;
  font-size: 1.5rem;
  padding: 15px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 4px 15px rgba(0, 255, 0, 0.3);
  transition: all 0.3s ease;
}

.cta-button:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 255, 0, 0.6);
}

/* === Об'єкти === */
.obj {
  position: absolute;
  width: 150px; /* трохи більші */
  pointer-events: none;
  animation: float 4s ease-in-out infinite; /* анімація паріння */
}

/* Анімація плавного підняття-опускання */
@keyframes float {
  0%, 100% { transform: translateY(0) ; }
  50% { transform: translateY(-15px) ; }
}

/* === Позиції === */
.globe { 
  bottom: 120px; 
  left: 100px; 
  width: 170px;
  animation-delay: 0s;
}

.money-left { 
  bottom: 180px; 
  left: 240px; 
  animation-delay: 1s;
}

.money-right2 { 
  bottom: 250px; 
  left: 150px; 
  animation-delay: 2s;
}

.laptop { 
  bottom: 100px; 
  right: 160px; 
  width: 180px;
  animation-delay: 0.5s;
}

.money-right1 { 
  bottom: 200px; 
  right: 260px; 
  animation-delay: 1.5s;
}

.money-right3 { 
  bottom: 200px; 
  right: 100px; 
  animation-delay: 2.5s;
}

/* === 📱 Адаптація під телефон === */
@media (max-width: 768px) {
  .menu {
    display: none;
  }

  .header {
    padding: 20px;
  }

  .logo img {
    width: 55px;
  }

  .hero h1 {
    font-size: 15vw;       /* очень крупный текст по ширине экрана */
    line-height: 1.1;     /* плотное межстрочное */
    text-align: center;    /* по центру */
    padding: 0 10px;       /* небольшой отступ от краёв */
  }

  .cta-button {
    font-size: 1.6rem;
    padding: 16px 34px;
    margin-bottom: 50px; /* увеличенный отступ под кнопкой на планшетах */
  }
}

@media (max-width: 650px) {
  /* Скрываем лишние объекты */
  .money-left,
  .money-right2,
  .money-right3 {
    display: none;
  }

  /* Оставшиеся объекты — размеры и позиция */
  .globe, .laptop, .money-right1 {
    width: 100px;       
    bottom: 10vh;        /* 20% от высоты экрана */
    animation: float 4s ease-in-out infinite;
  }

  .globe {
    left: 5vw;           /* немного отступ слева */
    animation-delay: 0s;
  }

  .laptop {
    right: 5vw;          /* немного отступ справа */
    animation-delay: 0.5s;
  }

  .money-right1 {
    right: 30vw;         /* центрированно правее */
    animation-delay: 1s;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 14vw;      /* ещё крупнее на маленьких экранах */
    padding-top: 100px;
  }
}


/* === Большой отступ под кнопкой на телефоне === */
@media (max-width: 480px) {
  .cta-button,
  .btn {
    margin-bottom:10px !important; /* !important гарантирует приоритет */
  }
}

.container {
  text-align: center;
  padding: 0px 20px;
}

/* === Кнопка === */
.btn {
  position: relative;
  display: inline-block;
  padding: 18px 50px;
  color: #fff;
  background: rgba(0, 255, 0, 0.6);
  border: none;
  border-radius: 50px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 1px;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.4s ease;
  box-shadow: 0 0 20px rgba(0, 255, 153, 0.3);
  z-index: 1;
}

/* === Анимированные волны внутри кнопки === */
.btn::before,
.btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -150%;
  width: 150%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transform: skewX(-25deg);
  transition: 0.6s;
  z-index: 0;
}

/* Вторая волна — с задержкой */
.btn::after {
  animation-delay: 1.2s;
}

/* === Анимация пробегающих волн === */
.btn:hover::before {
  animation: shine 1.2s forwards;
}

.btn:hover::after {
  animation: shine 1.8s forwards;
}

/* === Подсветка при наведении === */
.btn:hover {
  transform: scale(1.08);
  box-shadow: 0 0 35px rgba(0, 255, 153, 0.8);
}

/* === Анимация волн === */
@keyframes shine {
  from {
    left: -150%;
  }
  to {
    left: 150%;
  }
}
/* Адаптация под телефон */
@media (max-width: 768px) {
  .text {
    font-size: 16px;
  }
  .btn {
    font-size: 18px;
    padding: 16px 32px;
    width: 80%;
    margin-bottom: 10px; /* добавлен отступ под кнопкой на телефоне */
  }
}

/* === Единая плавная анимация появления снизу === */
@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(50px);
  }
  60% {
    opacity: 1;
    transform: translateY(-5px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === Применение одинаковой анимации для текста и кнопки === */
.fade-up {
  animation: fadeUp 1.2s ease-out;
}

/* Кнопка появляется чуть позже — для красивой последовательности */
#btn.fade-up {
  animation-delay: 0.25s;
}



  
/* Адаптация под телефон */
@media (max-width: 600px) {
  .text {
    font-size: 16px;
  }
  .btn {
    font-size: 18px;
    padding: 16px 32px;
    width: 80%;
    margin-bottom: 10px; /* добавлен отступ под кнопкой на телефоне */
  }
}

  /* Адаптация под телефон */
@media (max-width: 570px) {
  .text {
    font-size: 16px;
  }
  .btn {
    font-size: 18px;
    padding: 16px 32px;
    width: 80%;
    margin-bottom: 10px; /* добавлен отступ под кнопкой на телефоне */
  }
}
  /* Адаптация под телефон */
@media (max-width: 460px) {
  .text {
    font-size: 18px;
  }
  .btn {
    font-size: 18px;
    padding: 16px 32px;
    width: 80%;
    margin-bottom: 10px; /* добавлен отступ под кнопкой на телефоне */
  }
}
/* === Мобильные плавающие объекты под кнопкой === */
.mobile-objects {
  display: none; /* по умолчанию скрыто */
  justify-content: center;
  align-items: center;
  gap: 25px;
  margin-top: 40px;
  animation: fadeIn 1s ease forwards;
}

/* Плавающие анимации */
.mobile-objects .float {
  width: 90px;
  animation: float 4s ease-in-out infinite;
  filter: drop-shadow(0 0 8px rgba(0,255,0,0.4));
}

/* Добавим небольшое смещение для разных картинок */
.mobile-laptop {
  animation-delay: 0.3s;
}
.mobile-money {
  animation-delay: 0.6s;
}
.mobile-globe {
  animation-delay: 0.9s;
}

/* Плавное появление */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* === Показ только на телефоне === */
@media (max-width: 768px) {
  .mobile-objects {
    display: flex;
    margin-bottom: 80px; /* добавлен отступ под кнопкой на телефоне */
  }
}


.pricing {
  background: url('img/code.png') center/cover no-repeat;
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 8rem 2rem 4rem;
}

/* 🔹 КАРТОЧКА */
.card {
    font-family: 'Montserrat', sans-serif;
  background: rgba(0, 0, 0, 0.85);
  border: 2px solid rgba(0, 255, 0, 0.6);
  border-radius: 16px;
  width: 320px;
  text-align: center;
  box-shadow: 0 0 30px rgba(0, 255, 0, 0.3);
  transition: transform 0.3s, box-shadow 0.3s;
  backdrop-filter: blur(4px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 500px;
  padding: 2rem;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 40px rgba(0, 255, 0, 0.6);
}

/* 🔹 ЗАГОЛОВОК */
.card h2 {
  font-size: 3.4rem; /* сделан больше */
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: 'Druk Cyr', sans-serif;
  color: white;
}

/* 🔹 ТЕКСТ */
.card p {
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 2rem;
  color: #eaeaea;
}

/* 🔹 СПИСОК */
.features {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.features li {
  color: white;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1rem;
  margin: 0.6rem 0;
  background: rgba(0, 255, 0, 0.05);
  border-radius: 8px;
  padding: 0.5rem 0.8rem;
  transition: background 0.3s, transform 0.2s;
}

.features li:hover {
  background: rgba(0, 255, 0, 0.15);
  transform: translateX(5px);
}

/* 🔹 ИКОНКИ */
.features li img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  filter: drop-shadow(0 0 4px rgba(0, 255, 0, 0.6));
}
/* ✅ Убедимся, что границы и паддинги не ломают ширину */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* ✅ АДАПТАЦИЯ ПОД МОБИЛЬНЫЕ */
@media (max-width: 768px) {
  .pricing {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: 4rem 1.5rem; /* комфортные боковые отступы */
    overflow-x: hidden; /* гарантирует, что ничего не “вылезет” */
  }

  .card {
    font-family: 'Montserrat', sans-serif;
    width: 100%;
    max-width: 380px; /* чтобы не растягивалась за экран */
    min-height: auto;
    padding: 2rem 1.5rem;
    margin: 0 auto; /* центрируем */
  }

  .card h2 {
    font-size: 2.2rem;
  }

  .features li {
    font-size: 0.9rem;
  }

  .features li img {
    width: 18px;
    height: 18px;
  }
}

/* ✅ ДОПОЛНИТЕЛЬНО ДЛЯ ОЧЕНЬ МАЛЕНЬКИХ ЭКРАНОВ */
@media (max-width: 480px) {
  .pricing {
    padding: 3rem 1rem;
  }

  .card {
    padding: 1.6rem;
    border-width: 1.5px;
  }

  .card h2 {
    font-size: 1.8rem;
  }

  .features li {
    font-size: 0.85rem;
  }
}
/* === АНИМАЦИЯ ПОЯВЛЕНИЯ КАРТОЧЕК === */
@keyframes slideUpFade {
  0% {
    opacity: 0;
    transform: translateY(60px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* применяем ко всем карточкам */
.card {
  opacity: 0; /* чтобы изначально были скрыты */
  animation: slideUpFade 1s ease forwards;
}

/* задержка для последовательного появления */
.card:nth-child(1) {
  animation-delay: 0.2s;
}

.card:nth-child(2) {
  animation-delay: 0.5s;
}

.card:nth-child(3) {
  animation-delay: 0.8s;
}


.how-we-work {
  background: url('img/code.png') center/cover no-repeat;
  color: #fff;
  padding: 10px 20px;
  padding-bottom: 60px;
  font-family: "Inter", sans-serif;
  text-align: center;
}


.how-we-work h2 {
    font-family: 'Druk Cyr', sans-serif;
  font-size: 4.5rem;
  margin-bottom: 70px;
  letter-spacing: 2px;
  text-transform: uppercase;
  display: inline-block;
  padding-bottom: 10px;
}

/* === Сетка шагов === */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px;
  justify-items: center;
}

/* === Карточка === */
.step {
    font-family: 'Montserrat', sans-serif;
  position: relative;
   background-color: black;
  border: 1px solid rgba(0, 255, 0, 0.3);
  border-radius: 20px;
  padding: 40px 25px;
  box-shadow: 0 0 20px rgba(0, 255, 0, 0.1);
  transition: all 0.4s ease;
  animation: pulseOff 6s infinite;
}

/* === Нумерация шагов === */
.number {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: rgba(0, 255, 0, 0.1);
  border: 2px solid rgba(0, 255, 0, 0.6);
  color: #00ff00;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.4rem;
  box-shadow: 0 0 20px rgba(0, 255, 0, 0.6);
}

/* === Текст === */
.step h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #fff;
  text-shadow: 0 0 10px rgba(0, 255, 0, 0.6);
}

.step p {
  font-size: 0.95rem;
  color: #ccc;
  line-height: 1.6;
}

/* === Эффект свечения === */
@keyframes pulse {
  0% {
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.1);
    border-color: rgba(0, 255, 0, 0.3);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 40px rgba(0, 255, 0, 0.8);
    border-color: rgba(0, 255, 0, 0.9);
    transform: scale(1.03);
  }
  100% {
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.1);
    border-color: rgba(0, 255, 0, 0.3);
    transform: scale(1);
  }
}

/* === Циклическая подсветка от 1 до 5 === */
.step:nth-child(1) { animation: pulse 6s infinite; animation-delay: 0s; }
.step:nth-child(2) { animation: pulse 6s infinite; animation-delay: 1.2s; }
.step:nth-child(3) { animation: pulse 6s infinite; animation-delay: 2.4s; }
.step:nth-child(4) { animation: pulse 6s infinite; animation-delay: 3.6s; }
.step:nth-child(5) { animation: pulse 6s infinite; animation-delay: 4.8s; }

/* === Адаптация под телефон === */
@media (max-width: 600px) {
  .how-we-work h2 {
    font-size: 2.4rem;
    margin-bottom: 50px;
  }
  .step {
    padding: 30px 20px;
  }
  .number {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
}


.about {
    background: url('img/code.png') center/cover no-repeat;
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 0px 10%;
  gap: 50px;
    padding-bottom: 20px;
}

.about-text {
  flex: 1 1 480px;
  max-width: 600px;
}

.about-text h1 {
  font-family: 'Druk Cyr', sans-serif;
  font-size: 72px;
  text-transform: uppercase;
  margin-bottom: 40px;
  line-height: 1;
}

.about-text h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 10px;
}

.about-text p {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  color: #ffffff;
  line-height: 1.6;
  margin-bottom: 25px;
}

/* === Відео справа === */
.about-image {
  transform: rotate(3deg);
  flex: 1 1 400px;
  display: flex;
  justify-content: center;
}

.neon-frame {
  position: relative;
  width: 100%;
  max-width: 500px;
  border: 3px solid rgba(0, 255, 0, 0.6);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0, 255, 0, 0.6);
}

.neon-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 20px;
}

/* === Адаптивність === */
@media (max-width: 900px) {
  .about {
    flex-direction: column;
    text-align: center;
    padding: 20px 6%;
  }

  .about-text h1 {
    font-size: 52px;
  }

  .neon-frame {
    width: 100%;
    max-width: 420px;
    border-width: 2px;
  }

  .about-text h2 {
    font-size: 22px;
  }

  .about-text p {
    font-size: 15px;
  }
}
.social-buttons {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin: 0px 0;
  flex-wrap: wrap;
}

/* === Кнопка с зелёной обводкой и чёрным фоном === */
.btn-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: #000;
  color: white;
  font-size: 1.2rem;
  font-weight: 600;
  padding: 14px 40px;
  border-radius: 50px;
  text-decoration: none;
  letter-spacing: 0.5px;
  border: 2px solid rgba(0, 255, 0, 0.6);
  transition: all 0.3s ease;
  box-shadow: 0 0 15px rgba(0, 255, 0, 0.6);
  position: relative;
  overflow: hidden;
}

/* Эффект наведения */
.btn-social:hover {
  transform: translateY(-4px) scale(1.05);
  background: rgba(0, 255, 0, 0.6);
  box-shadow: 0 0 25px rgba(0, 255, 0, 0.6);
}

/* === Иконки внутри кнопок === */
.btn-social img {
  width: 22px;
  height: 22px;
  transition: filter 0.3s ease, transform 0.3s ease;
  /* Зелёный цвет иконки */
  filter: brightness(0) saturate(100%) invert(72%) sepia(83%) saturate(550%) hue-rotate(85deg) brightness(120%);
}

/* === При наведении — иконка становится белой === */
.btn-social:hover img {
  filter: brightness(0) invert(1);
  transform: scale(1.1);
}

/* Адаптация */
@media (max-width: 600px) {
  .btn-social {
    width: 80%;
    text-align: center;
    font-size: 1.1rem;
    padding: 12px 0;
  }

  .btn-social img {
    width: 20px;
  }

  .social-buttons {
    gap: 15px;
  }
}
/* === Анимации появления === */
@keyframes fadeInLeft {
  0% {
    opacity: 0;
    transform: translateX(-50px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  0% {
    opacity: 0;
    transform: translateX(50px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Подготовка к анимации */
.about-text,
.about-image,
.social-buttons .btn-social {
  opacity: 0;
}

/* Классы для запуска анимации */
.animate-left {
  animation: fadeInLeft 1.2s ease-out forwards;
}

.animate-right {
  animation: fadeInRight 1.2s ease-out forwards;
  animation-delay: 0.3s;
}

.animate-up {
  animation: fadeInUp 1s ease-out forwards;
}

.social-buttons .btn-social:nth-child(1).animate-up { animation-delay: 0.5s; }
.social-buttons .btn-social:nth-child(2).animate-up { animation-delay: 0.7s; }
.social-buttons .btn-social:nth-child(3).animate-up { animation-delay: 0.9s; }


.faq {
  background: url('img/code.png') center/cover no-repeat;
  color: #fff;
  padding: 0px 0%;
  text-align: center;
}

.faq-title {
  font-family: 'Druk Cyr', sans-serif;
  font-size: 72px;
  margin-bottom: 60px;
  text-transform: uppercase;
}

/* === Accordion Styles === */
.accordion {
    font-family: 'Montserrat ', sans-serif;
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}

.accordion-item {
    background: rgba(0, 0, 0);
  font-family: 'Montserrat ', sans-serif;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.accordion-header {
    font-family: 'Montserrat ', sans-serif;
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  padding: 20px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.accordion-header .icon {
  font-size: 24px;
  transition: transform 0.3s ease;
}

.accordion-content {
    font-family: 'Montserrat ', sans-serif;
  max-height: 0;
  overflow: hidden;
  background: rgba(0, 255, 0, 0.05);
  transition: max-height 0.4s ease;
}

.accordion-content p {
  margin: 20px 0;
  line-height: 1.6;
  color: #ccc;
}

/* === Active (Open) State === */
.accordion-item.active {
  border-color: #00ff00;
  box-shadow: 0 0 25px rgba(0, 255, 0, 0.6);
}

.accordion-item.active .accordion-header .icon {
  transform: rotate(45deg);
  color: #00ff00;
}

.accordion-item.active .accordion-content {
  max-height: 200px; /* можно увеличить если текста больше */
}

/* === Adaptive === */
@media (max-width: 768px) {
  .faq-title {
    font-size: 48px;
  }

  .accordion-header {
    font-size: 16px;
    padding: 20px 20px;
  }
}


/* === Анимация появления аккордеона при прокрутке === */
@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Применим анимацию к каждому элементу */
.accordion-item {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 0.8s ease forwards;
}

/* Задержка между карточками */
.accordion-item:nth-child(1) { animation-delay: 0.2s; }
.accordion-item:nth-child(2) { animation-delay: 0.4s; }
.accordion-item:nth-child(3) { animation-delay: 0.6s; }
.accordion-item:nth-child(4) { animation-delay: 0.8s; }

/* === Анимация раскрытия контента === */
.accordion-content {
  font-family: 'Montserrat', sans-serif;
  max-height: 0;
  overflow: hidden;

  transition: max-height 0.5s ease, padding 0.4s ease, opacity 0.4s ease;
  opacity: 0;
  padding: 0 25px;
}

.accordion-item.active .accordion-content {
  max-height: 300px;
  opacity: 1;
  padding: 15px 25px;
}

/* === Hover эффект для заголовков === */
.accordion-header:hover {
  color: #00ff00;
  transform: translateX(5px);
  transition: all 0.3s ease;
}




.neo-contact-section {
  background: url('img/code.png') center/cover no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start; /* выравнивание сверху */
  color: #fff;
  font-size: 100px;
  font-family: 'Druk Cyr', sans-serif;
}

.neo-section-title {
  font-size: clamp(28px, 6vw, 50px); /* минимум 28px, максимум 50px, подстраивается под экран */
  text-align: center;
  color: #fff;
  font-family: 'Druk Cyr', sans-serif;
  margin-bottom: 30px;
    font-size: 100px;
}



.neo-form-card {
  background: url('img/code.png') center/cover no-repeat;
  border-radius: 20px;
  box-shadow: 0 0 35px rgba(0, 255, 0, 0.6);
  border: 2px solid rgba(0, 255, 0, 0.6);
  width: 380px;
}









.quick-contact-section {
  font-family: 'Druk Cyr', sans-serif;
  background: url('img/code.png') center/cover no-repeat;
  color: #fff;
  font-family: 'Montserrat Light', sans-serif;
  padding: 0px 20px;
}

.quick-contact-wrapper {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
}

.quick-contact-image img {
  width: 320px;
  border-radius: 16px;
  object-fit: cover;
  filter: drop-shadow(0 0 25px rgba(0, 255, 0, 0.6));
}

.quick-contact-form-card {
  background: #000000;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 0 25px rgba(0, 255, 0, 0.6);
  border: 2px solid rgba(0, 255, 0, 0.6);
  width: 400px;
  max-width: 100%;
}

.quick-contact-heading {
    font-family: 'Druk Cyr', sans-serif;
  font-size: clamp(24px, 5vw, 40px); /* минимум 24px, максимум 40px, масштабируется по ширине экрана */
  margin-bottom: 25px;
  text-align: center;
  color: #fff;
}


#quickContactForm {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

#quickContactForm input,
#quickContactForm textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: 10px;
  border: none;
  outline: none;
  font-size: 16px;
  background: #fff;
  color: #000;
}

#quickContactForm button {
  padding: 14px 20px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 10px;
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
  cursor: pointer;
  transition: 0.3s;
  text-transform: uppercase;
}

#quickContactForm button:hover {
  color: rgba(0, 255, 0, 0.6);
  border-color: rgba(0, 255, 0, 0.6);
  box-shadow: 0 0 15px rgba(0, 255, 0, 0.6);
}
/* === Существующие стили оставляем === */

/* Адаптация под планшет и мобильные */
@media (max-width: 1024px) {
  .quick-contact-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .quick-contact-image img {
    width: 300px;
  }

  .quick-contact-form-card {
    width: 100%;
  }
}

@media (max-width: 450px) {
  .quick-contact-heading {
    font-size: 36px;
  }

   .neo-section-title {
    font-size: 42px; /* увеличиваем основной заголовок */
  }
  /* Убираем изображение на телефоне */
  .quick-contact-image {
    display: none;
  }

  .quick-contact-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  /* Форма занимает почти весь экран */
  .quick-contact-form-card {
    width: 95%;
    padding: 25px;
  }

  #quickContactForm input,
  #quickContactForm textarea {
    font-size: 16px;
    padding: 14px 16px;
  }

  #quickContactForm button {
    font-size: 16px;
    padding: 14px 20px;
  }
}

.line {
  border: none;          /* убираем стандартную границу */
  height: 1px;           /* толщина линии */
  background-color: rgba(0, 255, 0, 0.6); /* белый цвет */
  margin: 20px 0;        /* отступ сверху и снизу */
  width: 100%;           /* на всю ширину контейнера */
}

/* Подготовка к анимации только для блоков */
.neo-contact-section,
.quick-contact-image,
.quick-contact-form-card,
.neo-section-title,
.quick-contact-heading {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

/* Класс для запуска анимации */
.animate-on-scroll {
  opacity: 1;
  transform: translateY(0);
}

.site-footer {
  background-color: #000000;
  color: #fff;
  padding: 60px 20px 20px;
  font-family: 'Montserrat', sans-serif;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-container h3 {
  margin-bottom: 15px;
  font-weight: 600;
  font-size: 18px;
}

.footer-container p,
.footer-container a,
.footer-container li {
  font-weight: 300;
  font-size: 14px;
  color: #ccc;
  text-decoration: none;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links li a:hover,
.footer-contact a:hover {
  color: rgba(0, 255, 0, 0.6);
}

.footer-contact p {
  margin: 5px 0;
}

.footer-social {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

.footer-social img {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1);
  transition: 0.3s;
}

.footer-social img:hover {
  filter: brightness(0) invert(0.7) sepia(1) saturate(5) hue-rotate(45deg);
}

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  border-top: 1px solid #333;
  padding-top: 20px;
  font-size: 13px;
  color: #777;
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    gap: 30px;
  }
}



.projects-section {
    background: url('img/code.png') center/cover no-repeat;
  padding: 60px 20px;
  background-color: #000; /* черный фон */
  text-align: center;
  color: #fff; /* белый текст */
  font-family: 'Montserrat', sans-serif;
}

.projects-section h2 {
  font-size: 4rem;
  margin-bottom: 40px;
    font-family: 'Druk Cyr', sans-serif;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.project-card {


  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0,0,0,0.5);
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.6s ease-out;
}

.project-card.show {
  opacity: 1;
  transform: translateY(0);
}

.project-card img {
  width: 100%;
  display: block;
}

.project-info {
  padding: 20px;
}

.project-info h3 {
  margin: 12px 0;
  font-size: 1.3rem;
  color: #fff;
  font-family: 'Anton', sans-serif;
}

.project-info p {
  font-size: 0.95rem;
  color: #fff;
}

.btn {
  display: inline-block;
  margin-top: 12px;
  padding: 10px 25px;
  background: rgba(0, 255, 0, 0.6);
  color: #fff;
  border-radius: 50px;
  text-decoration: none;
  transition: background 0.3s, transform 0.3s;
}

.btn:hover {
  background: rgba(0, 255, 0, 0.8);
  transform: scale(1.05);
}

/* Адаптация под мобильные устройства */
@media (max-width: 768px) {
  .projects-section h2 {
    font-size: 2rem;
  }

  .project-info h3 {
    font-size: 1.1rem;
  }

  .project-info p {
    font-size: 0.9rem;
  }

  .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
}


.language-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(8px); /* размытие фона */
  background-color: rgba(0,0,0,0.6); /* затемнение */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.language-content {
  text-align: center;
  color: #fff;
  padding: 20px;
}

.flags {
  display: flex;
  flex-direction: column; /* вертикально */
  gap: 20px;
  margin-top: 20px;
}

.flags a {
  font-size: 2rem; /* крупнее для удобства */
  color: #fff;
  text-decoration: none;
  transition: transform 0.2s;
}

.flags a:hover {
  transform: scale(1.1);
}

/* Адаптация для мобильных */
@media (max-width: 600px) {
  .language-content h2 {
    font-size: 1.5rem;
  }
  .flags a {
    font-size: 1.8rem;
  }
}