:root {
  --primary-dark: #05060F;
  --accent-blue: #3B82F6;
  --text-white: #FFFFFF;
  --text-gray: #CBD5E0;
  --card-bg: rgba(16, 21, 41, 0.1);
  --card-bg-solid: #101529;
  --card-bg-blur: rgba(16, 21, 41, 0.6);
  --pricing-card-bg: #4f94f8;
  --light-green-transparent: rgba(110, 231, 183, 0.5);
}
body {
  background: var(--primary-dark);
  color: var(--text-white);
  font-family: 'Inter', sans-serif, Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.02em;
  overflow-x: hidden;
  margin: 0;
}
button {
  border: none;
}
h1, h2, h3 {
  font-weight: 800;
}
h1 {
  white-space: pre-line;
}
/* Фолбэк-стили для Tailwind */
.text-center { text-align: center; }
.text-5xl { font-size: 3rem; }
.text-2xl { font-size: 1.5rem; }
.text-xl { font-size: 1.25rem; }
.text-lg { font-size: 1.125rem; }
.text-sm { font-size: 0.875rem; }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.w-full { width: 100%; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-4 { margin-top: 1rem; }
.mt-auto { margin-top: auto; }
.rounded-lg { border-radius: 8px; }
.bg-blue-600 { background-color: var(--accent-blue); }
.text-white { color: var(--text-white); }
.text-gray-400 { color: var(--text-gray); }
.text-gray-200 { color: #E5E7EB; }
.hover\:text-white:hover { color: var(--text-white); }
.hover\:bg-blue-700:hover { background-color: #2563EB; }
.flex { display: flex; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.items-center { align-items: center; }
.space-x-4 > :not(:last-child) { margin-right: 1rem; }
.container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}
/* Стили главного экрана */
.hero-subtitle {
  white-space: nowrap !important;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 95%;
  margin: 0 auto;
}

/* Космическая кнопка "Улучшить бизнес" с хаотичными частицами и блеском */
.primary-cta {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #3B82F6 0%, #1D4ED8 50%, #3730A3 100%);
  border: 2px solid rgba(59, 130, 246, 0.5);
  border-radius: 16px;
  padding: 20px 48px;
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
  cursor: pointer;
  transition: all 1.2s cubic-bezier(0.23, 1, 0.32, 1); /* Медленный переход */
  box-shadow: 
    0 8px 32px rgba(59, 130, 246, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  letter-spacing: 1px;
  backdrop-filter: blur(10px);
}

/* Пробегающий блеск по кнопке */
.primary-cta::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -100%;
  width: 100%;
  height: calc(100% + 4px);
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(255, 255, 255, 0.1) 25%,
    rgba(255, 255, 255, 0.4) 50%,
    rgba(255, 255, 255, 0.1) 75%,
    transparent 100%
  );
  animation: shimmerButton 3s infinite;
  border-radius: 16px;
  pointer-events: none;
  z-index: 2;
}

@keyframes shimmerButton {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

/* Улучшенные космические частицы - базовый слой с большим количеством */
.primary-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    /* Множество хаотичных частиц разных размеров */
    radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.2) 1px, transparent 3px),
    radial-gradient(circle at 88% 22%, rgba(255, 255, 255, 0.15) 1.5px, transparent 4px),
    radial-gradient(circle at 23% 67%, rgba(255, 255, 255, 0.18) 0.8px, transparent 2.5px),
    radial-gradient(circle at 76% 89%, rgba(255, 255, 255, 0.12) 2px, transparent 5px),
    radial-gradient(circle at 45% 35%, rgba(255, 255, 255, 0.16) 1px, transparent 3px),
    radial-gradient(circle at 67% 45%, rgba(255, 255, 255, 0.14) 1.2px, transparent 3.5px),
    radial-gradient(circle at 34% 12%, rgba(255, 255, 255, 0.1) 0.6px, transparent 2px),
    radial-gradient(circle at 89% 78%, rgba(255, 255, 255, 0.13) 1.3px, transparent 4px),
    radial-gradient(circle at 56% 91%, rgba(255, 255, 255, 0.11) 0.9px, transparent 2.8px),
    radial-gradient(circle at 8% 56%, rgba(255, 255, 255, 0.17) 1.1px, transparent 3.2px),
    radial-gradient(circle at 92% 34%, rgba(255, 255, 255, 0.09) 0.7px, transparent 2.3px),
    radial-gradient(circle at 41% 73%, rgba(255, 255, 255, 0.15) 1.4px, transparent 3.8px),
    radial-gradient(circle at 78% 19%, rgba(255, 255, 255, 0.08) 0.5px, transparent 1.8px),
    radial-gradient(circle at 17% 49%, rgba(255, 255, 255, 0.19) 1.6px, transparent 4.2px),
    radial-gradient(circle at 63% 28%, rgba(255, 255, 255, 0.07) 0.4px, transparent 1.5px),
    radial-gradient(circle at 29% 84%, rgba(255, 255, 255, 0.12) 1.8px, transparent 4.5px);
  animation: chaoticParticles 12s ease-in-out infinite;
  pointer-events: none;
  opacity: 0.7;
  z-index: 1;
}

/* Хаотичная анимация множества частиц */
@keyframes chaoticParticles {
  0% {
    background-position: 
      12% 18%, 88% 22%, 23% 67%, 76% 89%, 45% 35%, 67% 45%, 34% 12%, 89% 78%,
      56% 91%, 8% 56%, 92% 34%, 41% 73%, 78% 19%, 17% 49%, 63% 28%, 29% 84%;
    opacity: 0.7;
  }
  25% {
    background-position: 
      18% 25%, 83% 18%, 29% 71%, 72% 85%, 49% 39%, 63% 41%, 38% 16%, 85% 74%,
      52% 87%, 12% 52%, 88% 38%, 37% 69%, 74% 23%, 21% 53%, 67% 32%, 25% 80%;
    opacity: 0.9;
  }
  50% {
    background-position: 
      25% 32%, 79% 15%, 35% 75%, 68% 81%, 53% 43%, 59% 37%, 42% 20%, 81% 70%,
      48% 83%, 16% 48%, 84% 42%, 33% 65%, 70% 27%, 25% 57%, 71% 36%, 21% 76%;
    opacity: 0.8;
  }
  75% {
    background-position: 
      31% 39%, 75% 11%, 41% 79%, 64% 77%, 57% 47%, 55% 33%, 46% 24%, 77% 66%,
      44% 79%, 20% 44%, 80% 46%, 29% 61%, 66% 31%, 29% 61%, 75% 40%, 17% 72%;
    opacity: 0.9;
  }
  100% {
    background-position: 
      37% 46%, 71% 8%, 47% 83%, 60% 73%, 61% 51%, 51% 29%, 50% 28%, 73% 62%,
      40% 75%, 24% 40%, 76% 50%, 25% 57%, 62% 35%, 33% 65%, 79% 44%, 13% 68%;
    opacity: 0.7;
  }
}

/* Медленный hover эффект с плавным приближением */
.primary-cta:hover {
  transform: translateY(-12px) scale(1.08);
  transition: all 1.8s cubic-bezier(0.23, 1, 0.32, 1);
  box-shadow: 
    0 20px 60px rgba(59, 130, 246, 0.6),
    inset 0 2px 0 rgba(255, 255, 255, 0.4),
    0 0 50px rgba(59, 130, 246, 0.5),
    0 0 100px rgba(59, 130, 246, 0.3);
  border-color: rgba(255, 255, 255, 0.9);
}

/* Улучшенные частицы при наведении */
.primary-cta:hover::before {
  animation: chaoticParticlesHover 8s ease-in-out infinite;
  opacity: 0.9;
}

.primary-cta:hover::after {
  animation: shimmerButtonHover 2s infinite;
}

@keyframes chaoticParticlesHover {
  0% {
    background-position: 
      15% 22%, 85% 28%, 28% 72%, 72% 88%, 48% 38%, 65% 48%, 32% 15%, 87% 72%,
      54% 89%, 11% 54%, 89% 32%, 39% 71%, 76% 21%, 19% 51%, 65% 31%, 27% 82%;
    opacity: 0.9;
    filter: brightness(1.3);
  }
  50% {
    background-position: 
      22% 29%, 78% 35%, 35% 79%, 65% 82%, 55% 45%, 58% 41%, 39% 22%, 80% 65%,
      47% 82%, 18% 47%, 82% 39%, 32% 64%, 69% 28%, 26% 58%, 72% 38%, 20% 75%;
    opacity: 1;
    filter: brightness(1.6);
  }
  100% {
    background-position: 
      29% 36%, 71% 42%, 42% 86%, 58% 76%, 62% 52%, 51% 34%, 46% 29%, 73% 58%,
      40% 75%, 25% 40%, 75% 46%, 25% 57%, 62% 35%, 33% 65%, 79% 45%, 13% 68%;
    opacity: 0.9;
    filter: brightness(1.3);
  }
}

@keyframes shimmerButtonHover {
  0% {
    left: -100%;
    opacity: 0.6;
  }
  50% {
    opacity: 0.9;
  }
  100% {
    left: 100%;
    opacity: 0.6;
  }
}

/* Большое углубление кнопки при нажатии */
.primary-cta:active {
  transform: translateY(6px) scale(0.96);
  transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 
    0 3px 15px rgba(59, 130, 246, 0.4),
    inset 0 3px 10px rgba(0, 0, 0, 0.3),
    inset 0 -1px 0 rgba(255, 255, 255, 0.1);
  border-color: rgba(59, 130, 246, 0.8);
}

/* Дополнительный эффект для активного состояния */
.primary-cta:active::before {
  animation: chaoticParticlesActive 0.3s ease-out;
}

@keyframes chaoticParticlesActive {
  0% {
    opacity: 0.9;
    filter: brightness(1.3);
  }
  100% {
    opacity: 0.4;
    filter: brightness(0.8);
  }
}

/* Стили навигации */
.navbar {
  backdrop-filter: blur(10px);
  background: rgba(5, 6, 15, 0.8);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 50;
}
.navbar a {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-white);
  text-decoration: none;
}
.lang-button {
  color: var(--text-gray);
  font-size: 1rem;
  font-weight: 600;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s ease;
}
.lang-button:hover {
  color: var(--text-white);
}

/* Стили для логотипа в навигации */
.nav-brand {
  text-decoration: none !important;
  transition: all 0.3s ease;
}

.nav-brand:hover {
  text-decoration: none !important;
  transform: translateY(-2px);
}

.nav-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 8px;
  transition: all 0.3s ease;
  filter: drop-shadow(0 2px 8px rgba(59, 130, 246, 0.3));
}

.nav-logo:hover {
  transform: scale(1.1);
  filter: drop-shadow(0 4px 12px rgba(59, 130, 246, 0.5));
}
/* Стили карточек */
.card-hover {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 8px;
  border: 1px solid var(--text-gray);
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.3);
  position: relative;
}
.card-hover .corner-dot-top-right,
.card-hover .corner-dot-bottom-left,
.card-hover .corner-dot-top-left,
.card-hover .corner-dot-bottom-right {
  content: '';
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--text-white);
  border-radius: 50%;
  z-index: 10;
}
.card-hover .corner-dot-top-right {
  top: 10px;
  right: 10px;
}
.card-hover .corner-dot-bottom-left {
  bottom: 10px;
  left: 10px;
}
.card-hover .corner-dot-top-left {
  top: 10px;
  left: 10px;
}
.card-hover .corner-dot-bottom-right {
  bottom: 10px;
  right: 10px;
}
.card-left {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-right {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-center {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-left:hover {
  transform: translateY(-10px);
  box-shadow: 0 16px 40px rgba(59, 130, 246, 0.5);
}
.card-right:hover {
  transform: translateY(-10px);
  box-shadow: 0 16px 40px rgba(59, 130, 246, 0.5);
}
.card-center:hover {
  transform: translateY(-10px);
  box-shadow: 0 16px 40px rgba(59, 130, 246, 0.5);
}
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeIn 0.8s ease-out forwards;
}
.fade-in-delay-2 { animation-delay: 0.4s; }
.fade-in-delay-3 { animation-delay: 0.6s; }
@keyframes fadeIn {
  to { opacity: 1; transform: translateY(0); }
}
.float-animation {
  animation: float 3s ease-in-out infinite;
}
@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
  100% { transform: translateY(0); }
}
.rotate-slow {
  animation: rotate-slow 6s linear infinite;
}
.rotate-reverse {
  animation: rotate-reverse 6s linear infinite;
}
@keyframes rotate-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes rotate-reverse {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}
.icon-glow {
  animation: icon-glow 3s ease-in-out infinite;
}
@keyframes icon-glow {
  0% { filter: drop-shadow(0 0 8px rgba(59, 130, 246, 0.5)); }
  50% { filter: drop-shadow(0 0 12px rgba(59, 130, 246, 0.7)); }
  100% { filter: drop-shadow(0 0 8px rgba(59, 130, 246, 0.5)); }
}
.icon-cycle {
  display: flex;
  gap: 3rem;
  margin-top: 1rem;
  margin-bottom: 2rem;
  justify-content: center;
  align-items: center;
  position: relative;
}
.cycle-icon {
  font-size: 1.5rem;
  color: var(--text-white);
  position: relative;
  animation: pulse-glow 3.5s ease-in-out infinite;
}
.cycle-icon:nth-child(1) { animation-delay: 0s; }
.cycle-icon:nth-child(2) { animation-delay: 0.7s; }
.cycle-icon:nth-child(3) { animation-delay: 1.4s; }
.cycle-icon:nth-child(4) { animation-delay: 2.1s; }
@keyframes pulse-glow {
  0% {
    transform: scale(1);
    filter: brightness(1) drop-shadow(0 0 4px rgba(59, 130, 246, 0.3));
    opacity: 0.7;
  }
  50% {
    transform: scale(1.2);
    filter: brightness(1.3) drop-shadow(0 0 8px rgba(59, 130, 246, 0.6));
    opacity: 1;
  }
  100% {
    transform: scale(1);
    filter: brightness(1) drop-shadow(0 0 4px rgba(59, 130, 246, 0.3));
    opacity: 0.7;
  }
}
button, a.bg-blue-600 {
  border: none;
  border-radius: 8px;
  transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
  min-width: 200px;
  min-height: 48px;
  padding: 12px 24px;
  font-weight: 600;
  position: relative;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  background: var(--accent-blue);
  color: var(--text-white);
  pointer-events: auto;
}
button:hover, a.bg-blue-600:hover {
  background: #2563EB;
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}
.card-left button:active {
  transform: translate(-1px, 1px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}
.card-right button:active {
  transform: translate(1px, 1px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}
.card-center button:active {
  transform: translateY(1px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}
.gradient-button {
  border: none;
  border-radius: 8px;
  transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
  min-width: 200px;
  min-height: 48px;
  padding: 12px 24px;
  font-weight: 600;
  position: relative;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  background: linear-gradient(135deg, #3B82F6 0%, #60A5FA 100%);
  color: var(--text-white);
  pointer-events: auto;
}
.gradient-button:hover {
  background: linear-gradient(135deg, #2563EB 0%, #4B9CF8 100%);
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}
.gradient-button:active {
  transform: translateY(1px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* Анимированные частицы на кнопке */
.gradient-button .particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  border-radius: 8px;
}

.gradient-button .particle {
  position: absolute;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  pointer-events: none;
  animation: particle-float 3s linear infinite;
}

@keyframes particle-float {
  0% {
    opacity: 0;
    transform: translateY(100%) scale(0.3) rotate(0deg);
  }
  10% {
    opacity: 1;
  }
  50% {
    opacity: 0.8;
    transform: translateY(50%) scale(1) rotate(180deg);
  }
  90% {
    opacity: 0.6;
  }
  100% {
    opacity: 0;
    transform: translateY(-20%) scale(0.5) rotate(360deg);
  }
}

.gradient-button .particle:nth-child(1) { 
  left: 15%; 
  width: 3px; 
  height: 3px;
  animation-delay: 0s;
  animation-duration: 2.8s;
}

.gradient-button .particle:nth-child(2) { 
  left: 30%; 
  width: 2px; 
  height: 2px;
  animation-delay: 0.6s;
  animation-duration: 3.2s;
}

.gradient-button .particle:nth-child(3) { 
  left: 50%; 
  width: 4px; 
  height: 4px;
  animation-delay: 1.2s;
  animation-duration: 2.5s;
}

.gradient-button .particle:nth-child(4) { 
  left: 65%; 
  width: 2px; 
  height: 2px;
  animation-delay: 1.8s;
  animation-duration: 3.4s;
}

.gradient-button .particle:nth-child(5) { 
  left: 80%; 
  width: 3px; 
  height: 3px;
  animation-delay: 2.4s;
  animation-duration: 2.7s;
}

.gradient-button .particle:nth-child(6) { 
  left: 85%; 
  width: 1px; 
  height: 1px;
  animation-delay: 0.3s;
  animation-duration: 3.6s;
}
.secondary-button {
  border: none;
  border-radius: 8px;
  transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
  min-width: 150px;
  min-height: 48px;
  padding: 12px 24px;
  font-weight: 600;
  position: relative;
  transform: translateY(-2px);
  background: transparent;
  color: var(--accent-blue);
  pointer-events: auto;
}
.secondary-button:hover {
  background: rgba(59, 130, 246, 0.1);
  transform: translateY(-4px);
  color: var(--text-white);
}
.secondary-button:active {
  transform: translateY(1px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}
.input-wrapper {
  position: relative;
  width: 100%;
  margin-bottom: 16px;
}
input:not([type="checkbox"]), textarea {
  border-radius: 8px;
  background: var(--card-bg);
  border: 1px solid var(--text-gray);
  color: var(--text-white);
  padding: 12px;
  width: 100%;
  height: 48px;
  box-sizing: border-box;
  font-size: 0.9rem;
  font-weight: normal;
  transition: border-color 0.2s ease;
  pointer-events: auto;
}
textarea {
  height: 100px;
  resize: vertical;
}
input:focus, textarea:focus {
  outline: none;
  border-color: var(--accent-blue);
}
.input-label {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 0.9rem;
  color: var(--text-gray);
  font-weight: normal;
  pointer-events: none;
  transition: all 0.2s ease;
}
input:focus + .input-label,
input:not(:placeholder-shown) + .input-label,
textarea:focus + .input-label,
textarea:not(:placeholder-shown) + .input-label {
  top: -8px;
  left: 12px;
  font-size: 0.65rem;
  color: var(--accent-blue);
  background: var(--card-bg-solid);
  padding: 0 4px;
  opacity: 1;
}
.card-left i, .card-right i, .card-center i {
  font-size: 1.75rem;
  margin-bottom: 32px;
}
.card-left h3, .card-right h3, .card-center h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}
.card-left button, .card-right button, .card-center button {
  padding: 12px 24px;
  font-size: 0.9rem;
  min-height: 48px;
}
.card-left i,
.card-left h3,
.card-left .card-subtitle,
.card-left .input-wrapper,
.card-left .button-container {
  transform: none;
  transform-origin: center;
  backface-visibility: hidden;
}
.card-right i,
.card-right h3,
.card-right .card-subtitle,
.card-right .input-wrapper,
.card-right .button-container {
  transform: none;
  transform-origin: center;
  backface-visibility: hidden;
}
.card-center i,
.card-center h3,
.card-center .card-subtitle,
.card-center .input-wrapper,
.card-center .button-container,
.card-center .login-link {
  transform: none;
  transform-origin: center;
  backface-visibility: hidden;
  pointer-events: auto;
}
.divider {
  border: none;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--accent-blue), transparent);
  margin: 16px 0;
}
.card-subtitle {
  font-size: 0.75rem;
  color: rgba(203, 213, 224, 0.7);
  text-align: center;
  margin: 0 0 8px 0;
  font-weight: normal;
}
.tile-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  width: 100%;
  max-width: 600px;
  margin-bottom: 16px;
}
.tile {
  border: none;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem;
  background: var(--card-bg-solid);
  border-radius: 0;
  color: var(--text-white);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  transform: translateY(-2px);
  box-shadow: 0 0 8px rgba(59, 130, 246, 0.3);
  text-align: left;
  width: 100%;
  height: 100px;
  box-sizing: border-box;
  animation: glow 3s ease-in-out infinite;
}
.tile:not(:nth-child(2n)) {
  border-right: 1px solid rgba(160, 174, 192, 0.1);
}
.tile:not(:nth-last-child(-n+2)) {
  border-bottom: 1px solid rgba(160, 174, 192, 0.1);
}
.tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 12px rgba(59, 130, 246, 0.5);
}
.tile:hover i {
  color: var(--text-white);
}
.tile:active {
  transform: translateY(1px);
  box-shadow: 0 0 8px rgba(59, 130, 246, 0.3);
}
.tile i {
  font-size: 1.5rem;
  color: var(--accent-blue);
  position: relative;
  padding-right: 0.75rem;
  padding-left: 0.5rem;
  animation: icon-glow 3s ease-in-out infinite;
}
.tile i::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  border-right: 1px solid rgba(160, 174, 192, 0.2);
}
.tile span {
  flex-grow: 1;
  padding-right: 1rem;
}
.cards-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 450px;
  max-width: 1200px;
  margin: 0 auto;
  perspective: 1500px;
  transform-style: preserve-3d;
  z-index: 10;
  overflow: visible;
}

/* Главная секция героя в стиле Stripe/Slack */
.hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 100vh;
  padding: 2rem 1rem;
  position: relative;
  background: linear-gradient(135deg, 
    rgba(5, 6, 15, 1) 0%, 
    rgba(16, 21, 41, 0.95) 50%, 
    rgba(5, 6, 15, 1) 100%
  );
  overflow: hidden;
}

/* Анимированный заголовок слот-машина - увеличенный размер */
.animated-headline {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  color: var(--text-white);
}

.headline-part {
  display: inline-block;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.headline-static {
  color: var(--text-white);
}

/* Контейнер слот-машины */
.slot-machine {
  position: relative;
  display: inline-block;
  overflow: hidden;
  height: 1.2em;
  min-width: 300px;
  border-radius: 8px;
  transition: mask 0.3s ease, -webkit-mask 0.3s ease;
}

/* Убрали эффект размытия по требованию */

.slot-reel {
  display: flex;
  flex-direction: column;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.slot-word {
  height: 1.2em;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: inherit;
  white-space: nowrap;
  /* Красивый градиент как в карточках тарифов */
  background: linear-gradient(135deg, #4f94f8 0%, #60A5FA 50%, #3B82F6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  /* Фолбэк для браузеров без поддержки background-clip */
  color: #4f94f8;
  /* Добавляем текстовую тень для лучшей видимости */
  text-shadow: 0 0 20px rgba(79, 148, 248, 0.3);
  /* Анимация свечения */
  animation: slot-word-glow 2s ease-in-out infinite alternate;
}

@keyframes slot-word-glow {
  0% {
    filter: brightness(1) saturate(1);
  }
  100% {
    filter: brightness(1.2) saturate(1.3);
  }
}

/* Анимации для разъезжания текста */
.headline-part.animate-left {
  transform: translateX(-100px);
}

.headline-part.animate-right {
  transform: translateX(100px);
}

.headline-part.animate-back {
  transform: translateX(0);
}

/* Эффекты свечения для слот-машины */
.slot-machine::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, 
    transparent 30%, 
    rgba(59, 130, 246, 0.1) 50%, 
    transparent 70%
  );
  animation: slot-shine 2s infinite;
  pointer-events: none;
  border-radius: 8px;
}

@keyframes slot-shine {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* Подзаголовок героя - теперь в две строки */
.hero-subtitle {
  font-size: clamp(1rem, 3vw, 1.25rem);
  color: var(--text-gray);
  max-width: 700px;
  margin: 0 auto 3rem auto;
  line-height: 1.6;
  opacity: 0;
  animation: fadeInUp 1s ease-out 0.5s forwards;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.hero-subtitle div {
  display: block;
  margin: 0;
  font-weight: 500;
}

.hero-subtitle div:first-child {
  font-weight: 600;
  color: var(--text-white);
}

.hero-subtitle div:last-child {
  font-weight: 600;
  color: var(--text-white);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* CTA секция */
.hero-cta {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  opacity: 0;
  animation: fadeInUp 1s ease-out 1s forwards;
  flex-wrap: wrap;
}

/* Космическая кнопка с темным космосом и яркими звездами-частицами */
.primary-cta {
  background: radial-gradient(ellipse at center, #1a1a2e 0%, #16213e 20%, #0f0f23 40%, #000000 100%);
  color: white;
  padding: 1.25rem 3rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.25rem;
  border: 2px solid rgba(59, 130, 246, 0.3);
  cursor: pointer;
  transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  box-shadow: 
    0 8px 32px rgba(59, 130, 246, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
  min-width: 200px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.primary-cta:hover {
  transform: translateY(-6px); /* Больше подъем как у других кнопок */
  box-shadow: 0 12px 40px rgba(59, 130, 246, 0.5);
  /* Убираем смену фона, оставляем космический */
}

.primary-cta:active {
  transform: translateY(-2px); /* Возврат к исходной позиции при клике */
  transition: all 0.1s ease;
  box-shadow: 0 6px 25px rgba(59, 130, 246, 0.4);
}

/* Космические звезды-частицы на кнопке */
.primary-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    /* Яркие звезды-частицы разных размеров */
    radial-gradient(circle at 15% 25%, rgba(255, 255, 255, 0.8) 1px, transparent 2px),
    radial-gradient(circle at 85% 35%, rgba(59, 130, 246, 0.9) 1.5px, transparent 3px),
    radial-gradient(circle at 25% 70%, rgba(255, 255, 255, 0.6) 0.8px, transparent 2px),
    radial-gradient(circle at 75% 80%, rgba(96, 165, 250, 0.7) 1.2px, transparent 2.5px),
    radial-gradient(circle at 45% 15%, rgba(255, 255, 255, 0.4) 0.5px, transparent 1.5px),
    radial-gradient(circle at 65% 60%, rgba(59, 130, 246, 0.8) 1px, transparent 2px),
    radial-gradient(circle at 10% 55%, rgba(255, 255, 255, 0.5) 0.7px, transparent 1.8px),
    radial-gradient(circle at 90% 15%, rgba(96, 165, 250, 0.6) 1.3px, transparent 2.8px),
    radial-gradient(circle at 55% 85%, rgba(255, 255, 255, 0.7) 0.9px, transparent 2.2px),
    radial-gradient(circle at 35% 40%, rgba(59, 130, 246, 0.5) 0.6px, transparent 1.6px);
  animation: cosmicStars 8s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

@keyframes cosmicStars {
  0% {
    background-position: 
      15% 25%, 85% 35%, 25% 70%, 75% 80%, 45% 15%, 65% 60%, 10% 55%, 90% 15%, 55% 85%, 35% 40%;
    opacity: 0.8;
  }
  25% {
    background-position: 
      18% 30%, 82% 40%, 28% 65%, 72% 75%, 48% 20%, 62% 55%, 13% 50%, 87% 20%, 52% 80%, 38% 45%;
    opacity: 1;
  }
  50% {
    background-position: 
      22% 35%, 78% 45%, 32% 60%, 68% 70%, 52% 25%, 58% 50%, 17% 45%, 83% 25%, 48% 75%, 42% 50%;
    opacity: 0.9;
  }
  75% {
    background-position: 
      25% 40%, 75% 50%, 35% 55%, 65% 65%, 55% 30%, 55% 45%, 20% 40%, 80% 30%, 45% 70%, 45% 55%;
    opacity: 1;
  }
  100% {
    background-position: 
      28% 45%, 72% 55%, 38% 50%, 62% 60%, 58% 35%, 52% 40%, 23% 35%, 77% 35%, 42% 65%, 48% 60%;
    opacity: 0.8;
  }
}

.primary-cta:hover::before {
  animation: cosmicStarsHover 4s ease-in-out infinite;
  opacity: 1;
  filter: brightness(1.5);
}

@keyframes cosmicStarsHover {
  0% {
    background-position: 
      20% 30%, 80% 40%, 30% 65%, 70% 75%, 50% 20%, 60% 55%, 15% 50%, 85% 20%, 50% 80%, 40% 45%;
    filter: brightness(1.5) saturate(1.2);
  }
  50% {
    background-position: 
      25% 40%, 75% 50%, 35% 55%, 65% 65%, 55% 30%, 55% 45%, 20% 40%, 80% 30%, 45% 70%, 45% 55%;
    filter: brightness(2) saturate(1.5);
  }
  100% {
    background-position: 
      30% 50%, 70% 60%, 40% 45%, 60% 55%, 60% 40%, 50% 35%, 25% 30%, 75% 40%, 40% 60%, 50% 65%;
    filter: brightness(1.5) saturate(1.2);
  }
}

/* Дополнительный слой блеска поверх звезд */
.primary-cta::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(255, 255, 255, 0.3), 
    transparent
  );
  animation: cosmicShimmer 4s infinite;
  z-index: 2;
  border-radius: 50px;
}

@keyframes cosmicShimmer {
  0% { left: -100%; opacity: 0; }
  10% { opacity: 0.8; }
  90% { opacity: 0.8; }
  100% { left: 100%; opacity: 0; }
}

/* Второстепенная кнопка "Тарифы" */
.secondary-cta {
  background: transparent;
  color: var(--accent-blue);
  padding: 1.25rem 2.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.125rem;
  border: 2px solid rgba(59, 130, 246, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  min-width: 180px;
  text-transform: none;
  letter-spacing: 0.5px;
  backdrop-filter: blur(5px);
}

.secondary-cta:hover {
  background: rgba(59, 130, 246, 0.1);
  color: var(--text-white);
  border-color: var(--accent-blue);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.secondary-cta:active {
  transform: translateY(-1px);
  transition: all 0.1s ease;
}





/* Дополнительные ссылки */
.secondary-links {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.secondary-link {
  color: var(--text-gray);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.secondary-link:hover {
  color: var(--accent-blue);
}

.secondary-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background: var(--accent-blue);
  transition: width 0.3s ease;
}

.secondary-link:hover::after {
  width: 100%;
}
.card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 1px solid var(--text-gray);
  border-radius: 8px;
  overflow: visible;
}

/* Language Switcher Styles */
.language-switcher {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 25px;
  padding: 3px;
  position: relative;
  width: 100px;
  height: 36px;
  gap: 2px;
}

.lang-option {
  flex: 1;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-gray);
  border-radius: 22px;
}

.lang-option.active {
  color: var(--text-white);
  border-radius: 22px;
}

.lang-option img {
  width: 20px;
  height: 15px;
  margin-right: 4px;
  border-radius: 2px;
}
.login-link {
  color: var(--text-white);
  font-size: 0.75rem;
  text-align: center;
  pointer-events: auto;
}
.login-link-blue {
  color: var(--accent-blue);
}
/* Roadmap Styles */
.roadmap-header {
  text-align: center;
  max-width: 1200px;
  margin: 6rem auto 1.5rem auto;
}

.roadmap-section {
  padding: 4rem 2rem;
  background: linear-gradient(180deg, transparent 0%, rgba(59, 130, 246, 0.05) 50%, transparent 100%);
  overflow-x: auto;
  position: relative;
}

.roadmap-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.roadmap-timeline {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 0;
  position: relative;
  min-width: max-content;
  padding: 3rem 0;
}

.roadmap-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent-blue);
  text-align: center;
  margin-bottom: 3rem;
}

.roadmap-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  opacity: 0;
  animation: fadeIn 0.6s ease-out forwards;
  flex: 0 0 200px;
}

.roadmap-circle {
  width: 90px;
  height: 90px;
  background: var(--card-bg-solid);
  border: 3px solid var(--accent-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  box-shadow: 0 0 25px rgba(59, 130, 246, 0.6);
  transition: all 0.3s ease;
  margin-bottom: 2rem;
}

.roadmap-circle:hover {
  transform: scale(1.15) translateY(-5px);
  box-shadow: 0 5px 35px rgba(59, 130, 246, 0.8);
  background: var(--accent-blue);
}

.roadmap-circle:hover i {
  color: white;
  transform: rotateY(360deg);
  transition: all 0.6s ease;
}

.roadmap-circle i {
  font-size: 2rem;
  color: var(--accent-blue);
  transition: all 0.3s ease;
}

.roadmap-content {
  text-align: center;
  padding: 0 1rem;
}

.roadmap-step-title {
  font-size: 0.875rem;
  color: var(--accent-blue);
  margin-bottom: 0.5rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.roadmap-text {
  font-size: 1rem;
  color: var(--text-white);
  font-weight: 500;
  max-width: 180px;
  margin: 0 auto;
  line-height: 1.6;
  transition: all 0.3s ease;
}

.roadmap-item:hover .roadmap-text {
  color: white;
  transform: translateY(-2px);
}

.roadmap-connector {
  position: absolute;
  top: 45px;
  left: 90px;
  width: 110px;
  height: 3px;
  background: linear-gradient(to right, var(--accent-blue), rgba(59, 130, 246, 0.3));
  z-index: 1;
}

.roadmap-connector::after {
  content: '';
  position: absolute;
  right: -8px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid rgba(59, 130, 246, 0.3);
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}

.roadmap-item:last-child .roadmap-connector {
  display: none;
}

/* Animated progress line */
.roadmap-timeline::before {
  content: '';
  position: absolute;
  top: 45px;
  left: 45px;
  right: 45px;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  z-index: 0;
}

@keyframes roadmapProgress {
  from {
    width: 0;
  }
  to {
    width: calc(100% - 90px);
  }
}

.roadmap-timeline::after {
  content: '';
  position: absolute;
  top: 45px;
  left: 45px;
  height: 3px;
  background: linear-gradient(to right, var(--accent-blue), rgba(59, 130, 246, 0.3));
  z-index: 0;
  animation: roadmapProgress 3s ease-out forwards;
  animation-delay: 0.5s;
  width: 0;
}

/* Interactive card styles */
.interactive-card {
  transition: transform 0.1s ease-out;
  will-change: transform;
  transform-style: preserve-3d;
}

/* Stripe-подобная роадмэп с двумя панелями и анимированными узлами */
.roadmap-section-stripe {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(
    135deg,
    rgba(5, 6, 15, 1) 0%,
    rgba(16, 21, 41, 0.95) 50%,
    rgba(5, 6, 15, 1) 100%
  );
  overflow: hidden;
  margin: 0;
  padding: 4rem 0;
}

.roadmap-sticky-container {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
}

.roadmap-content-wrapper {
  display: grid;
  grid-template-columns: 0.6fr 1.4fr;
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
  align-items: center;
}

/* Левая панель с текстом */
.roadmap-text-panel {
  position: relative;
  z-index: 10;
  padding: 2rem 0;
}

.roadmap-main-title {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 2rem;
  background: linear-gradient(135deg, #3B82F6 0%, #60A5FA 50%, #4f94f8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: #3B82F6;
}

.roadmap-subtitle {
  font-size: 1.25rem;
  color: var(--text-gray);
  line-height: 1.6;
  margin-bottom: 3rem;
  max-width: 480px;
}

/* Статичный список этапов roadmap */
.roadmap-steps-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 2rem;
}

.roadmap-step {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(59, 130, 246, 0.1);
  transition: all 0.3s ease;
  position: relative;
}

.roadmap-step:last-child {
  border-bottom: none;
}

.roadmap-step:hover {
  transform: translateX(10px);
  border-color: rgba(59, 130, 246, 0.3);
}

.step-number {
  display: flex;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--accent-blue) 0%, #60A5FA 100%);
  color: white;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.25rem;
  flex-shrink: 0;
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4);
  position: relative;
}


.step-number::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-blue), #60A5FA, var(--accent-blue));
  z-index: -1;
  animation: rotate-glow 3s linear infinite;
}

@keyframes rotate-glow {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.roadmap-step:hover .step-number {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(59, 130, 246, 0.6);
}

.step-content {
  flex: 1;
}

.step-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.step-description {
  font-size: 0.875rem;
  color: var(--text-gray);
  line-height: 1.5;
  margin: 0;
  padding-left: 1rem;
}

/* Правая панель с иконками */
.roadmap-animation-panel {
  position: relative;
  height: 600px;
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Сетка иконок roadmap - единый контейнер */
.roadmap-icons-grid {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
  filter: none !important;
}

.unified-icons-container {
  background: transparent;
  border: none;
  border-radius: 12px;
  padding: 2rem;
  position: relative;
  width: 100%;
  height: 100%;
  max-width: 800px;
  min-height: 600px;
  overflow: visible;
  backdrop-filter: blur(10px);
}

.stage-group {
  display: contents;
}

.stage-group-title {
  display: none;
}

.icons-row {
  display: contents;
}

.icon-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 70px;
  height: 70px;
  background: transparent;
  border: 1px solid rgba(200, 200, 200, 0.2);
  border-radius: 12px;
  padding: 0;
  cursor: pointer;
  transition: all 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  opacity: 0.6;
  transform-origin: center center;
  z-index: 10; /* Иконки рисуются ПОВЕРХ линий */
}

.icon-card:hover {
  opacity: 1;
  transform: scale(1.2) !important;
  transform-origin: center center !important;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  border-color: rgba(255, 255, 255, 0.8);
  /* Убираем изменения gap и padding, которые смещают элемент */
  gap: 0;
  padding: 0;
}


@keyframes icon-pulse {
  0% {
    transform: scale(0.75);
    filter: brightness(1);
  }
  100% {
    transform: scale(0.8);
    filter: brightness(1.2);
  }
}

.icon-card i {
  font-size: 2rem;
  color: var(--text-gray);
  transition: all 0.3s ease;
}

.icon-card:hover i {
  color: var(--accent-blue);
  transform: scale(0.75);
}

.icon-card span {
  font-size: 0.5rem;
  color: var(--text-gray);
  text-align: center;
  line-height: 1;
  font-weight: 500;
  transition: all 0.3s ease;
  opacity: 0;
  position: static;
  background: transparent;
  padding: 0;
  border-radius: 0;
  border: none;
  white-space: nowrap;
  pointer-events: none;
  z-index: 10;
  max-width: 64px;
  overflow: hidden;
  text-overflow: ellipsis;
  box-sizing: border-box;
}

.icon-card:hover span {
  color: #000000;
  opacity: 1;
}

/* Стили для активной иконки в анимации соединения */
.icon-card.connection-active {
  opacity: 1 !important;
  transform: scale(1.2) !important;
  transform-origin: center center !important;
  background: rgba(255, 255, 255, 0.95) !important;
  border-radius: 12px !important;
  border-color: rgba(255, 255, 255, 0.8) !important;
  gap: 0 !important;
  padding: 0 !important;
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.4) !important;
  transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}

.icon-card.connection-active i {
  color: var(--accent-blue) !important;
  transform: scale(0.75) !important;
  transition: all 0.3s ease !important;
}

.icon-card.connection-active span {
  color: #000000 !important;
  opacity: 1 !important;
}

/* Анимация появления иконок */
.icon-card {
  opacity: 0;
  animation: iconAppear 0.6s ease-out forwards;
}

.stage-group:nth-child(1) .icon-card {
  animation-delay: 0.2s;
}

.stage-group:nth-child(2) .icon-card {
  animation-delay: 0.4s;
}

.stage-group:nth-child(3) .icon-card {
  animation-delay: 0.6s;
}

.stage-group:nth-child(4) .icon-card {
  animation-delay: 0.8s;
}

@keyframes iconAppear {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.8);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Узлы на диаграмме */
.diagram-node {
  position: absolute;
  width: 60px;
  height: 60px;
  background: rgba(16, 21, 41, 0.8);
  border: 2px solid rgba(59, 130, 246, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  backdrop-filter: blur(10px);
  opacity: 0;
  transform: scale(0.5);
  z-index: 10;
}

/* Ghost узлы - всегда видимые на фоне */
.diagram-node.ghost {
  opacity: 0.15;
  transform: scale(0.8);
  background: rgba(16, 21, 41, 0.3);
  border-color: rgba(59, 130, 246, 0.1);
  pointer-events: none;
  z-index: 1;
}

.diagram-node.ghost i {
  color: rgba(59, 130, 246, 0.3);
}

.diagram-node.active {
  opacity: 1;
  transform: scale(1);
  background: rgba(59, 130, 246, 0.1);
  border-color: var(--accent-blue);
  box-shadow: 
    0 0 30px rgba(59, 130, 246, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.diagram-node.highlighted {
  transform: scale(1.2) !important;
  background: var(--accent-blue) !important;
  border-color: rgba(255, 255, 255, 0.8) !important;
  box-shadow: 
    0 0 50px rgba(59, 130, 246, 0.9),
    inset 0 2px 10px rgba(255, 255, 255, 0.2) !important;
}

.diagram-node i {
  font-size: 1.5rem;
  color: var(--accent-blue);
  transition: all 0.3s ease;
}

.diagram-node.active i {
  color: var(--accent-blue);
}

.diagram-node.highlighted i {
  color: white !important;
}

/* Pulse эффект при hover */
.diagram-node.pulse-effect {
  animation: pulse-node 1s ease-out;
}

@keyframes pulse-node {
  0% {
    transform: scale(1);
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.6);
  }
  50% {
    transform: scale(1.1);
    box-shadow: 0 0 50px rgba(59, 130, 246, 0.8);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.6);
  }
}

/* Ripple эффект */
.node-ripple {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.3);
  transform: translate(-50%, -50%) scale(0);
  animation: ripple-expand 1s ease-out;
  pointer-events: none;
  z-index: 0;
}

@keyframes ripple-expand {
  0% {
    transform: translate(-50%, -50%) scale(0);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scale(2);
    opacity: 0;
  }
}

/* Метки узлов */
.node-label {
  position: absolute;
  bottom: -35px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.75rem;
  color: var(--text-white);
  text-align: center;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s ease;
  background: rgba(5, 6, 15, 0.9);
  padding: 0.25rem 0.75rem;
  border-radius: 6px;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.diagram-node.active .node-label {
  opacity: 1;
}

/* Соединительные линии */
.connection-line {
  position: absolute;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(59, 130, 246, 0.6) 20%,
    rgba(59, 130, 246, 0.8) 50%,
    rgba(59, 130, 246, 0.6) 80%,
    transparent 100%
  );
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 5;
  border-radius: 2px;
}

.connection-line.active {
  opacity: 1;
  box-shadow: 0 0 15px rgba(59, 130, 246, 0.5);
}

.connection-line.horizontal {
  height: 2px;
  width: 0;
}

.connection-line.horizontal.active {
  width: var(--line-width, 100px);
}

.connection-line.vertical {
  width: 2px;
  height: 0;
}

.connection-line.vertical.active {
  height: var(--line-height, 100px);
}

.connection-line.diagonal {
  height: 2px;
  width: 0;
  transform-origin: left center;
}

.connection-line.diagonal.active {
  width: var(--line-width, 141px);
  transform: rotate(var(--line-angle, 45deg));
}

/* Позиции узлов для разных этапов */

/* Этап 1: Регистрация */
.stage-1 .node-registration { top: 20%; left: 20%; }
.stage-1 .node-verification { top: 20%; right: 20%; }
.stage-1 .node-profile { bottom: 30%; left: 50%; transform: translateX(-50%); }

/* Этап 2: Настройка */
.stage-2 .node-settings { top: 15%; left: 30%; }
.stage-2 .node-integration { top: 15%; right: 30%; }
.stage-2 .node-api { top: 50%; left: 20%; }
.stage-2 .node-webhook { top: 50%; right: 20%; }
.stage-2 .node-dashboard { bottom: 20%; left: 50%; transform: translateX(-50%); }

/* Этап 3: Запуск */
.stage-3 .node-orders { top: 20%; left: 25%; }
.stage-3 .node-payments { top: 20%; right: 25%; }
.stage-3 .node-analytics { top: 50%; left: 50%; transform: translateX(-50%); }
.stage-3 .node-notifications { bottom: 20%; left: 30%; }
.stage-3 .node-reports { bottom: 20%; right: 30%; }

/* Этап 4: Масштабирование */
.stage-4 .node-automation { top: 15%; left: 15%; }
.stage-4 .node-ml { top: 15%; right: 15%; }
.stage-4 .node-advanced { top: 40%; left: 25%; }
.stage-4 .node-enterprise { top: 40%; right: 25%; }
.stage-4 .node-optimization { bottom: 15%; left: 50%; transform: translateX(-50%); }

/* Соединительные линии для каждого этапа */
.stage-1 .line-reg-ver { top: 27%; left: 32%; --line-width: 220px; }
.stage-1 .line-ver-prof { top: 32%; right: 25%; --line-height: 180px; --line-angle: -135deg; --line-width: 200px; }

.stage-2 .line-set-int { top: 22%; left: 42%; --line-width: 160px; }
.stage-2 .line-api-web { top: 57%; left: 32%; --line-width: 160px; }
.stage-2 .line-set-api { top: 27%; left: 25%; --line-height: 140px; --line-angle: 45deg; --line-width: 100px; }

.stage-3 .line-ord-pay { top: 27%; left: 37%; --line-width: 180px; }
.stage-3 .line-pay-ana { top: 32%; right: 30%; --line-height: 120px; --line-angle: -135deg; --line-width: 150px; }
.stage-3 .line-ana-not { bottom: 32%; left: 45%; --line-height: 100px; --line-angle: -45deg; --line-width: 120px; }

/* Прогресс индикатор */
.roadmap-progress {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 1rem;
  z-index: 20;
}

.progress-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.progress-dot.active {
  background: var(--accent-blue);
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.6);
  transform: scale(1.2);
}

/* Адаптивность */
@media (max-width: 1024px) {
  .roadmap-content-wrapper {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .roadmap-main-title {
    font-size: 2.5rem;
  }
  
  .roadmap-animation-panel {
    height: 500px;
    order: -1;
  }
}

@media (max-width: 768px) {
  .roadmap-main-title {
    font-size: 2rem;
  }
  
  .roadmap-subtitle {
    font-size: 1rem;
  }
  
  .stage-title {
    font-size: 1.25rem;
  }
  
  .stage-description {
    font-size: 1rem;
  }
  
  .roadmap-animation-panel {
    height: 400px;
    padding: 1rem;
  }
  
  .diagram-node {
    width: 50px;
    height: 50px;
  }
  
  .diagram-node i {
    font-size: 1.25rem;
  }
}
.system-description {
  max-width: 1200px;
  margin: 4rem auto;
  text-align: center;
  padding: 2rem 1rem;
}
.system-description h2 {
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent-blue);
  margin-bottom: 1rem;
}
.system-description p {
  font-size: 1.125rem;
  color: var(--text-gray);
  margin-bottom: 1rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.system-description .additional-text {
  font-size: 1rem;
  color: var(--text-white);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.system-divider {
  border: none;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--accent-blue), transparent);
  margin: 2rem 0;
}
.customization-section {
  min-height: 800px;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1200px;
  margin: 2rem auto;
  padding: 2rem 0;
}

.customization-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  position: relative;
  z-index: 50;
  transform: scale(1.3);
  background: var(--card-bg-solid);
  max-width: 660px;
  min-height: 500px;
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid var(--text-gray);
}
.contact-section {
  min-height: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1200px;
  margin: 2rem auto;
  padding: 2rem 0;
}
.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  /* Космический градиентный фон аналогично главному экрану */
  background: linear-gradient(135deg, 
    rgba(5, 6, 15, 0.95) 0%, 
    rgba(16, 21, 41, 0.9) 50%, 
    rgba(5, 6, 15, 0.95) 100%
  );
  width: 100%;
  max-width: 600px;
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid rgba(59, 130, 246, 0.3);
  position: relative;
  overflow: hidden;
  /* Убираем анимацию наведения */
  transition: none !important;
  backdrop-filter: blur(10px);
}

/* Убираем hover эффект */
.contact-card:hover {
  transform: none !important;
  box-shadow: inherit !important;
}

/* Космические частицы на фоне формы */
.contact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    /* Космические звезды-частицы как у главной кнопки */
    radial-gradient(circle at 15% 25%, rgba(255, 255, 255, 0.6) 1px, transparent 2px),
    radial-gradient(circle at 85% 35%, rgba(59, 130, 246, 0.7) 1.5px, transparent 3px),
    radial-gradient(circle at 25% 70%, rgba(255, 255, 255, 0.4) 0.8px, transparent 2px),
    radial-gradient(circle at 75% 80%, rgba(96, 165, 250, 0.5) 1.2px, transparent 2.5px),
    radial-gradient(circle at 45% 15%, rgba(255, 255, 255, 0.3) 0.5px, transparent 1.5px),
    radial-gradient(circle at 65% 60%, rgba(59, 130, 246, 0.6) 1px, transparent 2px),
    radial-gradient(circle at 10% 55%, rgba(255, 255, 255, 0.4) 0.7px, transparent 1.8px),
    radial-gradient(circle at 90% 15%, rgba(96, 165, 250, 0.5) 1.3px, transparent 2.8px),
    radial-gradient(circle at 55% 85%, rgba(255, 255, 255, 0.5) 0.9px, transparent 2.2px),
    radial-gradient(circle at 35% 40%, rgba(59, 130, 246, 0.4) 0.6px, transparent 1.6px);
  animation: contactCosmicStars 12s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes contactCosmicStars {
  0% {
    background-position: 
      15% 25%, 85% 35%, 25% 70%, 75% 80%, 45% 15%, 65% 60%, 10% 55%, 90% 15%, 55% 85%, 35% 40%;
    opacity: 0.6;
  }
  25% {
    background-position: 
      18% 30%, 82% 40%, 28% 65%, 72% 75%, 48% 20%, 62% 55%, 13% 50%, 87% 20%, 52% 80%, 38% 45%;
    opacity: 0.8;
  }
  50% {
    background-position: 
      22% 35%, 78% 45%, 32% 60%, 68% 70%, 52% 25%, 58% 50%, 17% 45%, 83% 25%, 48% 75%, 42% 50%;
    opacity: 0.7;
  }
  75% {
    background-position: 
      25% 40%, 75% 50%, 35% 55%, 65% 65%, 55% 30%, 55% 45%, 20% 40%, 80% 30%, 45% 70%, 45% 55%;
    opacity: 0.8;
  }
  100% {
    background-position: 
      28% 45%, 72% 55%, 38% 50%, 62% 60%, 58% 35%, 52% 40%, 23% 35%, 77% 35%, 42% 65%, 48% 60%;
    opacity: 0.6;
  }
}

/* Обеспечиваем, что содержимое отображается поверх фона */
.contact-content {
  position: relative;
  z-index: 1;
}

.pricing-section {
  min-height: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1200px;
  margin: 2rem auto;
  padding: 2rem 0;
}

.pricing-container {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 2rem;
  width: 100%;
  max-width: 1000px;
}

/* Стили для карточек */
.pricing-container .pricing-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  background: var(--pricing-card-bg);
  border: 1px solid var(--text-gray);
  border-radius: 12px;
  padding: 24px;
  width: 450px;
  min-height: 450px;
  position: relative;
  z-index: 20;
  box-shadow: 0 12px 24px rgba(59, 130, 246, 0.4);
  transition: transform 0.1s ease-out, box-shadow 0.3s ease, filter 0.3s ease;
  transform-style: preserve-3d;
  will-change: transform;
}

/* Стили для списка в карточке */
.pricing-card .feature-list {
  width: 100%;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
  padding: 0 1rem; /* Добавляем отступы слева и справа для центрирования */
  max-width: 350px; /* Ограничиваем ширину списка для лучшего центрирования */
}

.pricing-card .feature-list li {
  display: flex;
  align-items: center;
  justify-content: flex-start; /* Выравниваем элементы по левому краю внутри центрированного контейнера */
  margin-bottom: 0.5rem;
  line-height: 1.2;
  padding: 0;
  width: 100%;
}

/* Стили для иконок в списке */
.pricing-card .feature-list i {
  font-size: 0.875rem;
  margin-right: 0.5rem;
  line-height: 1.2;
  vertical-align: top;
  transform: translateY(2px) !important; /* Исправляем смещение иконки */
  animation: none !important;
  filter: none !important;
  color: var(--text-white) !important; /* Обеспечиваем белый цвет */
}

/* Стили для текста в списке */
.pricing-card .feature-list li span {
  font-size: 0.875rem;
  line-height: 1.2;
  vertical-align: middle;
  min-width: 0;
  overflow-wrap: break-word;
}

/* Стили для наведения */
.pricing-container .pricing-card:hover {
  box-shadow: 0 16px 40px rgba(59, 130, 246, 0.6);
  filter: brightness(1.1);
}

/* Отключаем .card-hover для .pricing-card */
.pricing-container .pricing-card.card-hover,
.pricing-container .pricing-card.card-hover:hover {
  transform: none;
  box-shadow: inherit;
  filter: inherit;
}


.error-message {
  color: #EF4444;
  text-align: center;
  padding: 1rem;
  font-size: 1rem;
}
#particles-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}
.blueprint-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
#blueprint-canvas {
  width: 100%;
  height: 100%;
  opacity: 0.1;
}
.parallax-section {
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.min-h-screen {
  margin-top: 80px;
}
footer {
  background: var(--primary-dark);
  padding: 2rem 0;
  border-top: 1px solid var(--text-gray);
}
.footer-title {
  font-size: 1.5rem;
  font-weight: 700;
}
.footer-description {
  font-size: 1rem;
  color: var(--text-gray);
}
.footer-link {
  font-size: 1rem;
  color: var(--text-gray);
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-link:hover {
  color: var(--text-white);
}
.footer-copyright {
  font-size: 0.875rem;
  color: var(--text-gray);
}
@media (max-width: 768px) {
  /* Исправление навигации на мобильных */
  .navbar {
    padding: 0.75rem 0;
  }
  
  .navbar .container {
    padding: 0 1rem;
    max-width: 100%;
  }
  
  .navbar .flex {
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }
  
  .language-switcher {
    flex-shrink: 0;
    width: 80px;
    height: 32px;
    margin-right: 0.5rem;
  }
  
  .lang-option {
    height: 26px;
    font-size: 0.75rem;
  }
  
  .lang-option img {
    width: 16px;
    height: 12px;
    margin-right: 3px;
  }
  
  /* Мобильные стили для логотипа */
  .nav-logo {
    width: 32px;
    height: 32px;
  }
  
  .nav-brand {
    font-size: 1.25rem;
    gap: 0.5rem;
  }
  
  /* Мобильные стили для героя */
  .hero-section {
    min-height: 100vh;
    padding: 1.5rem 1rem;
  }
  
  .animated-headline {
    font-size: clamp(1.8rem, 8vw, 3.5rem);
    gap: 0.25rem;
    flex-direction: column;
    text-align: center;
  }
  
  .slot-machine {
    min-width: 200px;
    margin: 0.5rem 0;
  }
  
  .hero-subtitle {
    font-size: clamp(0.9rem, 4vw, 1.1rem);
    margin: 0 auto 2rem auto;
    padding: 0 1rem;
    white-space: normal !important; /* Позволяем перенос на мобильных */
    max-width: 100%;
    text-overflow: initial;
    overflow: initial;
  }
  
  .hero-cta {
    gap: 1.5rem;
  }
  
  .primary-cta {
    padding: 0.875rem 2rem;
    font-size: 1rem;
    min-width: 280px;
  }
  
  .secondary-links {
    flex-direction: column;
    gap: 1rem;
  }
  
  /* Анимация для мобильных */
  .headline-part.animate-left {
    transform: translateX(-50px);
  }
  
  .headline-part.animate-right {
    transform: translateX(50px);
  }
  
  .icon-cycle {
    gap: 2rem;
  }
  /* Мобильная карусель */
  .cards-container {
    position: relative;
    height: 350px;
    padding: 20px;
    transform-style: preserve-3d;
    perspective: 800px;
    overflow: visible;
  }
  
  .carousel-card {
    width: 280px !important;
    min-height: 250px !important;
    padding: 16px !important;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
  }
  
  .carousel-card.position-left {
    transform: translateX(-80px) translateY(30px) translateZ(-100px) rotateY(-20deg) scale(0.85) !important;
    opacity: 0.7 !important;
    z-index: 10 !important;
  }
  
  .carousel-card.position-center {
    transform: translateX(0px) translateY(0px) translateZ(0px) rotateY(0deg) scale(1) !important;
    opacity: 1 !important;
    z-index: 30 !important;
    width: 300px !important;
    min-height: 270px !important;
    padding: 20px !important;
    background: var(--card-bg-solid) !important;
    backdrop-filter: none !important;
    box-shadow: 0 15px 30px rgba(59, 130, 246, 0.4) !important;
  }
  
  .carousel-card.position-right {
    transform: translateX(80px) translateY(30px) translateZ(-100px) rotateY(20deg) scale(0.85) !important;
    opacity: 0.7 !important;
    z-index: 10 !important;
  }
  
  /* Hover эффекты на мобильном */
  .carousel-card:hover {
    box-shadow: 0 12px 25px rgba(59, 130, 246, 0.5) !important;
  }
  
  .carousel-card.position-center:hover {
    transform: translateX(0px) translateY(-5px) translateZ(5px) rotateY(0deg) scale(1.02) !important;
    box-shadow: 0 20px 35px rgba(59, 130, 246, 0.6) !important;
  }
  
  /* Индикаторы на мобильном */
  .carousel-indicators {
    bottom: -40px !important;
    gap: 8px !important;
  }
  
  .carousel-indicator {
    width: 8px !important;
    height: 8px !important;
  }
  
  /* Disable hover transforms on mobile */
  .interactive-card {
    pointer-events: auto;
  }
  
  .interactive-card:hover {
    transform: translateY(-3px) !important;
  }
  
  /* Disable perspective transforms for card content on mobile */
  .card-left i,
  .card-left h3,
  .card-left .card-subtitle,
  .card-left .input-wrapper,
  .card-left .button-container,
  .card-right i,
  .card-right h3,
  .card-right .card-subtitle,
  .card-right .input-wrapper,
  .card-right .button-container,
  .card-center i,
  .card-center h3,
  .card-center .card-subtitle,
  .card-center .input-wrapper,
  .card-center .button-container,
  .card-center .login-link {
    transform: none !important;
  }
  .customization-card {
    max-width: 95%;
    min-height: 400px;
    transform: scale(1);
    padding: 1rem;
  }
  .contact-section {
    min-height: 500px;
    padding: 1rem;
  }
  .contact-card {
    width: 100%;
    max-width: 95%;
    padding: 1rem;
  }
  .contact-content {
    flex-direction: column;
    gap: 1rem;
  }
  .contact-text {
    padding: 0.5rem;
  }
/* Стили заголовка формы контактов */
.contact-text h3 {
  font-size: 1.5rem;
  text-align: center;
  background: linear-gradient(135deg, #3B82F6 0%, #60A5FA 50%, #4f94f8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: #3B82F6; /* Фолбэк для браузеров без поддержки background-clip */
  font-weight: 800;
  text-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
  animation: glow-text 2s ease-in-out infinite alternate;
}

@keyframes glow-text {
  0% {
    filter: brightness(1) saturate(1);
  }
  100% {
    filter: brightness(1.2) saturate(1.3);
  }
}

.contact-text .subtitle {
    font-size: 0.9rem;
  }
  .contact-form {
    padding: 0.5rem;
  }
  /* Мобильные карточки тарифов - стек с выбором */
  .pricing-container {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    max-width: 100%;
    padding: 0 1rem;
  }
  
  .pricing-container .pricing-card {
    width: 100%;
    max-width: 420px;
    min-height: 480px;
    padding: 2rem;
    margin: 0;
    position: relative;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    font-size: 1rem;
  }
  
  .pricing-container .pricing-card.selected {
    border-color: var(--accent-blue);
    transform: scale(1.02);
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.4);
  }
  
  .pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
  }
  
  .pricing-card .price {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 800;
  }
  
  .pricing-card .description {
    font-size: 1rem;
    margin-bottom: 1rem;
    line-height: 1.4;
  }
  
  .pricing-card .feature-list {
    font-size: 0.9rem;
    margin-bottom: 1rem;
  }
  
  .pricing-card .feature-list li {
    margin-bottom: 0.75rem;
    line-height: 1.5;
  }
  
  .pricing-card button {
    font-size: 1rem;
    padding: 1rem 1.5rem;
    min-height: 50px;
    margin-top: 1rem;
  }
  
  .pricing-container .pricing-card:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.3);
    border-color: rgba(59, 130, 246, 0.5);
  }
  .roadmap-header {
    margin: 3rem auto 1rem auto;
  }
  
  .roadmap-section-stripe {
    padding: 3rem 1rem;
    /* Убираем sticky на мобильных для лучшего скроллинга */
    min-height: auto;
  }
  
  .roadmap-sticky-container {
    position: static;
    height: auto;
  }
  
  .roadmap-content-wrapper {
    /* Мобильная адаптация: вертикальный стек вместо grid */
    display: flex;
    flex-direction: column;
    gap: 3rem;
    grid-template-columns: none;
    padding: 0 1rem;
  }
  
  .roadmap-main-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1.5rem;
  }
  
  .roadmap-subtitle {
    font-size: 1.1rem;
    text-align: center;
    max-width: 100%;
    margin: 0 auto 2rem auto;
  }
  
  .roadmap-steps-list {
    gap: 1.5rem;
  }
  
  .roadmap-step {
    gap: 1rem;
    padding: 1rem 0;
  }
  
  .roadmap-step:hover {
    transform: translateX(5px);
  }
  
  .step-number {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  
  .step-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
  }
  
  .step-description {
    font-size: 0.9rem;
  }
  
  /* Мобильная текстовая панель */
  .roadmap-text-panel {
    order: 1; /* Текст идет первым */
    padding: 1rem 0;
    text-align: center;
  }
  
  /* Мобильная панель анимации */
  .roadmap-animation-panel {
    order: 2; /* Анимация идет второй */
    height: 350px; /* Уменьшаем высоту для мобильных */
    padding: 1rem;
    margin-top: 2rem;
    width: 100%;
    /* Добавляем фон для лучшей видимости на мобильных */
    background: rgba(5, 6, 15, 0.8);
    border-radius: 20px;
    border: 1px solid rgba(59, 130, 246, 0.1);
    overflow: hidden; /* Скрываем выходящие за границы элементы */
  }
  
  /* Мобильная адаптивность для иконок roadmap */
  .roadmap-icons-grid {
    padding: 0;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .unified-icons-container {
    /* Компактная мобильная версия */
    max-width: 100%;
    width: 100%;
    height: 280px; /* Фиксированная высота для мобильных */
    min-width: auto;
    min-height: auto;
    padding: 1rem;
    border-radius: 12px;
    /* Центрируем контейнер */
    margin: 0 auto;
    /* Улучшаем видимость на мобильных */
    background: rgba(16, 21, 41, 0.4);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(59, 130, 246, 0.2);
    position: relative;
  }
  
  .icon-card {
    /* Мобильные иконки значительно меньше */
    width: 45px;
    height: 45px;
    padding: 0.25rem;
    border-radius: 8px;
    border-width: 1px;
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
    /* Переопределяем позиции для компактной мобильной схемы */
  }
  
  /* Новая компактная мобильная раскладка - 4 ряда по центру */
  .unified-icons-container .icon-card {
    position: absolute !important;
  }
  
  /* Ряд 1 - Регистрация в центре */
  #icon-1-3 { top: 15px !important; left: 50% !important; transform: translateX(-50%) !important; }
  
  /* Ряд 2 - Верификация слева, Профиль справа */
  #icon-2-1 { top: 70px !important; left: 30% !important; transform: translateX(-50%) !important; }
  #icon-2-4 { top: 70px !important; left: 70% !important; transform: translateX(-50%) !important; }
  
  /* Ряд 3 - API в центре, База данных слева, Дашборд справа */
  .unified-icons-container .icon-card:nth-child(6) { top: 125px !important; left: 25% !important; transform: translateX(-50%) !important; } /* База данных */
  #icon-3-3 { top: 125px !important; left: 50% !important; transform: translateX(-50%) !important; } /* API */
  #icon-3-6 { top: 125px !important; left: 75% !important; transform: translateX(-50%) !important; } /* Дашборд */
  
  /* Ряд 4 - Заказы слева, Платежи справа */
  #icon-4-1 { top: 180px !important; left: 35% !important; transform: translateX(-50%) !important; }
  #icon-4-4 { top: 180px !important; left: 65% !important; transform: translateX(-50%) !important; }
  
  /* Ряд 5 - Аналитика в центре */
  #icon-5-3 { top: 235px !important; left: 50% !important; transform: translateX(-50%) !important; }
  
  /* Скрываем лишние иконки на мобильных для упрощения */
  .unified-icons-container .icon-card:nth-child(5), /* Настройки */
  .unified-icons-container .icon-card:nth-child(7), /* Интеграции */
  .unified-icons-container .icon-card:nth-child(9), /* Webhooks */
  .unified-icons-container .icon-card:nth-child(12), /* Уведомления */
  #icon-5-5, /* Отчеты */
  .unified-icons-container .icon-card:nth-child(15), /* Автоматизация */
  .unified-icons-container .icon-card:nth-child(16), /* ML */
  .unified-icons-container .icon-card:nth-child(17) /* Оптимизация */
  {
    display: none !important;
  }
  
  .icon-card i {
    font-size: 1rem; /* Меньше иконки для компактности */
  }
  
  .icon-card span {
    font-size: 0.55rem; /* Еще меньше текст для компактности */
    line-height: 1.1;
    font-weight: 500;
    /* Улучшаем читаемость на мобильных */
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  }
  
  .diagram-node {
    width: 50px;
    height: 50px;
  }
  
  .diagram-node i {
    font-size: 1.25rem;
  }
  .system-description {
    margin: 2rem auto;
    padding: 1rem;
  }
  .system-description h2 {
    font-size: 2rem;
  }
  .system-description p {
    font-size: 1rem;
  }
  .system-description .additional-text {
    font-size: 0.9rem;
  }
  .system-divider {
    margin: 1.5rem 0;
  }
  .tile-container {
    max-width: 95%;
    gap: 0;
  }
  .tile {
    border: none;
    padding: 0.5rem;
    font-size: 0.8rem;
    height: 85px;
  }
  .tile:not(:nth-child(2n)) {
    border-right: 1px solid rgba(160, 174, 192, 0.1);
  }
  .tile:not(:nth-last-child(-n+2)) {
    border-bottom: 1px solid rgba(160, 174, 192, 0.1);
  }
  .tile i {
    font-size: 1.2rem;
  }
  .tile i::after {
    border-right: 1px solid rgba(160, 174, 192, 0.2);
  }
  .tile span {
    padding-right: 0.75rem;
  }
  .button-container {
    flex-direction: column;
    gap: 0.5rem;
  }
  .input-wrapper {
    max-width: 100%;
  }
  input:not([type="checkbox"]), textarea {
    max-width: 100%;
    height: 44px;
    padding: 10px;
    font-size: 0.8rem;
  }
  textarea {
    height: 80px;
  }
  .input-label {
    top: 10px;
    left: 10px;
    font-size: 0.8rem;
    font-weight: normal;
  }
  input:focus + .input-label,
  input:not(:placeholder-shown) + .input-label,
  textarea:focus + .input-label,
  textarea:not(:placeholder-shown) + .input-label {
    top: -6px;
    left: 10px;
    font-size: 0.6rem;
    opacity: 1;
  }
  .card-left i, .card-right i, .card-center i {
    font-size: 1.5rem;
    margin-bottom: 24px;
  }
  .card-left h3, .card-right h3, .card-center h3 {
    font-size: 1.125rem;
    margin-bottom: 6px;
  }
  .card-subtitle {
    font-size: 0.7rem;
    margin: 0 0 6px 0;
  }
  .card-left button, .card-right button, .card-center button {
    padding: 10px 20px;
    font-size: 0.8rem;
    min-height: 44px;
  }
  .navbar a {
    font-size: 1.25rem;
  }
  .lang-button {
    font-size: 0.9rem;
  }
  .divider {
    margin: 12px 0;
  }
  .login-link {
    font-size: 0.7rem;
  }
  .card-left i,
  .card-left h3,
  .card-left .card-subtitle,
  .card-left .input-wrapper,
  .card-left .button-container,
  .card-right i,
  .card-right h3,
  .card-right .card-subtitle,
  .card-right .input-wrapper,
  .card-right .button-container,
  .card-center i,
  .card-center h3,
  .card-center .card-subtitle,
  .card-center .input-wrapper,
  .card-center .button-container,
  .card-center .login-link {
    transform: rotateY(0deg);
  }
  .hero-subtitle {
    margin-bottom: 2.5rem !important;
  }
  .min-h-screen {
    margin-top: 60px;
  }
  .parallax-section {
    transform: translateY(0);
    opacity: 1;
  }
  /* Мобильный footer */
  footer {
    padding: 1.5rem 0;
  }
  
  footer .container {
    padding: 0 1rem;
  }
  
  footer .flex {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
  }
  
  .footer-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
  }
  
  .footer-description {
    font-size: 0.9rem;
    margin-bottom: 1rem;
  }
  
  .footer-link {
    font-size: 0.9rem;
    display: block;
    margin-bottom: 0.5rem;
  }
  
  .footer-copyright {
    font-size: 0.8rem;
    margin-top: 1rem;
    text-align: center;
  }
}
/* Исправление плавающих лейблов */
.input-wrapper {
  position: relative;
  width: 100%;
  margin-bottom: 1rem;
}

.input-label {
  position: absolute;
  top: 50%; /* Центрирование по вертикали внутри поля */
  transform: translateY(-50%); /* Смещение для точного центрирования */
  left: 12px;
  font-size: 0.875rem;
  color: var(--text-gray);
  pointer-events: none;
  transition: all 0.2s ease-in-out;
  background: transparent; /* Убираем фон в начальном состоянии */
  padding: 0 4px;
  opacity: 0.7; /* Легкая прозрачность для начального состояния */
}

input:focus + .input-label,
input:not(:placeholder-shown) + .input-label,
textarea:focus + .input-label,
textarea:not(:placeholder-shown) + .input-label {
  top: -8px; /* Положение над полем */
  transform: translateY(0); /* Сбрасываем смещение */
  left: 10px;
  font-size: 0.75rem;
  color: var(--text-white);
  background: var(--card-bg-solid);
  opacity: 1;
}

/* Стили для input[type="file"] */
.contact-form input[type="file"] {
  padding: 10px;
  font-size: 0.875rem;
  line-height: 1.5;
}

.contact-form input[type="file"] + .input-label {
  top: -8px; /* Фиксированное положение для поля файла */
  left: 10px;
  font-size: 0.75rem;
  color: var(--text-white);
  background: var(--card-bg-solid);
  opacity: 1;
  transform: translateY(0);
}

/* Убедимся, что поля имеют правильную высоту */
input:not([type="checkbox"]), textarea {
  max-width: 100%;
  height: 44px;
  padding: 10px 12px;
  font-size: 0.875rem;
  box-sizing: border-box;
}

textarea {
  height: 80px;
}

/* Стили для блока описания сервиса */
.service-description-section {
  max-width: 1200px;
  margin: 4rem auto;
  padding: 3rem 2rem;
}

.service-description-container {
  width: 100%;
}

.service-description-header {
  text-align: center;
  margin-bottom: 3rem;
}

.service-description-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent-blue);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.service-description-subtitle {
  font-size: 1.25rem;
  color: var(--text-gray);
  max-width: 600px;
  margin: 0 auto;
}

.service-description-content {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.description-intro {
  text-align: center;
  margin-bottom: 2rem;
}

.intro-text {
  font-size: 1.125rem;
  color: var(--text-white);
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

.feature-card {
  background: var(--card-bg-solid);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 12px;
  padding: 2rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent-blue), transparent);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
  border-color: var(--accent-blue);
}

.feature-icon-wrapper {
  width: 60px;
  height: 60px;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.feature-icon {
  font-size: 1.75rem;
  color: var(--accent-blue);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.1); opacity: 0.8; }
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 1rem;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  color: var(--text-gray);
  font-size: 0.9rem;
  line-height: 1.5;
}

.feature-list li i {
  color: var(--accent-blue);
  font-size: 0.875rem;
  margin-top: 0.125rem;
  flex-shrink: 0;
}

.benefits-summary {
  display: flex;
  justify-content: center;
  gap: 3rem;
  padding: 2rem;
  background: rgba(59, 130, 246, 0.05);
  border-radius: 12px;
  margin-bottom: 2rem;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-white);
}

.benefit-item i {
  font-size: 1.5rem;
  color: var(--accent-blue);
  animation: icon-glow 3s ease-in-out infinite;
}

.cta-section {
  text-align: center;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(96, 165, 250, 0.1) 100%);
  border-radius: 12px;
}

.cta-text {
  font-size: 1.25rem;
  color: var(--text-white);
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-size: 1.125rem;
  transition: all 0.3s ease;
}

.cta-button i {
  transition: transform 0.3s ease;
}

.cta-button:hover i {
  transform: translateX(5px);
}

/* Большая кнопка "Обсудить детали" */
.large-cta-button {
  /* Центровка кнопки в контейнере */
  margin: 0 auto;
  display: block;
  
  /* Увеличенный размер */
  padding: 1.75rem 3rem !important;
  font-size: 1.375rem !important;
  min-width: 320px !important;
  min-height: auto !important;
  
  /* Убираем стандартные стили от gradient-button */
  transform: none !important;
  box-shadow: 0 8px 32px rgba(59, 130, 246, 0.4) !important;
  
  /* Позиционирование для размещения контента */
  position: relative;
  border-radius: 12px;
  
  /* Переопределяем z-index для частиц */
  z-index: 1;
}

.large-cta-button:hover {
  transform: translateY(-8px) !important;
  box-shadow: 0 16px 48px rgba(59, 130, 246, 0.6) !important;
}

.large-cta-button:active {
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4) !important;
}

/* Контейнер для содержимого кнопки */
.button-content {
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
  z-index: 2;
  pointer-events: none;
}

/* Стили для иконки диалога */
.chat-icon {
  font-size: 1.25rem !important;
  color: var(--text-white) !important;
  animation: none !important;
  filter: none !important;
  transform: none !important;
  margin: 0 !important;
  flex-shrink: 0;
}

/* Текст кнопки */
.large-cta-button .button-text {
  font-weight: 700;
  letter-spacing: 0.5px;
  flex-grow: 1;
  text-align: left;
  color: var(--text-white);
  font-size: inherit;
  pointer-events: none;
}

/* Центрирование блока с кнопкой */
.cta-section-simple {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 2rem 0;
}

/* Адаптивность для блока описания сервиса */
@media (max-width: 768px) {
  .service-description-section {
    margin: 2rem auto;
    padding: 2rem 1rem;
  }
  
  .service-description-title {
    font-size: 1.75rem;
  }
  
  .service-description-subtitle {
    font-size: 1rem;
  }
  
  .intro-text {
    font-size: 1rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .feature-card {
    padding: 1.5rem;
  }
  
  .feature-icon-wrapper {
    width: 50px;
    height: 50px;
    margin-bottom: 1rem;
  }
  
  .feature-icon {
    font-size: 1.5rem;
  }
  
  .feature-title {
    font-size: 1.125rem;
  }
  
  .feature-list li {
    font-size: 0.875rem;
  }
  
  .benefits-summary {
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem;
  }
  
  .benefit-item {
    font-size: 1rem;
  }
  
  .benefit-item i {
    font-size: 1.25rem;
  }
  
  .cta-text {
    font-size: 1rem;
  }
  
  .cta-button {
    font-size: 1rem;
    padding: 0.875rem 1.5rem;
  }
}

/* Mobile fixes for card hover effects */
.card-left:hover,
.card-right:hover,
.card-center:hover {
  transform: none;
}

.interactive-card:hover {
  transform: translateY(-5px);
}

/* Pricing card interactive styles */
.pricing-card.interactive-card {
  transition: transform 0.1s ease-out !important;
}

/* Адаптивность */
@media (max-width: 768px) {
  .input-label {
    font-size: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
  }

  input:focus + .input-label,
  input:not(:placeholder-shown) + .input-label,
  textarea:focus + .input-label,
  textarea:not(:placeholder-shown) + .input-label,
  .contact-form input[type="file"] + .input-label {
    font-size: 0.625rem;
    top: -6px;
    transform: translateY(0);
  }

  input:not([type="checkbox"]), textarea {
    font-size: 0.75rem;
    padding: 8px 10px;
  }
  
  /* Мобильные стили для большой кнопки "Обсудить детали" */
  .large-cta-button {
    min-width: 280px !important;
    padding: 1.25rem 2rem !important;
    font-size: 1.125rem !important;
  }
  
  .chat-icons {
    width: 2.5rem;
    height: 1.75rem;
  }
  
  .chat-icon-1,
  .chat-icon-2 {
    font-size: 1rem !important;
  }
  
  .button-content {
    gap: 0.75rem;
  }
  
  .cta-section-simple {
    padding: 1.5rem 0;
  }
}
