* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #070707;
    color: #fff;
    font-family: 'Outfit', sans-serif;
}

h1, h2, h3, h4 {
    font-weight: 600;
}


a {
    color: #fff;
    text-decoration: none;
    margin-left: 20px;
    font-size: 14px;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    height: 110px; /* фиксируем высоту хэдера */
    position: relative; /* обязательно для контроля вылезающих элементов */
    overflow: visible;  /* разрешаем выход за пределы */
}

html, body {
  overflow-x: hidden !important;
}


.menu {
    display: flex;
    gap: 20px;
    margin-left: 400px;
    overflow: hidden;
    position: relative;
}

.menu-btn {
    display: inline-block;
    padding: 15px 30px;
    font-size: 18px;
    color: #fff;
    position: relative;
    overflow: hidden;
    transition: 0.3s;
}

.menu-btn::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    height: 2px;
    width: 0;
    background: #1fa083;
    transition: 0.4s ease;
    box-shadow: 0 0 5px #1fa083,
                0 0 10px #1fa083,
                0 0 20px #1fa083,
                0 0 40px #1fa083;
    filter: drop-shadow(0 0 5px #1fa083);
}


.menu-btn:hover::after {
    width: 100%; /* появляется полностью */
}

.menu-btn.active {
    color: #1fa083;
    text-shadow: 0 0 10px #00ffcc, 0 0 20px #00ffcc;
}



.lang {
    color: #fff;
    font-weight: bold;
    font-size: 14px;
}

.line {
    border: 0;
    height: 1px;
    background: #fff;
    margin: 0 10px;
}


.logo img {
    width: 300px;   /* или больше */
    height: auto;
    position: relative;
    top: 20px;     /* сдвиг вверх */
}


.main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 100px 40px;
}

.main .content h1 {
    font-size: 36px;
    margin-bottom: 15px;
    position: relative; /* Обязательно */
    z-index: 2; /* Контент выше glow */
}

.btn {
  border: 1px solid #1fa083;
  padding: 12px 32px;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  border-radius: 8px;
  transition: background 0.3s ease, transform 0.3s ease, color 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn:hover {
  background: #1fa083;
  color: #000;
  transform: scale(1.03);
}

.btn:active {
  transform: scale(0.97);
}


.cases {
    padding: 50px 40px;
    text-align: center;
}

.cases-nav span {
    display: inline-block;
    margin: 0 10px;
    border: 1px solid #fff;
    padding: 5px 10px;
    font-size: 14px;
}

.case-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.case {
    background: rgba(0, 0, 0, 0.05); /* полупрозрачный */
    padding: 20px;
    font-size: 18px;
    font-weight: 500;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    transition: transform 0.3s ease;
    position: relative;

}
.case:hover {
    transform: scale(1.02);
}

.case-image img {
    width: 100%;
    height: auto;
    border-radius: 24px;
    transition: opacity 0.4s ease;
    display: block;
    position: relative;
    z-index: 1;

}

/* Оверлей с логотипом и описанием */
.case-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 15, 15, 0.85);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    padding: 20px;
    text-align: center;
    border-radius: 24px;
    transition: opacity 0.4s ease;
    z-index: 2;

}



.case-desc {
  font-size: 16px;
  line-height: 1.6;
  color: #f0f0f0;
  text-align: center;
  padding: 20px 30px;
  max-width: 700px;
  margin: 0 auto;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 12px;
  backdrop-filter: blur(6px);
}

.case-points {
  list-style: none; 
  padding-left: 0;
  margin: 0;
  line-height: 1.7;
  font-size: 16px;
  color: #f0f0f0;
  text-align: center;
}



/* Эффекты при наведении */
.case:hover .case-image img {
    opacity: 0;
}

.case:hover .case-overlay {
    opacity: 1;
}



.order {
    text-align: center;
    padding: 50px 20px;
}

.footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 50px 20px;
    border-top: 1px solid #333;
}

.logo-footer {
    font-size: 40px;
    font-weight: bold;
    color: #1fa083;
    margin-bottom: 20px;
}

.about {
    text-align: center;
    max-width: 400px;
    font-size: 14px;
}


/* --- FLET FULL CHAT WINDOW --- */
.flet-chat-wrapper {
    width: 100%;
    max-width: 1100px; /* увеличиваем максимальную ширину */
    margin: 40px auto 0;
    position: relative;
}

.chat-background {
    border-radius: 40px;
    overflow: hidden;
    position: relative;
    padding: 30px 20px 80px;
    min-height: 400px;
}

.chat-logo {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 80px;
    height: auto;
    z-index: 2;
}

.chat-header {
    text-align: center;
    font-weight: bold;
    color: #fff;
    font-size: 20px;
    margin-bottom: 10px;
    background: #1e1e1e;
    padding: 10px 20px;
    border-radius: 20px;
    display: inline-block;
    margin-left: auto;
    margin-right: auto;
}

.chat-body {
    flex-grow: 1;
    overflow-y: auto;
    padding: 10px;
    scroll-behavior: smooth;
}

.message {
    margin-bottom: 10px;
    padding: 10px 15px;
    border-radius: 15px;
    max-width: 80%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.message.bot {
    background-color: #333;
    color: #1fa083;
}

.message.user {
    background-color: #1fa083;
    color: #000;
    margin-left: auto;
}

.chat-footer {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    display: flex;
    background: #333;
    border-radius: 50px;
    overflow: hidden;
    
}

.chat-footer input {
    flex-grow: 1;
    padding: 15px;
    border: none;
    background: transparent;
    color: white;
    font-size: 16px;
}

.chat-footer input::placeholder {
    color: #aaa;
}

.chat-footer button {
    background: #1fa083;
    border: none;
    padding: 0 20px;
    font-size: 20px;
    cursor: pointer;
    transition: transform 0.3s ease, background 0.3s ease;
  }
  
  /* При наведении */
  .chat-footer button:hover {
    transform: scale(1.1);
    background: #17c9a5; /* Сделаем цвет чуть ярче при наведении */
  }
  

@keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .message {
    animation: fadeIn 0.4s ease forwards;
  }

  /* Анимация мигания текста в placeholder */
@keyframes blinkPlaceholder {
    0%, 100% {
      opacity: 1;
    }
    50% {
      opacity: 0.4;
    }
  }
  
  /* Применяем к input */
  .chat-footer input::placeholder {
    color: #aaa;
    animation: blinkPlaceholder 2s infinite;
  }
  
  /* блоки шагов*/
  .process {
    padding: 80px 40px;
    text-align: center;
    z-index: 2;
}

.process h2 {
    font-size: 32px;
    margin-bottom: 60px;
    color: #fff; /* СДЕЛАЛИ БЕЛЫМ */
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 40px; /* УМЕНЬШИЛИ ОТСТУП */
    position: relative;
}

/* Шаг */
.step {
    width: 60%; /* РАСТЯГИВАЕМ БЛОКИ */
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    transform: translateX(50px);
    transition: 0.8s ease;
    position: relative;
    text-align: left;
}

.step.left {
    align-self: flex-start;
    transform: translateX(-50px);
}

.step.right {
    align-self: flex-end;
}

.step h3 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 24px;
}

.step p {
    font-size: 16px;
    color: #ccc;
    line-height: 1.6;
}

.step-number {
    position: absolute;
    top: -30px;
    left: 20px;
    font-size: 40px;
    font-weight: bold;
    color: #1fa083;
    opacity: 0.3;
}

/* Активация анимации */
.step.show {
    opacity: 1;
    transform: translateX(0);
}

/* блок о нас  */

.team-block {
  background: transparent; /* убираем цвет фона */
  position: relative;
  z-index: 1; /* выше базового, но не перекрывает fixed -1 */
}

.full-divider {
  height: 4px;
  width: 100%;
  background: #1fa083;
  margin-bottom: 60px;
  /* Удалить glow */
  filter: none;
}

.team-content.split {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1300px;
    margin: 0 auto;
    gap: 60px;
}

.team-text {
    max-width: 650px;
}

.team-text h3 {
    font-size: 26px;
    color: #fff;
    margin-bottom: 20px;
}

.team-text p {
    font-size: 15px;
    color: #ccc;
    margin-bottom: 12px;
    line-height: 1.7;
}

.stack {
    color: #1fa083;
    font-weight: 500;
    margin-top: 20px;
}

.team-logo img {
    width: 300px;
    height: auto;
    filter: brightness(1.1);
}


.highlight-link {
    color: #1fa083;
    font-weight: 500;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.highlight-link:hover {
    color: #17c9a5;
}


.contact-form-section {
    padding: 100px 40px;
    background: #070707; /* ← как у body */
    text-align: center;
    position: relative;
    z-index: 2;
}



.contact-form-section h2 {
    font-size: 28px;
    color: #fff;
    margin-bottom: 10px;
    font-weight: 700;
}

.contact-form-section p {
    color: #888;
    margin-bottom: 30px;
    font-size: 15px;
    font-weight: 400;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input,
.contact-form textarea {
    background: #131313;
    border: 1px solid #2d2d2d;
    padding: 16px 20px;
    font-size: 15px;
    color: #fff;
    border-radius: 12px;
    transition: border 0.3s, box-shadow 0.3s;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #666;
    font-weight: 300;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #1fa083;
    box-shadow: 0 0 8px rgba(31, 160, 131, 0.5);
}

.contact-form button {
    padding: 14px 30px;
    background: #1fa083;
    color: #000;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: transform 0.2s, background 0.3s;
}

.contact-form button:hover {
    background: #17c9a5;
    transform: scale(1.03);
}






.main-footer {
    background: #0a0a0a;
    color: #fff;
    padding: 40px 60px 20px;
    font-size: 14px;
    z-index: 5;
    margin-top: auto; /* ✅ ЭТО ОСТАВИТЬ */
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-left a {
    margin-right: 25px;
    color: #ccc;
    transition: 0.3s;
}

.footer-left a:hover {
    color: #1fa083;
}

.footer-center {
    flex: 1;
    text-align: center;
    color: #888;
}

.footer-right {
    text-align: right;
    min-width: 250px;
}

.footer-right a {
    color: #1fa083;
    text-decoration: none;
}

.footer-right a:hover {
    text-decoration: underline;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-icon svg {
    fill: #fff;
    transition: 0.3s;
}

.social-icon:hover svg {
    fill: #1fa083;
}

/* ОБЁРТКА — тянет на всю высоту и размещает футер внизу */
.page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Главный контент (всё, кроме футера) растягивается */
main {
    flex-grow: 1;
}

/* Футер будет снизу */
.main-footer {
    margin-top: auto;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
  }
  
  .page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
  }
  
  main {
    flex-grow: 1;
  }
  
  .main-footer {
    margin-top: auto;
  }
  

  /* Страница price */

  .pricing-section {
    padding: 100px 20px;
    background-color: #000;
    color: #fff;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .section-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 60px;
    text-align: center;
  }
  
  .pricing-category {
    margin-bottom: 50px;
  }
  
  .pricing-category h2 {
    font-size: 24px;
    border-bottom: 1px solid #2a2a2a;
    padding-bottom: 10px;
    margin-bottom: 20px;
    color: #1fa083;
  }
  
  .pricing-category ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .pricing-category li {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px dashed #333;
    font-size: 18px;
  }
  
  .pricing-category li span {
    flex: 1;
  }
  
  .pricing-category li strong {
    color: #fff;
    min-width: 100px;
    text-align: right;
  }
  
  .note {
    text-align: center;
    margin-top: 40px;
    font-size: 16px;
    color: #999;
  }

  .neon-divider {
    width: 100%;
    max-width: 400px;
    height: 2px;
    margin: 40px auto 0;
    background: #00ffd0;
    box-shadow:
      0 0 5px #00ffd0,
      0 0 10px #00ffd0,
      0 0 20px #00ffd0,
      0 0 30px #00ffd0;
    border-radius: 1px;
  }
  
  .pricing-bundles {
    padding: 100px 20px;
    background-color: #111;
    color: #fff;
    text-align: center;
  }
  
  .bundle-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin-top: 40px;
  }
  
  .bundle-card {
    background: #000;
    border: 1px solid #00ffd0;
    box-shadow: 0 0 15px rgba(0, 255, 208, 0.3);
    border-radius: 12px;
    padding: 30px 20px;
    width: 300px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 420px; /* регулируй при необходимости */
    transition: transform 0.3s ease;
  }
  
  .bundle-card:hover {
    transform: scale(1.03);
  }
  
  .bundle-card h3 {
    font-size: 22px;
    margin-bottom: 20px;
    color: #00ffd0;
  }
  
  .bundle-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    font-size: 16px;
    line-height: 1.6;
  }
  
  .bundle-price {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
  }
  
  .popular {
    border: 2px solid #00ffd0;
    background: linear-gradient(180deg, #00110f, #000);
  }
  

  .bundle-btn {
    display: inline-block;
    margin-top: auto; /* ВЫРАВНИВАЕТ КНОПКУ ВНИЗ */
    padding: 10px 20px;
    background: transparent;
    border: 1px solid #00ffd0;
    color: #00ffd0;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s ease;
    border-radius: 4px;
  }
  
  .bundle-btn:hover {
    background-color: #00ffd0;
    color: #000;
  }
  
  .support-info {
    background-color: #0d0d0d;
    padding: 60px 20px;
    text-align: center;
    color: #fff;
  }
  
  .support-info h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #00ffd0;
  }
  
  .support-info ul {
    list-style: none;
    padding: 0;
    font-size: 16px;
    line-height: 2;
    max-width: 600px;
    margin: 0 auto;
  }
  

  .faq-section {
    padding: 80px 20px;
    background-color: #0e0e0e;
    color: #fff;
    max-width: 900px;
    margin: 0 auto;
  }
  
  .faq-section h2 {
    text-align: center;
    font-size: 28px;
    color: #fff;
    margin-bottom: 40px;
  }
  
  .faq-item {
    margin-bottom: 30px;
  }
  
  .faq-item h4 {
    font-size: 18px;
    color: #00ffd0;
    margin-bottom: 10px;
  }
  
  .faq-item p {
    font-size: 16px;
    line-height: 1.6;
    color: #ccc;
  }
  
  .main.centered {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 150px 20px;
    min-height: 100vh;
    text-align: center;
    overflow: hidden;
}

.main.centered h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.main.centered p {
    font-size: 18px;
    margin-bottom: 30px;
    color: #ccc;
}

.content {
  animation: fadeInUp 1s ease-out forwards;
  opacity: 0;
  transform: translateY(20px);
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.bundle-card .badge {
  background: #00ffaa;
  color: #000;
  font-weight: 600;
  padding: 4px 8px;
  display: inline-block;
  border-radius: 12px;
  margin-bottom: 8px;
  font-size: 13px;
}


.case-wrapper {
  margin-bottom: 60px;
  text-align: center;
}

.case-btn {
  display: inline-block;
  margin-top: 15px;
  padding: 12px 32px;
  border: 1px solid #1fa083;
  color: #fff;
  background: transparent;
  font-weight: 500;
  font-size: 16px;
  text-decoration: none;
  border-radius: 12px;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.case-btn:hover {
  background-color: #1fa083;
  color: #000;
  box-shadow: 0 0 2px #1fa083, 0 0 10px #1fa083;
  transform: scale(1.03);
}



.bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.25; /* настрой яркость по вкусу */
  pointer-events: none;
}

.language-selector {
  position: relative;
  display: inline-block;
  font-family: 'Outfit', sans-serif;
}

#language-button {
  background: transparent;
  border: 1px solid #1fa083;
  color: #fff;
  padding: 8px 16px;
  font-weight: 600;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.3s ease;
  font-size: 14px;
}

.language-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: #111;
  border: 1px solid #1fa083;
  border-radius: 10px;
  display: none;
  z-index: 100;
  overflow: hidden; /* это важно — устранит "выпадание" углов */
  min-width: 100%;
}

.language-selector.open .language-dropdown {
  display: block;
}


.language-dropdown li {
  padding: 10px 15px;
  color: #1fa083;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
  white-space: nowrap;
  text-align: left;
  font-size: 14px;
}

.language-dropdown li:hover {
  background: #1fa083;
  color: #000;
}

.message.bot,
.message.user {
  max-width: 90%;
  padding: 12px 16px;
  border-radius: 10px;
  margin: 10px;
  word-wrap: break-word;
  white-space: pre-wrap;
  line-height: 1.5;
}

.message.bot {
  background-color: #1fa0831a;
  color: #fff;
  align-self: flex-start;
}

.message.user {
  background-color: #1fa083;
  color: #fff;
  align-self: flex-end;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #070707;
    color: #fff;
    font-family: 'Outfit', sans-serif;
}

h1, h2, h3, h4 {
    font-weight: 600;
}


a {
    color: #fff;
    text-decoration: none;
    margin-left: 20px;
    font-size: 14px;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    height: 110px; /* фиксируем высоту хэдера */
    position: relative; /* обязательно для контроля вылезающих элементов */
    overflow: visible;  /* разрешаем выход за пределы */
}

html, body {
  overflow-x: hidden !important;
}


.menu {
    display: flex;
    gap: 20px;
    margin-left: 400px;
    overflow: hidden;
    position: relative;
}

.menu-btn {
    display: inline-block;
    padding: 15px 30px;
    font-size: 18px;
    color: #fff;
    position: relative;
    overflow: hidden;
    transition: 0.3s;
}

.menu-btn::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    height: 2px;
    width: 0;
    background: #1fa083;
    transition: 0.4s ease;
    box-shadow: 0 0 5px #1fa083,
                0 0 10px #1fa083,
                0 0 20px #1fa083,
                0 0 40px #1fa083;
    filter: drop-shadow(0 0 5px #1fa083);
}


.menu-btn:hover::after {
    width: 100%; /* появляется полностью */
}

.menu-btn.active {
    color: #1fa083;
    text-shadow: 0 0 10px #00ffcc, 0 0 20px #00ffcc;
}



.lang {
    color: #fff;
    font-weight: bold;
    font-size: 14px;
}

.line {
    border: 0;
    height: 1px;
    background: #fff;
    margin: 0 10px;
}


.logo img {
    width: 300px;   /* или больше */
    height: auto;
    position: relative;
    top: 20px;     /* сдвиг вверх */
}


.main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 100px 40px;
}

.main .content h1 {
    font-size: 36px;
    margin-bottom: 15px;
    position: relative; /* Обязательно */
    z-index: 2; /* Контент выше glow */
}

.btn {
  border: 1px solid #1fa083;
  padding: 12px 32px;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  border-radius: 8px;
  transition: background 0.3s ease, transform 0.3s ease, color 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn:hover {
  background: #1fa083;
  color: #000;
  transform: scale(1.03);
}

.btn:active {
  transform: scale(0.97);
}


.cases {
    padding: 50px 40px;
    text-align: center;
}

.cases-nav span {
    display: inline-block;
    margin: 0 10px;
    border: 1px solid #fff;
    padding: 5px 10px;
    font-size: 14px;
}

.case-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.case {
    background: rgba(0, 0, 0, 0.05); /* полупрозрачный */
    padding: 20px;
    font-size: 18px;
    font-weight: 500;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    transition: transform 0.3s ease;
    position: relative;

}
.case:hover {
    transform: scale(1.02);
}

.case-image img {
    width: 100%;
    height: auto;
    border-radius: 24px;
    transition: opacity 0.4s ease;
    display: block;
    position: relative;
    z-index: 1;

}

/* Оверлей с логотипом и описанием */
.case-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 15, 15, 0.85);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    padding: 20px;
    text-align: center;
    border-radius: 24px;
    transition: opacity 0.4s ease;
    z-index: 2;

}



.case-desc {
  font-size: 16px;
  line-height: 1.6;
  color: #f0f0f0;
  text-align: center;
  padding: 20px 30px;
  max-width: 700px;
  margin: 0 auto;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 12px;
  backdrop-filter: blur(6px);
}

.case-points {
  list-style: none; 
  padding-left: 0;
  margin: 0;
  line-height: 1.7;
  font-size: 16px;
  color: #f0f0f0;
  text-align: center;
}



/* Эффекты при наведении */
.case:hover .case-image img {
    opacity: 0;
}

.case:hover .case-overlay {
    opacity: 1;
}



.order {
    text-align: center;
    padding: 50px 20px;
}

.footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 50px 20px;
    border-top: 1px solid #333;
}

.logo-footer {
    font-size: 40px;
    font-weight: bold;
    color: #1fa083;
    margin-bottom: 20px;
}

.about {
    text-align: center;
    max-width: 400px;
    font-size: 14px;
}


/* --- FLET FULL CHAT WINDOW --- */
.flet-chat-wrapper {
    width: 100%;
    max-width: 1100px; /* увеличиваем максимальную ширину */
    margin: 40px auto 0;
    position: relative;
}

.chat-background {
    border-radius: 40px;
    overflow: hidden;
    position: relative;
    padding: 30px 20px 80px;
    min-height: 400px;
}

.chat-logo {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 80px;
    height: auto;
    z-index: 2;
}

.chat-window {
  margin: 0 auto;
  background: rgba(30, 30, 30, 0.8);
  border-radius: 20px;
  padding: 20px 15px 70px; /* нижний отступ для input */
  width: 100%;
  max-width: 1195px;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 0 20px rgba(31, 160, 131, 0.3);
}

#hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.burger-icon.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
  background-color: white !important;
}

.burger-icon.open span:nth-child(2) {
  opacity: 0;
}

.burger-icon.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
  background-color: white !important;
}


section.main {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}


.chat-header {
    text-align: center;
    font-weight: bold;
    color: #fff;
    font-size: 20px;
    margin-bottom: 10px;
    background: #1e1e1e;
    padding: 10px 20px;
    border-radius: 20px;
    display: inline-block;
    margin-left: auto;
    margin-right: auto;
}

.chat-body {
    flex-grow: 1;
    overflow-y: auto;
    padding: 10px;
    scroll-behavior: smooth;
}

.message {
    margin-bottom: 10px;
    padding: 10px 15px;
    border-radius: 15px;
    max-width: 80%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.message.bot {
    background-color: #333;
    color: #1fa083;
}

.message.user {
    background-color: #1fa083;
    color: #000;
    margin-left: auto;
}

.chat-footer {
  display: flex;
  background: #333;
  border-radius: 50px;
  overflow: hidden;
  margin-top: 20px; /* отступ от сообщений */
}

.chat-footer input {
    flex-grow: 1;
    padding: 15px;
    border: none;
    background: transparent;
    color: white;
    font-size: 16px;
}

.chat-footer input::placeholder {
    color: #aaa;
}

.chat-footer button {
    background: #1fa083;
    border: none;
    padding: 0 20px;
    font-size: 20px;
    cursor: pointer;
    transition: transform 0.3s ease, background 0.3s ease;
  }
  
  /* При наведении */
  .chat-footer button:hover {
    transform: scale(1.1);
    background: #17c9a5; /* Сделаем цвет чуть ярче при наведении */
  }
  

@keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .message {
    animation: fadeIn 0.4s ease forwards;
  }

  /* Анимация мигания текста в placeholder */
@keyframes blinkPlaceholder {
    0%, 100% {
      opacity: 1;
    }
    50% {
      opacity: 0.4;
    }
  }
  
  /* Применяем к input */
  .chat-footer input::placeholder {
    color: #aaa;
    animation: blinkPlaceholder 2s infinite;
  }
  
  /* блоки шагов*/
  .process {
    padding: 80px 40px;
    text-align: center;
    z-index: 2;
}

.process h2 {
    font-size: 32px;
    margin-bottom: 60px;
    color: #fff; /* СДЕЛАЛИ БЕЛЫМ */
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 40px; /* УМЕНЬШИЛИ ОТСТУП */
    position: relative;
}

/* Шаг */
.step {
    width: 60%; /* РАСТЯГИВАЕМ БЛОКИ */
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    transform: translateX(50px);
    transition: 0.8s ease;
    position: relative;
    text-align: left;
}

.step.left {
    align-self: flex-start;
    transform: translateX(-50px);
}

.step.right {
    align-self: flex-end;
}

.step h3 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 24px;
}

.step p {
    font-size: 16px;
    color: #ccc;
    line-height: 1.6;
}

.step-number {
    position: absolute;
    top: -30px;
    left: 20px;
    font-size: 40px;
    font-weight: bold;
    color: #1fa083;
    opacity: 0.3;
}

/* Активация анимации */
.step.show {
    opacity: 1;
    transform: translateX(0);
}

/* блок о нас  */

.team-block {
  background: transparent; /* убираем цвет фона */
  position: relative;
  z-index: 1; /* выше базового, но не перекрывает fixed -1 */
}

.full-divider {
  height: 4px;
  width: 100%;
  background: #1fa083;
  margin-bottom: 60px;
  /* Удалить glow */
  filter: none;
}

.team-content.split {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1300px;
    margin: 0 auto;
    gap: 60px;
}

.team-text {
    max-width: 650px;
}

.team-text h3 {
    font-size: 26px;
    color: #fff;
    margin-bottom: 20px;
}

.team-text p {
    font-size: 15px;
    color: #ccc;
    margin-bottom: 12px;
    line-height: 1.7;
}

.stack {
    color: #1fa083;
    font-weight: 500;
    margin-top: 20px;
}

.team-logo img {
    width: 300px;
    height: auto;
    filter: brightness(1.1);
}


.highlight-link {
    color: #1fa083;
    font-weight: 500;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.highlight-link:hover {
    color: #17c9a5;
}


.contact-form-section {
    padding: 100px 40px;
    background: #070707; /* ← как у body */
    text-align: center;
    position: relative;
    z-index: 2;
}



.contact-form-section h2 {
    font-size: 28px;
    color: #fff;
    margin-bottom: 10px;
    font-weight: 700;
}

.contact-form-section p {
    color: #888;
    margin-bottom: 30px;
    font-size: 15px;
    font-weight: 400;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input,
.contact-form textarea {
    background: #131313;
    border: 1px solid #2d2d2d;
    padding: 16px 20px;
    font-size: 15px;
    color: #fff;
    border-radius: 12px;
    transition: border 0.3s, box-shadow 0.3s;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #666;
    font-weight: 300;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #1fa083;
    box-shadow: 0 0 8px rgba(31, 160, 131, 0.5);
}

.contact-form button {
    padding: 14px 30px;
    background: #1fa083;
    color: #000;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: transform 0.2s, background 0.3s;
}

.contact-form button:hover {
    background: #17c9a5;
    transform: scale(1.03);
}






.main-footer {
    background: #0a0a0a;
    color: #fff;
    padding: 40px 60px 20px;
    font-size: 14px;
    z-index: 5;
    margin-top: auto; /* ✅ ЭТО ОСТАВИТЬ */
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-left a {
    margin-right: 25px;
    color: #ccc;
    transition: 0.3s;
}

.footer-left a:hover {
    color: #1fa083;
}

.footer-center {
    flex: 1;
    text-align: center;
    color: #888;
}

.footer-right {
    text-align: right;
    min-width: 250px;
}

.footer-right a {
    color: #1fa083;
    text-decoration: none;
}

.footer-right a:hover {
    text-decoration: underline;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-icon svg {
    fill: #fff;
    transition: 0.3s;
}

.social-icon:hover svg {
    fill: #1fa083;
}

/* ОБЁРТКА — тянет на всю высоту и размещает футер внизу */
.page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Главный контент (всё, кроме футера) растягивается */
main {
    flex-grow: 1;
}

/* Футер будет снизу */
.main-footer {
    margin-top: auto;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
  }
  
  .page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
  }
  
  main {
    flex-grow: 1;
  }
  
  .main-footer {
    margin-top: auto;
  }
  

  /* Страница price */

  .pricing-section {
    padding: 100px 20px;
    background-color: #000;
    color: #fff;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .section-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 60px;
    text-align: center;
  }
  
  .pricing-category {
    margin-bottom: 50px;
  }
  
  .pricing-category h2 {
    font-size: 24px;
    border-bottom: 1px solid #2a2a2a;
    padding-bottom: 10px;
    margin-bottom: 20px;
    color: #1fa083;
  }
  
  .pricing-category ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .pricing-category li {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px dashed #333;
    font-size: 18px;
  }
  
  .pricing-category li span {
    flex: 1;
  }
  
  .pricing-category li strong {
    color: #fff;
    min-width: 100px;
    text-align: right;
  }
  
  .note {
    text-align: center;
    margin-top: 40px;
    font-size: 16px;
    color: #999;
  }

  .neon-divider {
    width: 100%;
    max-width: 400px;
    height: 2px;
    margin: 40px auto 0;
    background: #00ffd0;
    box-shadow:
      0 0 5px #00ffd0,
      0 0 10px #00ffd0,
      0 0 20px #00ffd0,
      0 0 30px #00ffd0;
    border-radius: 1px;
  }
  
  .pricing-bundles {
    padding: 100px 20px;
    background-color: #111;
    color: #fff;
    text-align: center;
  }
  
  .bundle-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin-top: 40px;
  }
  
  .bundle-card {
    background: #000;
    border: 1px solid #00ffd0;
    box-shadow: 0 0 15px rgba(0, 255, 208, 0.3);
    border-radius: 12px;
    padding: 30px 20px;
    width: 300px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 420px; /* регулируй при необходимости */
    transition: transform 0.3s ease;
  }
  
  .bundle-card:hover {
    transform: scale(1.03);
  }
  
  .bundle-card h3 {
    font-size: 22px;
    margin-bottom: 20px;
    color: #00ffd0;
  }
  
  .bundle-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    font-size: 16px;
    line-height: 1.6;
  }
  
  .bundle-price {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
  }
  
  .popular {
    border: 2px solid #00ffd0;
    background: linear-gradient(180deg, #00110f, #000);
  }
  

  .bundle-btn {
    display: inline-block;
    margin-top: auto; /* ВЫРАВНИВАЕТ КНОПКУ ВНИЗ */
    padding: 10px 20px;
    background: transparent;
    border: 1px solid #00ffd0;
    color: #00ffd0;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s ease;
    border-radius: 4px;
  }
  
  .bundle-btn:hover {
    background-color: #00ffd0;
    color: #000;
  }
  
  .support-info {
    background-color: #0d0d0d;
    padding: 60px 20px;
    text-align: center;
    color: #fff;
  }
  
  .support-info h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #00ffd0;
  }
  
  .support-info ul {
    list-style: none;
    padding: 0;
    font-size: 16px;
    line-height: 2;
    max-width: 600px;
    margin: 0 auto;
  }
  

  .faq-section {
    padding: 80px 20px;
    background-color: #0e0e0e;
    color: #fff;
    max-width: 900px;
    margin: 0 auto;
  }
  
  .faq-section h2 {
    text-align: center;
    font-size: 28px;
    color: #fff;
    margin-bottom: 40px;
  }
  
  .faq-item {
    margin-bottom: 30px;
  }
  
  .faq-item h4 {
    font-size: 18px;
    color: #00ffd0;
    margin-bottom: 10px;
  }
  
  .faq-item p {
    font-size: 16px;
    line-height: 1.6;
    color: #ccc;
  }
  
  .main.centered {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 150px 20px;
    min-height: 100vh;
    text-align: center;
    overflow: hidden;
}

.email-block {
  margin-top: 8px;
  font-size: 14px;
  color: #fff;
  text-align: left;
}

.email-block a {
  color: #1fa083;
  text-decoration: none;
}

.email-block a:hover {
  text-decoration: underline;
}


.main.centered h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.main.centered p {
    font-size: 18px;
    margin-bottom: 30px;
    color: #ccc;
}

.content {
  animation: fadeInUp 1s ease-out forwards;
  opacity: 0;
  transform: translateY(20px);
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.bundle-card .badge {
  background: #00ffaa;
  color: #000;
  font-weight: 600;
  padding: 4px 8px;
  display: inline-block;
  border-radius: 12px;
  margin-bottom: 8px;
  font-size: 13px;
}



.case-wrapper {
  margin-bottom: 60px;
  text-align: center;
}

.case-btn {
  display: inline-block;
  margin-top: 15px;
  padding: 12px 32px;
  border: 1px solid #1fa083;
  color: #fff;
  background: transparent;
  font-weight: 500;
  font-size: 16px;
  text-decoration: none;
  border-radius: 12px;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.case-btn:hover {
  background-color: #1fa083;
  color: #000;
  box-shadow: 0 0 2px #1fa083, 0 0 10px #1fa083;
  transform: scale(1.03);
}



.bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.25; /* настрой яркость по вкусу */
  pointer-events: none;
}

.language-selector {
  position: relative;
  display: inline-block;
  font-family: 'Outfit', sans-serif;
}

#language-button {
  background: transparent;
  border: 1px solid #1fa083;
  color: #fff;
  padding: 8px 16px;
  font-weight: 600;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.3s ease;
  font-size: 14px;
}

.language-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: #111;
  border: 1px solid #1fa083;
  border-radius: 10px;
  display: none;
  z-index: 100;
  overflow: hidden; /* это важно — устранит "выпадание" углов */
  min-width: 100%;
}

.language-selector.open .language-dropdown {
  display: block;
}


.language-dropdown li {
  padding: 10px 15px;
  color: #1fa083;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
  white-space: nowrap;
  text-align: left;
  font-size: 14px;
}

.language-dropdown li:hover {
  background: #1fa083;
  color: #000;
}

.message.bot,
.message.user {
  max-width: 90%;
  padding: 12px 16px;
  border-radius: 10px;
  margin: 10px;
  word-wrap: break-word;
  white-space: pre-wrap;
  line-height: 1.5;
}

.message.bot {
  background-color: #1fa0831a;
  color: #fff;
  align-self: flex-start;
}

.message.user {
  background-color: #1fa083;
  color: #fff;
  align-self: flex-end;
}

.language-menu {
  display: none;
  position: absolute;
  background-color: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  border-radius: 5px;
  list-style: none;
  padding: 10px;
  z-index: 1001;
}

.language-menu li {
  margin: 5px 0;
}

.language-selector {
  position: relative;
}

.language-dropdown {
  display: none;
  position: absolute;
  background: white;
  list-style: none;
  padding: 0;
  margin: 0;
  border: 1px solid #ccc;
  z-index: 1000;
}

.language-dropdown.open {
  display: block;
}


@media (max-width: 768px) {
  .logo img {
    width: 200px; /* уменьшаем размер, чтобы не конфликтовало с бургером */
    margin-left: -80px; /* или -20px если нужно сильнее сместить */
    top: 5px; /* уменьшаем отступ сверху */
  }
}


/* адаптация кейсов  */

@media (max-width: 768px) {
  .case-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }

.case-wrapper {
  width: 100%;
  max-width: none;
  padding: 0 10px; /* отступы по краям */
  box-sizing: border-box;
}

  .case {
    background-color: #111;
    border-radius: 20px;
    overflow: hidden;
    padding-bottom: 20px;
  }

  .case-image img {
    width: 100%;
    height: auto;
    display: block;
    border-bottom: none;
  }

  .case-overlay {
    display: none !important; 
  }

  .case-btn {
    margin-top: 15px;
    display: block;
    width: 90%;
    max-width: 300px;
    text-align: center;
    margin-inline: auto;
  }
}

@media (max-width: 768px) {
  .case-overlay {
    display: none !important; /* 💥 Убираем полностью описание */
  }

  .case-image {
    transition: transform 0.3s ease;
    cursor: pointer;
  }

  .case-image.zoomed {
    transform: scale(1.2);
    z-index: 10;
  }
}

@media (max-width: 768px) {
  .case:hover .case-image img {
    opacity: 1 !important; /* ❗ Отменяем исчезновение */
  }
}

@media (max-width: 768px) {
  .steps {
    gap: 30px;
    padding: 0 20px;
  }

  .step {
    width: 100% !important;
    transform: none !important;
    align-self: center !important;
    text-align: left;
    padding: 30px 20px;
  }

  .step.show {
    transform: none !important;
    opacity: 1;
  }

  .step-number {
    left: 10px;
    top: -20px;
    font-size: 28px;
  }
}

@media (max-width: 480px) {
  .chat-logo {
    display: none;
  }
}


@media (max-width: 768px) {
  .team-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .team-text {
    width: 90%;
  }

  .team-logo {
    margin-top: 20px;
    margin-bottom: 40px;
  }

  .team-logo img {
    max-width: 120px;
  }
}

.footer-container {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-left {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 10px;
}
.footer-center {
  margin-bottom: 10px;
}

.footer-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.telegram-block {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  gap: 6px;
  margin-top: 4px;
  white-space: nowrap;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 8px;
}

/* Единый фон для всех секций на второй странице */
.pricing-section,
.pricing-bundles,
.support-info,
.contact-form-section,
.faq-section {
  background-color: #0a0a0a;
}

/* 🔹 Планшеты (iPad, от 768px до 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
  body {
    font-size: 16px;
  }

  .menu {
    gap: 24px;
  }

  .case-wrapper {
    max-width: 90%;
    margin: 0 auto;
  }

  .bundle-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .team-content {
    flex-direction: column;
    gap: 40px;
  }

  .chat-window {
    max-width: 90%;
  }
}

/* 🔸 Большие планшеты и маленькие ноутбуки (1025px – 1280px) */
@media (min-width: 1025px) and (max-width: 1280px) {
  .menu {
    gap: 32px;
  }

  .team-content {
    gap: 60px;
  }

  .case-wrapper {
    max-width: 500px;
  }
}


.language-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.language-modal-content {
  background: #0a0a0a;
  border: 2px solid #1fa083;
  padding: 30px;
  border-radius: 16px;
  text-align: center;
  color: white;
  width: 90%;
  max-width: 400px;
}

.language-options {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.lang-option {
  background: transparent;
  color: white;
  border: 1px solid #1fa083;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lang-option:hover {
  background-color: #1fa083;
  color: #000;
}


/* Бургер иконка */
.burger-icon {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  cursor: pointer;
  z-index: 1001;
  position: relative;
}

.burger-icon span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: white !important; /* Обязательное условие */
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Крестик при открытии */
.burger-icon.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.burger-icon.open span:nth-child(2) {
  opacity: 0;
}

.burger-icon.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}


.footer-privacy {
  margin-top: 5px;
  font-size: 14px;
  text-align: center;
}

.footer-privacy a {
  color: #888;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.footer-privacy a:hover {
  color: #fff;
}



/* === SUPPORT SECTION === */
.support-section {
  background: #0f0f0f;
  color: #fff;
  text-align: center;
  padding: 100px 20px;
}

.support-subtitle {
  color: #9ca3af;
  max-width: 700px;
  margin: 0 auto 50px;
  line-height: 1.6;
  font-size: 1.1rem;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 30px;
  justify-content: center;
  align-items: stretch;
  max-width: 1000px;
  margin: 0 auto;
}

.support-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 40px 25px;
  backdrop-filter: blur(10px);
  transition: 0.3s ease;
  position: relative;
}

.support-card:hover {
  transform: translateY(-6px);
  border-color: #1fa083;
  box-shadow: 0 0 20px rgba(31, 160, 131, 0.25);
}

.support-card h3 {
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.support-price {
  color: #1fa083;
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.support-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
}

.support-card ul li {
  margin: 8px 0;
  color: #d1d5db;
}

.support-btn {
  display: inline-block;
  background: #1fa083;
  color: #fff;
  padding: 12px 28px;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
}

.support-btn:hover {
  background: #17c59f;
  transform: scale(1.05);
}

.popular {
  border-color: #1fa083;
}

.badge {
  position: absolute;
  top: -12px;
  right: 18px;
  background: #1fa083;
  color: #fff;
  font-size: 0.8rem;
  padding: 4px 10px;
  border-radius: 8px;
}




/* --- Выровнять кнопки по низу карточек --- */
.support-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Чтобы контент не лип к кнопке */
.support-card ul {
  flex-grow: 1;
}

/* Немного визуального баланса */
.support-btn {
  margin-top: auto;
}
