/* CSS Reset */
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { height: 100%; }
body {
  background: radial-gradient(circle at center, #1f1b2e 0%, #0d0e18 100%);
  color: #FFFFFF;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen,
               Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 1rem;
  width: 100%;
}
.hero {
  text-align: center;
  padding-block: 20px;
  font-size: x-large;
  color: white;
  width: 95%;
  max-width: 450px;
}
.neon-frame {
    position: relative;
    display: inline-block;
    padding: 0.5em 1em;
    overflow: visible;
    z-index: 0;
    margin-bottom: 1rem;
    height: 95px;
    width: 115px;
}

/* основна «труба» */
.neon-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 4px solid #ff007f;
  border-radius: 12px;
  filter: blur(3px);
  z-index: 1;
}

.neon-frame::after {
  content: "";
  position: absolute;
  inset: 2px;
  border: 2px solid #ff00bf;
  border-radius: 10px;
  box-shadow:
    0 0 6px  #ff007f,
    0 0 12px #ff007f,
    0 0 18px #ff007f;
  z-index: 1;
}
.neon-frame h4  {
      position: relative;
      z-index: 2;
      margin-bottom: 0.5em;
      color: #fff;
      text-align: center;
      font-weight: normal;
      font-size: 1rem;
    }
.neon-frame h1 {
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    color: #fff;
    white-space: nowrap;
    font-size: 2.5rem;
    margin: 0;
    }

.carousel {
  position: relative;
  width: 350px;
  height: 400px;
  margin: 0 auto 1.5rem;
  perspective: 1000px;
  width: 95%;
  max-width: 290px;
}
.slides {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.slide {
  position: absolute;
  top: 50%;
  left: 50%;
  transform-origin: center center;
  transition: transform 0.5s ease, opacity 0.5s ease;
  opacity: 0;
}
.slide img {
  width: 100%;
  border-radius: 1rem;
}
.slide.current {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  z-index: 2;
}
.slide.prev {
  transform: translate(-150%, -50%) scale(0.8);
  opacity: 0.7;
  z-index: 1;
}
.slide.next {
  transform: translate(50%, -50%) scale(0.8);
  opacity: 0.7;
  z-index: 1;
}
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  border: none;
  color: #FFFFFF;
  font-size: 1.5rem;
  padding: 0.5rem;
  cursor: pointer;
  border-radius: 50%;
}
.carousel-btn.prev { left: 0.5rem; }
.carousel-btn.next { right: 0.5rem; }
.dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
}
.dot {
  width: 0.6rem;
  height: 0.6rem;
  background-color: #44475A;
  border-radius: 50%;
  cursor: pointer;
}
.dot.active {
  background-color: #8A8FB9;
}
.pricing {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.card {
  flex: 1;
  background-color: #161723;
  border: 2px solid transparent;
  border-radius: 0.75rem;
  padding: 1rem;
  text-align: center;
  position: relative;
  cursor: pointer;
  transition: border-color 0.3s;
}
.card.selected {
  border-color: #6C5DD3;
}
.card .badge {
  position: absolute;
  top: -0.6rem;
  right: -0.6rem;
  background-color: #6C5DD3;
  color: #FFFFFF;
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
  border-radius: 0.5rem;
}
.card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}
.card p {
  font-size: 0.9rem;
  color: #AAAAAA;
}
.btn-trial {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(90deg, #6C5DD3 0%, #8A8FB9 100%);
  color: #FFF;
  text-decoration: none;
  font-size: 1rem;
  padding: 0.75rem 2rem;
  border-radius: 2rem;
  margin-bottom: 1rem;
  transition: opacity 0.3s;
  width: 200px;
  text-align: center;
  border: none;
}
.btn-trial:hover { opacity: 0.9; }
.footer-links {
  display: flex;
  gap: 1rem;
  font-size: 0.8rem;
  color: #6C5DD3;
  margin-bottom: 0.5rem;
}
.btn-trial svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.footer-links a {
  color: inherit;
  text-decoration: none;
}


/* Стиль для заголовка сторінки */
header h1 {
  text-align: center;
  font-size: 3rem; /* Дуже великий шрифт для мобільних */
  margin: 20px 0;
  background: linear-gradient(90deg, #8550ff, #ff0000);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text; /* Для підтримки інших браузерів */
  color: transparent; /* Забезпечує прозорість кольору */
}

/* Кнопки під заголовком */
.button-container {
  display: flex;
  gap: 10px; /* Відступи між кнопками */
  margin-top: 10px;
}

/* Контентний блок */
.content {
  background-color: #ffffff; /* Білий фон */
  color: #000000; /* Чорний текст для контрасту */
  border-radius: 15px; /* Круглі краї */
  padding: 20px;
  margin: 20px auto;
  max-width: 800px; /* Ширина для десктопів */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Легка тінь */
}

/* Текст усередині контенту */
.content h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 20px;
}

.content p {
  font-size: 1rem;
  line-height: 1.6;
}

/* Ссилки */
a {
  color: #007bff; /* Синій відтінок для посилань */
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Стилі для футера */
footer {
  text-align: center;
  padding: 10px;
  color: #ffffff;
}

/* Адаптація для планшетів */
@media (min-width: 768px) {
  header h1 {
    font-size: 4rem; /* Збільшуємо заголовок */
  }

  .content {
    padding: 30px;
  }

  .content p {
    font-size: 1.2rem;
  }
}

/* Адаптація для десктопів */
@media (min-width: 1024px) {
  header h1 {
    font-size: 5rem; /* Ще більший заголовок */
  }

  .content {
    max-width: 900px;
  }
}
