:root {
  --color-bg: #ffffff;
  --color-text: #374151;
  --color-muted: #6b7280;
  --color-primary: #111111;
  --color-accent: #000000;
  --color-primary-light: #1f2937;
  --color-card-bg-1: #eef2ff; /* легкий синий оттенок */
  --color-card-bg-2: #fef3c7; /* легкий желтоватый оттенок */
  --border-radius: 0.75rem;
  --shadow-light: rgba(0, 0, 0, 0.1);
  --font-headline: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  --font-body: "Inter", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  --transition-speed: 0.3s;
  --gradient-accent: linear-gradient(
    90deg,
    #111111 0%,
    #444444 70%,
    #111111 100%
  );
}
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.5;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color var(--transition-speed) ease;
}

a:hover,
a:focus {
  color: #444444;
  outline: none;
}
.container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

header {
  position: sticky;
  top: 0;
  background: var(--color-bg);
  border-bottom: 1px solid #e5e7eb;
  box-shadow: 0 1px 4px var(--shadow-light);
  z-index: 1000;
  backdrop-filter: saturate(150%) blur(10px);
  transition: box-shadow 0.3s ease;
}
header.scrolled {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.16);
  animation: glowHeader 3s ease-in-out infinite;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 4.5rem;
  user-select: none;
}
.logo {
  font-weight: 900;
  font-size: 2.6rem;
  color: var(--color-primary);
  letter-spacing: -0.035em;
  cursor: default;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  user-select: none;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}
nav li {
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--color-muted);
  cursor: pointer;
  transition: color var(--transition-speed) ease;
  position: relative;
  padding: 0.6rem 0;
  user-select: none;
}

nav li:hover,
nav li:focus {
  color: var(--color-primary-light);
  outline: none;
}
nav li::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0.2rem;
  height: 3px;
  width: 0;
  background: var(--gradient-accent);
  transition: width var(--transition-speed) ease;
  border-radius: 3px;
}

nav li:hover::after,
nav li:focus::after {
  width: 100%;
}
main {
  padding-top: 6rem;
  padding-bottom: 6rem;
}
.hero {
  max-width: 830px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 1rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero_2 {
  margin-left: auto;
  margin-right: auto;
  padding: 0 1rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}


.hero h1 {
  font-family: var(--font-headline);
  font-weight: 800;
  font-size: 4.5rem;
  margin-bottom: 1rem;
  color: var(--color-primary);
  line-height: 1.1;
  letter-spacing: -0.025em;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
  animation-delay: 0.2s; /* Задержка для заголовка */
}

.hero p {
  font-size: 1.4rem;
  margin-bottom: 3rem;
  color: var(--color-muted);
  font-weight: 400;
  line-height: 1.6;
  opacity: 0.95;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  transition: opacity 0.6s ease;
  user-select: none;
}

.btn-primary {
  align-items: center;
  align-self: stretch;
  /* margin-top: 20px; */
  margin-top: auto;
  background-color: var(--color-accent);
  color: #fff;
  font-weight: 700;
  padding: 1.25rem 3rem;
  font-size: 1.125rem;
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.25s ease,
    box-shadow 0.4s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  user-select: none;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: inline-block;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  will-change: transform, box-shadow;
  animation-delay: 0.4s; /* Задержка для кнопки */
}

.btn-primary::before {
  content: "";
  position: absolute;
  left: -50%;
  top: 0;
  width: 200%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.35),
    transparent
  );
  transform: skewX(-20deg);
  transition: transform 0.7s ease;
  pointer-events: none;
}

.btn-primary:hover::before {
  transform: translateX(150%) skewX(-20deg);
}
.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--color-primary-light);
  transform: scale(1.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  outline: none;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.hero h1,
.btn-primary {
  animation: fadeIn 0.8s ease forwards;
  opacity: 0; /* Начальное состояние */
}


.section {
  padding-top: 6rem;
  padding-bottom: 6rem;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
  user-select: none;
}

.section_2 {
  padding-top: 6rem;
  padding-bottom: 6rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
  user-select: none;
}


.card {
  border-radius: var(--border-radius);
  padding: 2.25rem 2.75rem;
  margin-bottom: 2.25rem;
  color: var(--color-primary);
  transition: box-shadow 0.4s ease, transform 0.3s ease;
  cursor: default;
  position: relative;
  background: var(--color-card-bg-1);
  box-shadow: 0 10px 15px rgba(59, 130, 246, 0.15),
    0 4px 6px rgba(37, 99, 235, 0.12);
}
/* Чередуем цвет у карточек */
.card:nth-child(even) {
  background: var(--color-card-bg-2);
  box-shadow: 0 10px 15px rgba(252, 211, 77, 0.15),
    0 4px 6px rgba(202, 138, 4, 0.12);
}

.card:hover,
.card:focus-within {
  box-shadow: 0 24px 48px rgba(59, 130, 246, 0.25),
    0 12px 24px rgba(37, 99, 235, 0.2);
  outline: none;
}
.card:nth-child(even):hover,
.card:nth-child(even):focus-within {
  box-shadow: 0 24px 48px rgba(252, 211, 77, 0.3),
    0 12px 24px rgba(202, 138, 4, 0.25);
}

.card h2 {
  font-weight: 800;
  font-size: 2.1rem;
  margin-bottom: 1rem;
  line-height: 1.25;
  user-select: none;
}
.card p {
  font-size: 1.125rem;
  color: var(--color-primary-light);
  margin: 0;
  line-height: 1.6;
  user-select: none;
  font-weight: 500;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.75rem;
  margin-top: 3rem;
}
footer {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--color-muted);
  font-size: 0.9rem;
  user-select: none;
  background-color: var(--color-card-bg-1);
  border-top: 1px solid #e5e7eb;
}
/* Анимация появления карточек при скролле */
.card[data-animate] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.card[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}
/* Анимация легкого плавающего света в хедере */
@keyframes glowHeader {
  0%,
  100% {
    box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.05);
  }
  50% {
    box-shadow: 0 0 15px 4px rgba(0, 0, 0, 0.08);
  }
}

/* Тень и параллакс пузыря на фоне hero */
.hero::before {
  content: "";
  position: absolute;
  top: -90px;
  left: 50%;
  width: 520px;
  height: 520px;
  background: radial-gradient(
    circle at center,
    rgba(59, 130, 246, 0.15),
    transparent 68%
  );
  border-radius: 50%;
  filter: blur(64px);
  transform: translateX(-50%);
  animation: floatBubble 13s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: multiply;
}


.hero_2::before {
  content: "";
  position: absolute;
  top: -90px;
  left: 50%;
  width: 520px;
  height: 520px;
  background: radial-gradient(
    circle at center,
    rgba(59, 130, 246, 0.15),
    transparent 68%
  );
  border-radius: 50%;
  filter: blur(64px);
  transform: translateX(-50%);
  animation: floatBubble 13s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: multiply;
}


@keyframes floatBubble {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(24px);
  }
}

.form-group {
  margin-bottom: 1.5rem;
  max-width: 360px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.form-group label {
  width: 100%;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--color-muted);
  text-align: left;
}
.form-group input {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--color-muted);
  border-radius: var(--border-radius);
  font-size: 1rem;
  color: var(--color-text);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 8px rgba(59, 130, 246, 0.5);
  outline: none;
}

/* Google reCAPTCHA Styles */
.g-recaptcha-group {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.g-recaptcha {
  transform: scale(0.9);
  transform-origin: center center;
}

@media (max-width: 768px) {
  .g-recaptcha {
    transform: scale(0.85);
    transform-origin: top center;
  }
}

@media (max-width: 480px) {
  .g-recaptcha {
    transform: scale(0.75);
    transform-origin: top center;
  }
}

/* Old captcha styles removed - now using Google reCAPTCHA */

/* Checkbox styles for privacy consent */
.checkbox-group {
  max-width: 100%;
  margin-top: 0.5rem;
  display: flex;
  justify-content: center;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  position: relative;
  user-select: none;
  text-align: left;
  max-width: 260px;
}

.checkbox-label input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
  position: relative;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background-color: transparent;
  border: 2px solid var(--color-muted);
  border-radius: 4px;
  transition: all var(--transition-speed) ease;
  margin-top: 2px;
}

.checkbox-label:hover .checkmark {
  border-color: var(--color-primary);
}

.checkbox-label input[type="checkbox"]:checked ~ .checkmark {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
}

.checkmark::after {
  content: "";
  position: absolute;
  display: none;
  left: 6px;
  top: 2px;
  width: 6px;
  height: 12px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.checkbox-label input[type="checkbox"]:checked ~ .checkmark::after {
  display: block;
}

.checkbox-text {
  font-size: 0.75rem;
  color: var(--color-muted);
  line-height: 1.4;
}

.checkbox-text a {
  color: var(--color-primary);
  text-decoration: underline;
  transition: color var(--transition-speed) ease;
}

.checkbox-text a:hover {
  color: var(--color-primary-light);
}

/* Стиль для текста с эффектом набора */
.typing-effect {
  border-right: 2px solid var(--color-muted); /* курсор */
  white-space: pre-wrap; /* перенос текста с сохранением пробелов */
  overflow: visible; /* показывать всю высоту текста */
  font-size: 1.25rem;
  max-width: 640px;
  margin: 0 auto 1.5rem;
  user-select: none;
  min-height: 3.5rem; /* резервируем место для всего текста */
  font-weight: 500;
  color: var(--color-muted);
  font-family: var(--font-body);
}
@keyframes blink {
  50% {
    border-color: transparent;
  }
}

/* Убираем мигающую черточку в эффекте набора текста */
.typing-effect {
  border-right: none; /* убрать курсор */
  white-space: pre-wrap; /* перенос текста с сохранением пробелов */
  overflow: visible; /* показывать всю высоту текста */
  font-size: 1.25rem;
  max-width: 640px;
  margin: 0 auto 1.5rem;
  user-select: none;
  min-height: 3.5rem; /* резервируем место для всего текста */
  font-weight: 500;
  color: var(--color-muted);
  font-family: var(--font-body);
}


/* Popup Styles */
  .popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1001;
  }


  .popup-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    text-align: center;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
  }
  .close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 20px;
    cursor: pointer;
  }

/*эффект для popup*/

 .popup.show {
  display: block;
  animation: popupFadeIn 0.3s ease forwards;
}
.popup.hide {
  animation: popupFadeOut 0.3s ease forwards;
}
@keyframes popupFadeIn {
  0% {
    opacity: 0;
    transform: scale(0.85);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes popupFadeOut {
  0% {
    opacity: 1;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(0.85);
  }

}


/* Privacy Popup Styles */
.privacy-popup-content {
  max-width: 600px;
  max-height: 80vh;
  overflow-y: auto;
  text-align: left;
}

.privacy-popup-content h2 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: var(--color-primary);
}

.privacy-text {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text);
}

.privacy-text p {
  margin-bottom: 1rem;
}

.privacy-text a {
  color: var(--color-accent);
  text-decoration: underline;
}

.privacy-text a:hover {
  color: #444444;
}

.privacy-text ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.privacy-text li {
  margin-bottom: 0.5rem;
  line-height: 1.5;
  color: var(--color-text);
}

.privacy-close {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 24px;
  cursor: pointer;
  color: var(--color-muted);
  transition: color 0.3s ease;
}

.privacy-close:hover {
  color: var(--color-primary);
}

@media (max-width: 768px) {
  .privacy-popup-content {
    width: 90%;
    padding: 1.5rem;
  }
  
  .privacy-popup-content h2 {
    font-size: 1.5rem;
  }
  
  .privacy-text {
    font-size: 0.9rem;
  }
}


/* Industries section styles */
#industries {
  text-align: center;
  background: radial-gradient(
    circle at center,
    rgba(59, 130, 246, 0.08),
    transparent 68%
  );
}

#industries::before {
  content: "";
  position: absolute;
  top: -90px;
  left: 50%;
  width: 520px;
  height: 520px;
  background: radial-gradient(
    circle at center,
    rgba(59, 130, 246, 0.15),
    transparent 68%
  );
  border-radius: 50%;
  filter: blur(64px);
  transform: translateX(-50%);
  animation: floatBubble 13s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: multiply;
}



.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.industry-card {
  border-radius: var(--border-radius);
  padding: 2rem;
  background: var(--color-card-bg-1);
  box-shadow: 0 10px 15px rgba(59, 130, 246, 0.15),
    0 4px 6px rgba(37, 99, 235, 0.12);
  transition: box-shadow 0.4s ease, transform 0.3s ease;
  cursor: default;
  position: relative;
  text-align: center;
}

.industry-card:nth-child(even) {
  background: var(--color-card-bg-2);
  box-shadow: 0 10px 15px rgba(252, 211, 77, 0.15),
    0 4px 6px rgba(202, 138, 4, 0.12);
}

.industry-card:hover,
.industry-card:focus-within {
  box-shadow: 0 24px 48px rgba(59, 130, 246, 0.25),
    0 12px 24px rgba(37, 99, 235, 0.2);
  outline: none;
}

.industry-card:nth-child(even):hover,
.industry-card:nth-child(even):focus-within {
  box-shadow: 0 24px 48px rgba(252, 211, 77, 0.3),
    0 12px 24px rgba(202, 138, 4, 0.25);
}

.industry-card i {
  font-size: 3rem;
  color: var(--color-primary);
  margin-bottom: 1rem;
  display: block;
}

.industry-card h3 {
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--color-primary);
  user-select: none;
}

.industry-card p {
  font-size: 1rem;
  color: var(--color-muted);
  margin: 0;
  line-height: 1.5;
  user-select: none;
  font-weight: 400;
}

/* Pricing grid horizontal scroll on desktop */
.pricing-grid {
  display: flex;
  gap: 2.75rem;
  margin-top: 3rem;
  overflow-x: scroll;
  padding-bottom: 1rem; /* Чтобы тень не обрезалась */
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  scroll-padding-left: 1.5rem;
  scroll-padding-right: 1.5rem;
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}
.pricing-grid::-webkit-scrollbar {
  display: none;
}

.pricing-card {
  min-width: 320px; /* Минимальная ширина карточки */
  border-radius: var(--border-radius);
  padding: 2.25rem 2.75rem;
  color: var(--color-primary);
  transition: box-shadow 0.4s ease, transform 0.3s ease;
  cursor: default;
  position: relative;
  background: var(--color-card-bg-1);
  box-shadow: 0 10px 15px rgba(59, 130, 246, 0.15),
    0 4px 6px rgba(37, 99, 235, 0.12);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

/* Чередуем цвет у карточек */
.pricing-card:nth-child(even) {
  background: var(--color-card-bg-2);
  box-shadow: 0 10px 15px rgba(252, 211, 77, 0.15),
    0 4px 6px rgba(202, 138, 4, 0.12);
}

.pricing-card:hover,
.pricing-card:focus-within {
  box-shadow: 0 24px 48px rgba(59, 130, 246, 0.25),
    0 12px 24px rgba(37, 99, 235, 0.2);
  outline: none;
}

.pricing-card:nth-child(even):hover,
.pricing-card:nth-child(even):focus-within {
  box-shadow: 0 24px 48px rgba(252, 211, 77, 0.3),
    0 12px 24px rgba(202, 138, 4, 0.25);
}

.pricing-card h3 {
  font-weight: 800;
  font-size: 2.1rem;
  margin-bottom: 1rem;
  line-height: 1.25;
  user-select: none;
}

.pricing-card .price {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.pricing-card .price-after {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-muted);
  margin-bottom: 1rem;
}

.pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  margin-bottom: 2rem;
}

.pricing-card li {
  color: var(--color-muted);  
  font-size: 1.125rem;
  line-height: 1.6;
  user-select: none;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

/* Скрываем полосу прокрутки (необязательно) */
.pricing-grid::-webkit-scrollbar {
  display: none;
}

.pricing-grid {
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}

.hamburger {
  display: none;
}

.mobile-menu {
  display: none;
}

/* MOBILE STYLES */
@media (max-width: 768px) {
  .section {
    padding: 4rem 1rem;
  }

  #pricing > .hero > h2 {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 1rem;
  }

  #pricing > .hero > p {
    font-size: 1.25rem;
    color: var(--color-muted);
    margin-bottom: 3rem;
  }

  .pricing-grid {
    display: block;
    overflow-x: visible;
    padding-bottom: 0;
    margin-top: 1rem;
  }

  .pricing-card {
    width: 100% !important;
    max-width: 420px;
    margin: 0 auto 2rem;
    padding: 2rem;
  }

  .pricing-card:hover,
  .pricing-card:focus-within {
    box-shadow: 0 12px 30px rgba(59, 130, 246, 0.2), 0 8px 20px rgba(37, 99, 235, 0.14);
  }

  .pricing-card h3 {
    font-size: 2.4rem;
  }

  .pricing-card .price {
    font-size: 1.8rem;
    font-weight: 800;
  }

  .pricing-card .price-after {
    font-size: 1.3rem;
    font-weight: 600;
  }

  .pricing-card li {
    font-size: 1.1rem;
    color: var(--color-muted);
  }
}

/* extra small mobile adjustments */
@media (max-width: 480px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .section, .section_2 {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    max-width: 100%;
  }

  #pricing > .hero > h2 {
    font-size: 2.8rem;
  }

  .pricing-card {
    padding: 1.5rem;
  }

  .pricing-card h3 {
    font-size: 2rem;
  }

  .pricing-card .price {
    font-size: 1.5rem;
  }

  .pricing-card .price-after {
    font-size: 1.1rem;
  }

  .pricing-card li {
    font-size: 1rem;
  }

  .popup-content {
    width: 85%;
    margin: 0 1rem;
  }

  .hero h1 {
    font-size: 3rem;
    padding: 0 0.5rem;
  }

   .card h2 {
  font-size: 1.8rem;
  }
  
  .btn-primary {
    padding: 1rem 2rem;
    font-size: 1rem;
  }

  .card {
    padding: 1.5rem 1.75rem;
    margin-left: 0.5rem;
    margin-right: 0.5rem;
  }

  .desktop-nav {
    display: none;
  }

  /* Hamburger menu styles */
  .hamburger {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }

  .hamburger:hover {
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 4px;
  }

  .hamburger-icon {
    font-size: 1.5rem;
    color: var(--color-primary);
    transition: transform 0.3s ease;
  }

  .hamburger.active .hamburger-icon {
    transform: rotate(90deg);
  }

  .mobile-menu {
    display: block;
    position: fixed;
    top: 0;
    left: -100%;
    width: 280px;
    height: 100vh;
    background: var(--color-bg);
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: left 0.3s ease;
    padding: 4.5rem 2rem 2rem;
    overflow-y: auto;
  }

  .mobile-menu.active {
    left: 0;
  }

  .mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .mobile-menu li {
    margin-bottom: 1.5rem;
  }

  .mobile-menu a {
    color: var(--color-primary);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    transition: color 0.3s ease;
  }

  .mobile-menu a:hover {
    color: var(--color-primary-light);
  }

  .social-icons-mobile {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
  }

  .social-icons-mobile a {
    color: var(--color-muted);
    font-size: 2rem;
    transition: color 0.3s ease;
  }

  .social-icons-mobile a:hover {
    color: var(--color-primary);
  }

  /* Overlay for mobile menu */
  .mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }

  .mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
  }

  /* Mobile styles for industries section */

  .industries-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0 0.5rem;
  }

  .industry-card {
    padding: 1.5rem;
    margin: 0 0.5rem;
  }

  .industry-card i {
    font-size: 2.5rem;
  }

  .industry-card h3 {
    font-size: 1.3rem;
  }

  .industry-card p {
    font-size: 0.9rem;
  }

  /* Mobile styles for reviews section */
  .reviews-carousel {
    gap: 1rem;
    padding: 0.5rem 0;
    margin-top: 2rem;
  }

  .review-card {
    flex: 0 0 100%;
    padding: 1.5rem;
  }

  .review-card p {
    font-size: 1rem;
    margin-bottom: 1rem;
  }

  .rating {
    font-size: 1rem;
    margin-bottom: 0.8rem;
  }

  .review-author h4 {
    font-size: 1rem;
  }

  .review-author span {
    font-size: 0.8rem;
  }

  /* Fix for industries background on mobile */
  #industries::before {
    width: 300px;
    height: 300px;
    top: -50px;
  }

  /* Smaller social icons for mobile */
  .social-icons a {
    font-size: 2rem;
  }
}
 

.shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.15);
  animation: floatUpDown 6s ease-in-out infinite;
}

.shape.small {
  width: 40px;
  height: 40px;
  top: 10%;
  left: 20%;
  animation-delay: 0s;
}

.shape.medium {
  width: 60px;
  height: 60px;
  top: 30%;
  right: 25%;
  animation-delay: 2s;
}

.shape.large {
  width: 80px;
  height: 80px;
  bottom: 15%;
  left: 50%;
  animation-delay: 4s;
}

@keyframes floatUpDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

     /* Анимируемые иконки — пульсация 
    .material-icons.pulsate {
      animation: pulsate 2s infinite;
      display: inline-block;
    }
    @keyframes pulsate {
      0%,100% { transform: scale(1); opacity: 1; }
      50% { transform: scale(1.2); opacity: 0.7; }
    }*/



    /*  Shimmer эффект */
    .pricing-card {
      position: relative;
      overflow: hidden;
      background-color: #e0e7ff;
      color: #1e293b;
    }
    .pricing-card.premium::after {
      content: "";
      position: absolute;
      top: -50%; left: -50%;
      width: 200%;
      height: 200%;
      background: linear-gradient(
        45deg, 
        transparent, 
        rgba(255,255,255,0.1), 
        rgba(255,255,255,0.3), 
        rgba(255,255,255,0.1), 
        transparent
      );
      animation: shimmer 3s infinite;
      pointer-events: none;
      z-index: 2;
      transform: rotate(45deg);
    }
    @keyframes shimmer {
      0% { transform: translate(-50%, -50%) rotate(45deg); }
      100% { transform: translate(150%, 150%) rotate(45deg); }
    }



/* Чекбокс согласия с политикой */
.checkbox-group {
  max-width: 360px;
  margin: 0 auto 1.5rem;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  position: relative;
  padding-left: 2rem;
  margin-top: 30px;
}

.checkbox-label input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 22px;
  width: 22px;
  min-width: 22px;
  background-color: transparent;
  border: 2px solid var(--color-muted);
  border-radius: 4px;
  transition: all 0.3s ease;
}

.checkbox-label:hover .checkmark {
  border-color: var(--color-primary);
}

.checkbox-label input[type="checkbox"]:checked ~ .checkmark {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
}

.checkbox-label input[type="checkbox"]:checked ~ .checkmark::after {
  content: "";
  position: absolute;
  display: block;
  left: 7px;
  top: 3px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.checkbox-text {
  font-size: 0.6rem;
  color: var(--color-muted);
  line-height: 1.4;
  font-weight: 400;
}

.checkbox-text a {
  color: var(--color-primary);
  text-decoration: underline;
  transition: color var(--transition-speed) ease;
}

.checkbox-text a:hover {
  color: var(--color-primary-light);
}

/* Ошибка при незаполненном согласии - ИСПРАВЛЕНО */
.form-group.checkbox-group.error .checkbox-label {
  color: #dc2626 !important;
}

.form-group.checkbox-group.error .checkmark {
  border-color: #dc2626 !important;
  box-shadow: 0 0 8px rgba(220, 38, 38, 0.4) !important;
}

.form-group.checkbox-group.error .checkbox-text {
  color: #dc2626 !important;
}

/* Анимация тряски для чекбокса при ошибке - ДОБАВЛЕНО */
.form-group.checkbox-group.error {
  animation: shakeError 0.5s ease;
}

/* Убираем предупреждение о неиспользуемом checked в Firefox */
.form-group.checkbox-group.error input[type="checkbox"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

@keyframes shakeError {
  0%, 100% { transform: translateX(0); }
  10% { transform: translateX(-8px); }
  20% { transform: translateX(-8px); }
  30% { transform: translateX(8px); }
  40% { transform: translateX(8px); }
  50% { transform: translateX(-8px); }
  60% { transform: translateX(-8px); }
  70% { transform: translateX(8px); }
  80% { transform: translateX(8px); }
  90% { transform: translateX(-4px); }
}

/* Убираем класс error при фокусе на чекбоксе */
.form-group.checkbox-group.error .checkbox-label input[type="checkbox"]:focus {
  outline: none;
}

.form-group.checkbox-group.error .checkbox-label input[type="checkbox"]:focus + .checkmark {
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.3);
}

/* Секция с отзывами клиентов */
#reviews {
  text-align: center;
  background: radial-gradient(
    circle at center,
    rgba(59, 130, 246, 0.08),
    transparent 68%
  );
}

/* Сетка отзывов - все видны одновременно */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
  text-align: left;
}

/* Адаптивность для сетки отзывов */
@media (max-width: 768px) {
  .reviews-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
}

.reviews-carousel {
  display: flex;
  gap: 2rem;
  margin-top: 3rem;
  overflow-x: auto;
  padding: 1rem 0;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  scroll-padding: 0 1.5rem;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.reviews-carousel::-webkit-scrollbar {
  display: none;
}

.review-card {
  flex: 0 0 280px;
  background: var(--color-card-bg-1);
  border-radius: var(--border-radius);
  padding: 1.25rem;
  box-shadow: 0 10px 15px rgba(59, 130, 246, 0.15),
    0 4px 6px rgba(37, 99, 235, 0.12);
  transition: box-shadow 0.4s ease, transform 0.3s ease;
  scroll-snap-align: start;
  cursor: default;
  position: relative;
}

/* Адаптивность для карточек отзывов на средних экранах */
@media (max-width: 1200px) {
  .review-card {
    flex: 0 0 320px;
  }
}

@media (max-width: 768px) {
  .review-card {
    flex: 0 0 280px;
  }
}

.review-card:nth-child(even) {
  background: var(--color-card-bg-2);
  box-shadow: 0 10px 15px rgba(252, 211, 77, 0.15),
    0 4px 6px rgba(202, 138, 4, 0.12);
}

.review-card:hover,
.review-card:focus-within {
  box-shadow: 0 24px 48px rgba(59, 130, 246, 0.25),
    0 12px 24px rgba(37, 99, 235, 0.2);
  outline: none;
  transform: none; /* Убираем наклон */
}

.review-card:nth-child(even):hover,
.review-card:nth-child(even):focus-within {
  box-shadow: 0 24px 48px rgba(252, 211, 77, 0.3),
    0 12px 24px rgba(202, 138, 4, 0.25);
}

.review-content {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.rating {
  color: #ffd700;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.rating i {
  margin: 0 0.1rem;
}

.review-card p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--color-primary-light);
  margin-bottom: 0.75rem;
  flex-grow: 1;
}

.review-author {
  margin-top: auto;
}

.review-author h4 {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--color-primary);
  margin: 0 0 0.5rem 0;
}

.review-author span,
.review-author a {
  font-size: 0.9rem;
  color: var(--color-muted);
  font-style: italic;
  text-decoration: none;
  transition: color var(--transition-speed) ease;
}

.review-author a:hover {
  color: var(--color-primary);
  text-decoration: underline;
}

/*  икнока вастап и телеграм */
 .social-icons {
  display: flex;
  gap: 1rem; /* Расстояние между значками */
}
.social-icons a {
  color: var(--color-muted);
  font-size: 3rem;  /*Размер значков */
  transition: color var(--transition-speed) ease;
  animation: pulsate 3s infinite;
  display: inline-block;
}

.small-icon {
  font-size: 2rem !important;
}

/* Новая анимация пульсации для иконок */
@keyframes pulseScale {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.15);
    opacity: 0.8;
  }
}

.pulse-scale {
  animation: pulseScale 2s ease-in-out infinite;
}

/* Новая анимация медленного вращения */
@keyframes slowSpin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.slow-spin {
  animation: slowSpin 6s linear infinite;
}

 @keyframes pulsate {
      0%,100% { transform: scale(1); opacity: 1; }
      50% { transform: scale(1.2); opacity: 0.9; }
    }
.social-icons a:hover {
  color: var(--color-primary); /* Цвет при наведении */
}

/* Стили для улучшенной карусели отзывов */
.reviews-navigation {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.nav-arrow {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid var(--color-primary);
  background: transparent;
  color: var(--color-primary);
  font-size: 1.2rem;
  cursor: pointer;
  transition: all var(--transition-speed) ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-arrow:hover {
  background: var(--color-primary);
  color: white;
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.nav-arrow:active {
  transform: scale(0.95);
}

.reviews-dots {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.review-dot {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--color-primary);
  background: transparent;
  cursor: pointer;
  transition: all var(--transition-speed) ease;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.review-dot.active {
  background: var(--color-primary);
  transform: scale(1.1);
}

.review-dot:hover {
  background: var(--color-primary-light);
  transform: scale(1.05);
}

.dot-number {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-text);
  transition: color var(--transition-speed) ease;
}

.review-dot.active .dot-number {
  color: white;
}

/* Параллакс эффект для карточек отзывов */
.review-card {
  transition: box-shadow 0.3s ease;
  will-change: box-shadow;
}

/* Анимация появления навигации */
.reviews-navigation {
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
  transform: translateY(20px);
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Адаптивность для навигации */
@media (max-width: 768px) {
  .reviews-navigation {
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
  }
  
  .nav-arrow {
    width: 40px;
    height: 40px;
    font-size: 1rem;
    order: 1;
  }
  
  .prev-arrow {
    order: 1;
  }
  
  .reviews-dots {
    order: 2;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
  }
  
  .next-arrow {
    order: 3;
  }
  
  .review-dot {
    width: 32px;
    height: 32px;
    min-width: 32px;
  }
  
  .dot-number {
    font-size: 0.75rem;
  }
}

@media (max-width: 480px) {
  .reviews-navigation {
    gap: 0.6rem;
  }
  
  .nav-arrow {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
  }
  
  .review-dot {
    width: 28px;
    height: 28px;
    min-width: 28px;
  }
  
  .dot-number {
    font-size: 0.65rem;
  }
  
  .reviews-dots {
    gap: 0.4rem;
  }
}

/* Для очень маленьких экранов */
@media (max-width: 360px) {
  .reviews-navigation {
    gap: 0.4rem;
  }
  
  .nav-arrow {
    width: 32px;
    height: 32px;
    font-size: 0.8rem;
  }
  
  .review-dot {
    width: 24px;
    height: 24px;
    min-width: 24px;
  }
  
  .dot-number {
    font-size: 0.6rem;
  }
  
  .reviews-dots {
    gap: 0.3rem;
  }
}
