.faq-section {
    padding: 60px 20px;
    margin-top: 5rem;
  }
  
  .faq-container {
    max-width: 800px;
    margin: 0 auto;
  }
  
  .faq-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 40px;
    position: relative;
  }
  
  .faq-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #2563eb, #1e40af);
    margin: 15px auto 0;
    border-radius: 2px;
  }
  
  .faq-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  
  .faq-item {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    transition: all 0.3s ease;
  }
  
  .faq-item:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  }
  
  .faq-question {
    padding: 20px 24px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.2s;
  }
  
  .faq-question:hover {
    background-color: #f8fafc;
  }
  
  .faq-question h3 {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 600;
    color: #1e293b;
  }
  
  .faq-toggle {
    font-size: 1.5rem;
    font-weight: 300;
    color: #64748b;
    transition: transform 0.3s ease;
  }
  
  .faq-answer {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
  }
  
  .faq-answer p {
    margin: 0;
    padding-bottom: 20px;
    line-height: 1.6;
    color: #475569;
  }
  
  .faq-item.active .faq-answer {
    max-height: 300px;
    padding-top: 0;
  }
  
  .faq-item.active .faq-toggle {
    transform: rotate(45deg);
  }

.info-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow:
    0 4px 15px rgba(59, 130, 246, 0.35),
    0 0 0 4px rgba(59, 130, 246, 0.15);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
  overflow: hidden;
}

.info-btn::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(45deg, #60a5fa, #3b82f6, #1d4ed8, #60a5fa);
  border-radius: 50%;
  z-index: -1;
  animation: rotate 4s linear infinite;
  filter: blur(8px);
  opacity: 0;
  transition: opacity 0.3s;
}

.info-btn:hover::before {
  opacity: 0.7;
}

.info-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow:
    0 8px 25px rgba(59, 130, 246, 0.4),
    0 0 0 6px rgba(59, 130, 246, 0.2);
}

.info-btn:active {
  transform: translateY(-1px) scale(1.02);
}

.info-icon {
  color: white;
  font-size: 24px;
  animation: float 3s ease-in-out infinite;
  position: relative;
  z-index: 2;
}

.info-icon svg {
  width: 24px;
  height: 24px;
  stroke: white;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-4px);
  }
}

/* Пульсация при загрузке страницы */
.info-btn {
  animation: pulse-entry 1.5s ease-out;
}

@keyframes pulse-entry {
  0% {
    transform: scale(0.8);
    opacity: 0;
  }

  60% {
    transform: scale(1.15);
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}


#infoModal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  /* Slightly darker backdrop for better contrast */
  align-items: center;
  justify-content: center;
  z-index: 2000;
  backdrop-filter: blur(4px);
  /* Subtle blur for backdrop */
}

#infoModalContent {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.85));
  /* Glassmorphism effect */
  border-radius: 16px;
  padding: 40px 32px;
  max-width: 520px;
  width: 90%;
  position: relative;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(59, 130, 246, 0.1);
  /* Enhanced shadow and border */
  animation: slideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
  /* Frosted glass effect */
  border: 1px solid rgba(255, 255, 255, 0.2);
}

@keyframes slideIn {
  from {
    transform: translateY(-30px) scale(0.95);
    opacity: 0;
  }

  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

#infoCloseModal {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 28px;
  cursor: pointer;
  color: #1e40af;
  /* Match VK blue-dark */
  background: rgba(255, 255, 255, 0.9);
  border: none;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

#infoCloseModal:hover {
  background: #2563eb;
  /* VK blue on hover */
  color: white;
  transform: rotate(90deg);
  /* Subtle rotation for interactivity */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

#infoModalContent h2 {
  margin-bottom: 24px;
  font-size: 23px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  /* Centered for elegance */
  background: linear-gradient(to right, #000000, #000000);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  /* Gradient text effect */
}

#infoModalContent p {
  color: #1f2937;
  /* Darker text for readability */
  line-height: 1.7;
  margin-bottom: 20px;
  font-size: 16px;
  font-weight: 400;
  text-align: justify;
  /* Justified text for a polished look */
}

/* Add a subtle divider between paragraphs */
#infoModalContent p:not(:last-child)::after {
  content: '';
  display: block;
  width: 60px;
  height: 1px;
  background: linear-gradient(to right, transparent, #60a5fa, transparent);
  margin: 20px auto;
}




@media screen and (max-width: 600px) {
#inputGroupSection>div{
            flex-direction: column;
}
main>section>h1{
    font-size: 36px !important;
}
#groupInfo{
    flex-direction: column;
}
#groupInfo>div{
    margin-right: auto;
}
#resetGroup{
        margin-top: 13px;
}
#messageSection>div>div>div>div>button>i{
  font-size: 20px !important;
}
.info-btn{
      width: 48px;
    height: 48px;

}
.info-icon svg {
    width: 21px;
    height: 21px;
}
#infoModal>div>div>h1{
font-size: 26px !important;
}
.faq-title{
  font-size: 1.6rem;
}
}