html {
  scroll-behavior: smooth;
}

body {
  padding: 0;
  margin: 0;
  font-family: Inter, sans-serif;
  background: #0f0f14;
  color: #fff;
}

a {
  text-decoration: none;
}

.container {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  width: 90%;
  max-width: 100%;
  margin: auto;
}

header {
  background: rgba(20, 20, 28, 0.9);
  padding: 18px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
}

.logo {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  font-size: 26px;
  font-weight: 700;
  background: linear-gradient(45deg, #7b5cff, #ff3d7f);
  -webkit-background-clip: text;
  color: transparent;
}

.logo:hover {
  opacity: 0.8;
  transition: 0.3s;
}

.header-wrapper {
  display: flex;
  gap: 10px;
  justify-content: space-between;
  align-items: center;
}

.desktop-nav a {
  margin-left: 25px;
  color: #eee;
  transition: 0.3s;
  text-decoration: none;
}

.desktop-nav a:hover {
  color: #ff3d7f;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.burger span {
  width: 26px;
  height: 3px;
  background: #fff;
}

.hero {
  background: linear-gradient(135deg, #161623, #1a1a2e, #222235);
}

.hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.hero-text h1 {
  font-size: 42px;
}

.hero-text p {
  margin-top: 15px;
  opacity: 0.8;
  font-size: 18px;
  max-width: 800px;
  text-align: center;
}

.cta-btn {
  display: inline-block;
  margin-top: 25px;
  margin-bottom: 25px;
  padding: 14px 28px;
  background: linear-gradient(45deg, #7b5cff, #ff3d7f);
  border-radius: 8px;
  color: #fff;
  transition: 0.3s;
}

.cta-btn:hover {
  opacity: 0.5;
  color: #fff;
}

.hero-img img,
.section-img {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
}

.section {
  padding: 80px 0;
}

.review-cards {
  margin-top: 40px;
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
}

.review-card {
  background: #1c1c27;
  padding: 25px;
  border-radius: 14px;
  flex: 1;
  min-width: 250px;
  transition: 0.3s;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.review-card:hover {
  transform: translateY(-6px);
  background: linear-gradient(145deg, #1e1e2b, #26263a);
}

.review-author {
  font-weight: 600;
  margin-bottom: 10px;
  color: #ff8ad3;
}

.alt {
  background: #14141c;
}

.section h2 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 15px;
}

.section p {
  text-align: center;
  max-width: 700px;
  margin-bottom: 24px;
  opacity: 0.85;
}

.cards {
  margin-top: 40px;
  display: flex;
  gap: 25px;
}

.card {
  background: #1c1c27;
  padding: 25px;
  border-radius: 14px;
  flex: 1;
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-5px);
}

.steps {
  padding: 10px;
  background-color: #ff8ad3;
  max-width: 500px;
  height: 30px;
  list-style: none;
  margin-top: 25px;
  text-align: center;
  border-radius: 10px;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.steps:hover {
  opacity: 0.8;
  transition: 0.3s;
}

.steps div {
  line-height: 20px;
  margin: 0;
  color: #0c0108;
}

.contact-section {
  padding: 80px 0;
  background: #161622;
}

.captcha-box {
  background: #1c1c27;
  padding: 14px;
  border-radius: 10px;
}

.captcha-box div {
  margin-bottom: 8px;
  opacity: 1;
}

form {
  max-width: 550px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

input[type="text"],
input[type="email"] {
  max-width: 80%;
  padding: 14px;
  border-radius: 8px;
  border: none;
}

.email {
  color: #ff3d7f;
}

.footer-block a:hover {
  color: #ff3d7f;
  transition: 0.3s;
}

.text-wrapper {
  max-width: 1000px;
}

.text {
  margin-bottom: 20px;
  line-height: 2;
  opacity: 0.9;
}

.check {
  display: flex;
  align-items: center;
  flex-direction: row;
  gap: 10px;

  @media (max-width: 600px) {
    flex-direction: column;
    align-items: flex-start;
  }
}

.check a {
  color: #ff3d7f;
}

.form-message {
  margin-top: 20px;
  text-align: center;
  color: #7bff8d;
}

footer {
  background: #0d0d12;
  padding: 60px 0 30px;
}

.footer-wrapper {
  display: flex;
  justify-content: space-between;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-block a {
  display: block;
  margin-top: 5px;
  color: #bbb;
}

.footer-copy {
  width: 100%;
  text-align: center;
  margin-top: 20px;
  opacity: 0.6;
}

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: #0d0d13;
  padding: 40px;
  flex-direction: column;
}

.mobile-menu a {
  margin: 20px 0;
  font-size: 22px;
}

.mobile-menu .close {
  font-size: 40px;
  cursor: pointer;
  margin-left: auto;
}

.cookie-popup {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #191926;
  padding: 20px;
  border-radius: 10px;
  display: none;
}

.pages-wrap {
  margin-top: 10px;
  min-height: 80vh;
  padding: 20px;
  background-color: #26263a;
  border-radius: 50px;

  @media (max-width: 600px) {
    border-radius: 20px;
    padding: 10px;
  }
}

.cookie-box button {
  margin-top: 10px;
  padding: 10px 20px;
  background: #7b5cff;
  border: none;
  border-radius: 6px;
  color: #fff;
  cursor: pointer;
}

/* Адаптив */
@media (max-width: 850px) {
  h1 {
    font-size: 32px !important;
  }
  .desktop-nav {
    display: none;
  }
  .burger {
    display: flex;
  }

  .hero-content {
    flex-direction: column;
    text-align: center;
    justify-content: center;
    align-items: center;
  }

  .cards {
    flex-direction: column;
  }
}

#captchaLabel {
  color: #ffffff;
  font-size: 17px;
  font-weight: 600;
}

/* Мобильное меню */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: -100%;
  height: 100vh;
  background: #0d0d13;
  flex-direction: column;
  transition: left 0.3s ease;
  z-index: 999;
  overflow-y: auto;
}

.mobile-menu.active {
  left: 0;
  display: flex;
}

.mobile-menu a {
  padding: 15px 0;
  font-size: 18px;
  text-decoration: none;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-left: 0;
}

.mobile-menu .close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 36px;
  cursor: pointer;
  color: #fff;
  background: none;
  border: none;
  padding: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.mobile-menu .close:active {
  opacity: 0.7;
}

/* Бургер иконка */
.burger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.burger span {
  width: 25px;
  height: 3px;
  background: #ffffff;
  border-radius: 2px;
  transition: 0.3s;
}

@media (max-width: 768px) {
  .burger {
    display: flex;
  }

  .desktop-nav {
    display: none;
  }
}
