/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* 60% - Основной фон (нейтральный) */
  --bg-primary: #0a0e1a;
  --bg-secondary: #111827;
  --bg-surface: #1a1f2e;
  
  /* 30% - Вторичный цвет (стальной серый) */
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --border-color: rgba(148, 163, 184, 0.15);
  
  /* 10% - Акцентные цвета (электрический синий, неоновый) */
  --accent-primary: #3b82f6;
  --accent-secondary: #60a5fa;
  --accent-glow: rgba(59, 130, 246, 0.3);
  
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.5);
  
  /* Typography - Montserrat + Lato */
  --font-sans: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html, body {
  font-family: var(--font-body);
  font-weight: 400;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  -ms-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  line-height: 1.6;
}

a {
  text-decoration: none !important;
  color: inherit;
}

h1, h2, h3 {
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-top: 0px;
  margin-bottom: 0px;
}

h4, h5, h6 {
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-top: 0px;
  margin-bottom: 0px;
}

ul {
  margin-bottom: 0px;
  list-style: none;
}

p {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  font-weight: 400;
  color: var(--text-secondary);
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

.col-lg-2, .col-lg-3, .col-lg-4, .col-lg-6, .col-lg-8, .col-lg-10, .col-lg-12 {
  padding: 0 15px;
}

.col-lg-2 { width: 16.666%; }
.col-lg-3 { width: 25%; }
.col-lg-4 { width: 33.333%; }
.col-lg-6 { width: 50%; }
.col-lg-8 { width: 66.666%; }
.col-lg-10 { width: 83.333%; }
.col-lg-12 { width: 100%; }

.offset-lg-1 { margin-left: 8.333%; }
.offset-lg-2 { margin-left: 16.666%; }

@media (max-width: 991px) {
  .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-6, .col-lg-8, .col-lg-10, .col-lg-12 {
    width: 100%;
    margin-bottom: 20px;
  }
  .offset-lg-1, .offset-lg-2 {
    margin-left: 0;
  }
}

/* Preloader */
.js-preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.js-preloader.hidden {
  display: none;
}

.preloader-inner {
  text-align: center;
}

.dots {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 20px;
}

.dots span {
  width: 10px;
  height: 10px;
  background: #667eea;
  border-radius: 50%;
  animation: bounce 1.4s infinite ease-in-out both;
}

.dots span:nth-child(1) { animation-delay: -0.32s; }
.dots span:nth-child(2) { animation-delay: -0.16s; }

@keyframes bounce {
  0%, 80%, 100% { transform: scale(0); }
  40% { transform: scale(1); }
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  background: transparent;
  backdrop-filter: none;
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(10, 14, 26, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.navbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-nav-primary {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  background: var(--accent-primary);
  color: white !important;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  text-decoration: none !important;
  transition: background 0.2s, box-shadow 0.2s;
}

.btn-nav-primary:hover {
  background: var(--accent-secondary);
  box-shadow: 0 0 20px var(--accent-glow);
}

.btn-nav-secondary {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  background: transparent;
  color: var(--text-secondary) !important;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  cursor: pointer;
  text-decoration: none !important;
  transition: border-color 0.2s, color 0.2s;
}

.btn-nav-secondary:hover {
  border-color: var(--accent-primary);
  color: var(--accent-primary) !important;
}

/* Login button in nav */
.btn-login {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  background: var(--accent-primary);
  color: white !important;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 8px;
  text-decoration: none !important;
  transition: background 0.2s, box-shadow 0.2s;
}
.btn-login:hover {
  background: var(--accent-secondary);
  box-shadow: 0 0 20px var(--accent-glow);
  color: white !important;
}

/* Nav dropdown */
.nav-dropdown {
  position: relative;
}
.nav-dropdown > a::after {
  content: " ▾";
  font-size: 0.7em;
  opacity: 0.8;
}
.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 200px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 8px 0;
  margin-top: 8px;
  box-shadow: var(--shadow-lg);
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
  z-index: 1000;
}
.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
}
.nav-dropdown-menu li {
  margin: 0;
}
.nav-dropdown-menu a {
  display: block;
  padding: 10px 20px;
  color: var(--text-secondary) !important;
  font-size: 0.9rem;
  border-radius: 0;
  padding-bottom: 10px;
}
.nav-dropdown-menu a::after {
  display: none;
}
.nav-dropdown-menu a:hover {
  background: rgba(59, 130, 246, 0.1);
  color: var(--accent-primary) !important;
}

.logo img {
  height: 40px;
  width: auto;
}

.nav-menu {
  display: flex;
  gap: 30px;
  list-style: none;
}

.nav-menu li {
  position: relative;
}

.nav-menu a {
  font-family: var(--font-sans);
  color: var(--text-secondary) !important;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s;
  position: relative;
  display: block;
  padding-bottom: 8px;
  text-decoration: none !important;
  border-bottom: none !important;
  letter-spacing: 0.02em;
}

.nav-menu a:hover {
  color: var(--accent-primary) !important;
  text-decoration: none !important;
  border-bottom: none !important;
}

.nav-menu a.active,
.nav-menu span.active {
  color: var(--accent-primary) !important;
  text-decoration: none !important;
  border-bottom: none !important;
  cursor: default;
}

.nav-menu a.active:hover {
  color: var(--accent-primary) !important;
}

.nav-menu a.active::after,
.nav-menu span.active::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  background: var(--accent-primary);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--accent-glow);
}

.nav-menu span.active {
  position: relative;
  display: inline-block;
  padding-bottom: 4px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
}

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

.hamburger span {
  width: 25px;
  height: 3px;
  background: #e2e8f0;
  transition: all 0.3s;
}

@media (max-width: 991px) {
  .hamburger {
    display: flex;
  }
  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    background: #0b0f1a;
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(3, 7, 18, 0.4);
    transition: left 0.3s;
  }
  .nav-menu.active {
    left: 0;
  }
  .nav-dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    display: none;
    margin-top: 0;
    margin-left: 16px;
    margin-bottom: 8px;
    padding: 8px 0;
    border: none;
    box-shadow: none;
    background: transparent;
    border-left: 2px solid var(--border-color);
  }
  .nav-dropdown.open .nav-dropdown-menu {
    display: block;
  }
  .nav-dropdown > a::after {
    content: " ▾";
    transition: transform 0.2s;
  }
  .nav-dropdown.open > a::after {
    transform: rotate(180deg);
  }
}

/* Callback Button */
.callback-bt {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: var(--accent-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  box-shadow: 0 4px 16px var(--accent-glow);
  transition: all 0.3s;
}

.callback-bt:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 24px var(--accent-glow);
}

.text-call {
  color: white;
  text-align: center;
}

.call-text {
  font-size: 12px;
  margin: 0;
}

/* Main Banner */
.main-banner {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  padding-bottom: 120px;
  overflow: hidden;
  color: var(--text-primary);
  background: var(--bg-primary);
}

.main-banner .container {
  position: relative;
  z-index: 2;
  width: 100%;
}

.main-banner::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 900px;
  height: 900px;
  background: radial-gradient(
    circle,
    rgba(59, 130, 246, 0.08) 0%,
    rgba(59, 130, 246, 0.03) 35%,
    transparent 65%
  );
  transform: translate(-50%, -50%) scale(0.6);
  opacity: 0;
  animation: ai-pulse 7s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

@keyframes ai-pulse {
  0% {
    transform: translate(-50%, -50%) scale(0.6);
    opacity: 0;
  }
  15% {
    opacity: 0.25;
  }
  40% {
    transform: translate(-50%, -50%) scale(1.0);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

.main-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: 
    /* Световой вектор от Dev к Ops */
    linear-gradient(
      90deg,
      transparent 0%,
      rgba(79, 209, 165, 0.04) 20%,
      rgba(91, 124, 255, 0.05) 50%,
      rgba(91, 124, 255, 0.04) 80%,
      transparent 100%
    ),
    radial-gradient(
      800px 600px at 30% 70%,
      rgba(255, 255, 255, 0.03),
      transparent 70%
    ),
    radial-gradient(
      600px 400px at 80% 20%,
      rgba(59, 130, 246, 0.08),
      transparent 50%
    );
  pointer-events: none;
  z-index: 1;
  animation: backgroundPulse 8s ease-in-out infinite;
}

@keyframes backgroundPulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.8;
  }
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
  transform: translateY(-20px);
}

/* Dev / Ops фоновые якоря */
.hero-dev,
.hero-ops {
  position: absolute;
  font-size: clamp(180px, 25vw, 320px);
  font-weight: 800;
  opacity: 0.06;
  letter-spacing: -0.04em;
  pointer-events: none;
  user-select: none;
  z-index: 1;
  line-height: 1;
}

.hero-dev {
  left: 8%;
  top: 27%; /* асимметрия по вертикали - выше */
  color: #4fd1a5; /* зелёный Dev */
  filter: blur(2px); /* мягче, теплее, размытее */
  opacity: 0.05; /* менее прозрачный - "входящий" */
  transform: scale(1.05); /* больше - активнее */
  animation: dev-drift 35s ease-in-out infinite;
}

.hero-ops {
  right: 8%;
  top: 35%; /* асимметрия по вертикали - чуть ниже Dev */
  color: #5b7cff; /* синий Ops */
  filter: blur(0.5px); /* холоднее, четче */
  opacity: 0.04; /* прозрачнее - "принимающий" */
  transform: scale(0.95); /* меньше - дальше */
  animation: ops-drift 35s ease-in-out infinite;
}

/* Медленный горизонтальный дрифт - Dev движется к центру */
@keyframes dev-drift {
  0%, 100% {
    transform: scale(1.05) translateX(0);
  }
  50% {
    transform: scale(1.05) translateX(-3%);
  }
}

/* Медленный горизонтальный дрифт - Ops движется к центру */
@keyframes ops-drift {
  0%, 100% {
    transform: scale(0.95) translateX(0);
  }
  50% {
    transform: scale(0.95) translateX(3%);
  }
}

@media (max-width: 991px) {
  .hero-dev,
  .hero-ops {
    font-size: clamp(120px, 20vw, 200px);
  }
  
  .hero-dev {
    left: 4%;
    top: 40%;
    filter: blur(2.5px);
    opacity: 0.06; /* сохраняем контраст */
    animation: dev-drift-tablet 35s ease-in-out infinite;
  }
  
  .hero-ops {
    right: 4%;
    top: 42%;
    filter: blur(1px);
    opacity: 0.03;
    animation: ops-drift-tablet 35s ease-in-out infinite;
  }
  
  @keyframes dev-drift-tablet {
    0%, 100% {
      transform: scale(1.03) translateX(0);
    }
    50% {
      transform: scale(1.03) translateX(-2%);
    }
  }
  
  @keyframes ops-drift-tablet {
    0%, 100% {
      transform: scale(0.97) translateX(0);
    }
    50% {
      transform: scale(0.97) translateX(2%);
    }
  }
}

@media (max-width: 768px) {
  .hero-dev,
  .hero-ops {
    font-size: clamp(80px, 15vw, 150px);
  }
  
  .hero-dev {
    left: 2%;
    top: 40%;
    opacity: 0.05;
    animation: dev-drift-mobile 35s ease-in-out infinite;
  }
  
  .hero-ops {
    right: 2%;
    top: 42%;
    opacity: 0.025;
    animation: ops-drift-mobile 35s ease-in-out infinite;
  }
  
  @keyframes dev-drift-mobile {
    0%, 100% {
      transform: scale(1.02) translateX(0);
    }
    50% {
      transform: scale(1.02) translateX(-2%);
    }
  }
  
  @keyframes ops-drift-mobile {
    0%, 100% {
      transform: scale(0.98) translateX(0);
    }
    50% {
      transform: scale(0.98) translateX(2%);
    }
  }
  
  .hero-subline::after {
    width: 300px;
    height: 150px;
  }
}

.hero-content::before {
  content: "";
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.1), transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: -1;
}

.header-text {
  text-align: center;
}

.hero-title {
  text-align: center;
  margin-bottom: 20px;
  animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Universal Animation Engine */
/* Universal Animation Engine - JS will set inline styles */
[data-animate] {
  will-change: opacity, transform;
}

.hero-eyebrow {
  font-family: var(--font-sans);
  letter-spacing: 0.3em;
  font-size: clamp(0.875rem, 1.2vw, 1.1rem);
  margin-bottom: 20px;
  color: var(--text-secondary);
  text-transform: uppercase;
  font-weight: 600;
  position: relative;
  display: inline-block;
}

.hero-eyebrow::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 2px;
  background: var(--accent-primary);
  opacity: 0.8;
}

.hero-title h1 {
  font-family: var(--font-sans);
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin: 0;
}

.h1-soft {
  font-weight: 700;
  color: var(--text-primary);
}

.h1-strong {
  font-weight: 700;
  color: var(--text-primary);
  position: relative;
}

.h1-medium {
  font-weight: 700;
  color: var(--text-primary);
}

.hero-subline {
  font-family: var(--font-sans);
  margin-top: 20px;
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
  font-weight: 400;
  font-style: italic;
  position: relative;
  display: inline-block;
  letter-spacing: 0.04em;
  line-height: 1.4;
  opacity: 0.85;
  text-shadow: 0 0 20px rgba(59, 130, 246, 0.15);
}

/* Радиальный свет под словом "production" - центр тяжести */
.hero-subline::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -15px;
  transform: translateX(-50%);
  width: 400px;
  height: 200px;
  background: radial-gradient(
    ellipse,
    rgba(59, 130, 246, 0.04) 0%,
    rgba(59, 130, 246, 0.02) 30%,
    transparent 60%
  );
  pointer-events: none;
  z-index: -1;
  filter: blur(20px);
}

.typewriter-content {
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 50%, var(--accent-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.typewriter-cursor {
  color: var(--accent-primary);
  animation: blink 1s infinite;
  margin-left: 4px;
  font-weight: 700;
  font-size: 1.1em;
}

@keyframes blink {
  0%, 50% {
    opacity: 1;
  }
  51%, 100% {
    opacity: 0;
  }
}

.header-text p {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 50px;
  color: var(--text-secondary);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-bottom: 35px;
  flex-wrap: wrap;
  padding: 25px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  animation: fadeInUp 1s ease-out 0.4s both;
}

.stat-item {
  text-align: center;
  transition: transform 0.3s ease;
}

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

.stat-value {
  font-family: var(--font-sans);
  font-size: 2.5em;
  font-weight: 800;
  color: var(--accent-primary);
  line-height: 1.2;
  margin-bottom: 8px;
  transition: all 0.3s ease;
  letter-spacing: -0.01em;
}

.stat-item:hover .stat-value {
  color: var(--accent-secondary);
  transform: scale(1.05);
}

.stat-label {
  font-family: var(--font-sans);
  font-size: 0.95em;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.01em;
}

.hero-features {
  display: flex;
  justify-content: center;
  gap: 50px;
  margin-bottom: 35px;
  flex-wrap: wrap;
  padding: 12px 0;
  animation: fadeInUp 1s ease-out 0.6s both;
}

.feature-icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition: transform 0.3s ease;
}

.feature-icon-item:hover {
  transform: translateY(-8px);
}

.feature-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 12px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.feature-icon-item:hover .feature-icon {
  background: rgba(59, 130, 246, 0.2);
  border-color: var(--accent-primary);
  transform: scale(1.1);
  box-shadow: 0 8px 24px var(--accent-glow);
}

.feature-icon-item span {
  font-family: var(--font-sans);
  font-size: 0.95em;
  color: var(--text-secondary);
  font-weight: 500;
  transition: color 0.3s ease;
  letter-spacing: 0.01em;
}

.feature-icon-item:hover span {
  color: var(--text-primary);
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 0;
  margin-top: 30px;
  animation: fadeInUp 1s ease-out 0.8s both;
}

.cta-primary,
.cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all 0.2s ease;
}

.cta-primary {
  position: relative;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  background: var(--accent-primary);
  color: var(--text-primary);
  text-transform: none;
  box-shadow: 0 1px 4px rgba(59, 130, 246, 0.2);
  transition: all 0.2s ease;
  overflow: visible;
  border: none;
}

.cta-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.25);
  background: #2563eb;
}

.cta-secondary {
  font-family: var(--font-sans);
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
  text-transform: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 10px 18px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.cta-secondary:hover {
  color: var(--text-primary);
  border-color: var(--accent-primary);
  background: rgba(59, 130, 246, 0.05);
}

/* Финальный CTA-блок — спокойный, без перегруза */
.cta-block {
  padding: 32px 0;
  text-align: center;
}
.cta-block h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 20px;
}
.cta-block-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.align-self-center {
  align-self: center;
}

.right-image img {
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* Section Styles */
.section {
  padding: 80px 0;
}

.section-heading {
  text-align: center;
  margin-bottom: 50px;
}

.section-heading h2.section-title {
  font-family: var(--font-sans);
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
  text-transform: none;
  letter-spacing: 0.02em;
  opacity: 0.9;
}
.section-heading h4 {
  font-family: var(--font-sans);
  color: var(--text-primary);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 600;
  margin-bottom: 15px;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.section-heading img {
  width: 45px;
  height: 2px;
  margin: 15px auto;
  display: block;
}

.section-heading p {
  font-family: var(--font-body);
  margin-top: 20px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* AI Section */
.ai-section {
  background: var(--bg-secondary);
  color: var(--text-primary);
  padding: 64px 0;
}

.ai-section .section-heading h4 {
  font-family: var(--font-sans);
  color: var(--text-primary);
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.ai-section .section-heading p {
  font-family: var(--font-body);
  color: var(--text-secondary);
  font-size: 1.1em;
  line-height: 1.5;
}

.ai-section .section-heading h2.section-title {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  opacity: 1;
}

.feature-card {
  background: var(--bg-surface);
  padding: 32px;
  border-radius: 12px;
  margin: 15px 0;
  min-height: 280px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  animation: fadeInUp 0.8s ease-out both;
  animation-play-state: paused;
}

.feature-card:hover {
  border-color: var(--accent-primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.feature-card h5 {
  font-family: var(--font-sans);
  color: var(--text-primary);
  font-size: 1.35em;
  margin-bottom: 12px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.feature-card p {
  font-family: var(--font-body);
  color: var(--text-secondary);
  margin-bottom: 15px;
  line-height: 1.5;
}

.feature-card ul {
  color: var(--text-secondary);
  padding-left: 20px;
  font-size: 0.9em;
  line-height: 1.8;
  flex-grow: 1;
  margin: 0;
}

.feature-card ul li {
  list-style: disc;
  margin-bottom: 8px;
}

/* Выравнивание карточек в колонках */
.ai-section .col-lg-4,
.ai-section .col-lg-3 {
  display: flex;
  flex-direction: column;
}

/* Выравнивание service-card-modern в ai-deployment по высоте */
#ai-deployment .service-card-modern {
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* Animation delays for feature cards - exactly like service-card-modern */
#ai-deployment .row:first-of-type .col-lg-4:nth-child(1) .feature-card {
  animation-delay: 0.1s;
}

#ai-deployment .row:first-of-type .col-lg-4:nth-child(2) .feature-card {
  animation-delay: 0.2s;
}

#ai-deployment .row:first-of-type .col-lg-4:nth-child(3) .feature-card {
  animation-delay: 0.3s;
}

/* Animation delays for feature mini cards */
#ai-deployment .row:last-of-type .col-lg-3:nth-child(1) .feature-mini-card {
  animation-delay: 0.4s;
}

#ai-deployment .row:last-of-type .col-lg-3:nth-child(2) .feature-mini-card {
  animation-delay: 0.5s;
}

#ai-deployment .row:last-of-type .col-lg-3:nth-child(3) .feature-mini-card {
  animation-delay: 0.6s;
}

#ai-deployment .row:last-of-type .col-lg-3:nth-child(4) .feature-mini-card {
  animation-delay: 0.7s;
}

.feature-mini-card {
  background: var(--bg-surface);
  padding: 24px;
  border-radius: 12px;
  margin: 15px 0;
  text-align: center;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: all 0.3s ease;
  animation: fadeInUp 0.8s ease-out both;
  animation-play-state: paused;
}

.feature-mini-card:hover {
  background: var(--bg-secondary);
  border-color: var(--accent-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.feature-mini-card h5 {
  font-family: var(--font-sans);
  color: var(--text-primary);
  font-size: 1.2em;
  margin-bottom: 10px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.feature-mini-card p {
  font-family: var(--font-body);
  color: var(--text-secondary);
  font-size: 0.95em;
  margin: 0;
  line-height: 1.5;
}

.code-example {
  background: #0b1220;
  padding: 30px;
  border-radius: 12px;
  border-left: 3px solid #3b82f6;
}

.code-example h5 {
  color: white;
  font-size: 1.4em;
  margin-bottom: 20px;
}

.code-block {
  background: #0f172a;
  padding: 18px;
  border-radius: 10px;
  font-family: 'Courier New', monospace;
  margin-bottom: 20px;
  overflow-x: auto;
  border: 1px solid #1f2937;
}

.code-block code {
  color: #a7f3d0;
  font-size: 0.95em;
  white-space: pre-wrap;
}

.code-example p {
  color: rgba(255,255,255,0.9);
  margin-top: 20px;
  font-size: 1em;
}

.advantages-title {
  color: #f8fafc;
  font-size: 1.7em;
  margin-bottom: 26px;
  text-align: center;
}

.advantages-list {
  color: #cbd5e1;
  font-size: 1.05em;
  line-height: 2;
  padding-left: 20px;
}

.advantages-list li {
  list-style: none;
  margin-bottom: 10px;
}

/* Services Section - keep original white background */

/* Services */
.services-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-top: 50px;
}

@media (max-width: 991px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

.service-card-modern {
  background: var(--bg-surface);
  border-radius: 12px;
  padding: 28px 24px;
  text-align: left;
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  animation: fadeInUp 0.8s ease-out both;
  animation-play-state: paused;
}

.services-grid .service-card-modern:nth-child(1) {
  animation-delay: 0.1s;
}

.services-grid .service-card-modern:nth-child(2) {
  animation-delay: 0.2s;
}

.services-grid .service-card-modern:nth-child(3) {
  animation-delay: 0.3s;
}

.services-grid .service-card-modern:nth-child(4) {
  animation-delay: 0.4s;
}

.services-grid .service-card-modern:nth-child(5) {
  animation-delay: 0.5s;
}

.services-grid .service-card-modern:nth-child(6) {
  animation-delay: 0.6s;
}

/* Animation delays for service-card-modern in ai-deployment section */
#ai-deployment .row:first-of-type .service-card-modern:nth-of-type(1) {
  animation-delay: 0.1s;
}

#ai-deployment .row:first-of-type .service-card-modern:nth-of-type(2) {
  animation-delay: 0.2s;
}

#ai-deployment .row:first-of-type .service-card-modern:nth-of-type(3) {
  animation-delay: 0.3s;
}

#ai-deployment .row:last-of-type .service-card-modern:nth-of-type(1) {
  animation-delay: 0.4s;
}

#ai-deployment .row:last-of-type .service-card-modern:nth-of-type(2) {
  animation-delay: 0.5s;
}

#ai-deployment .row:last-of-type .service-card-modern:nth-of-type(3) {
  animation-delay: 0.6s;
}

#ai-deployment .row:last-of-type .service-card-modern:nth-of-type(4) {
  animation-delay: 0.7s;
}

.service-card-modern:hover {
  background: var(--bg-secondary);
  border-color: var(--accent-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.service-card-modern h4 {
  font-family: var(--font-sans);
  color: var(--text-primary);
  font-size: 1.1em;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.service-card-modern p {
  font-family: var(--font-body);
  color: var(--text-secondary);
  font-size: 0.95em;
  line-height: 1.6;
  margin: 0;
}

/* Выравнивание карточек «Как это работает» по высоте */
#how-it-works .row {
  display: flex;
  align-items: stretch;
}
#how-it-works .col-lg-3 {
  display: flex;
}
#how-it-works .service-card-modern {
  flex: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
}
#how-it-works .service-card-modern p {
  flex-grow: 1;
  margin-top: auto;
}

.service-card-modern ul {
  color: var(--text-secondary);
  padding-left: 20px;
  font-size: 0.9em;
  line-height: 1.8;
  margin: 15px 0 0 0;
  flex-grow: 1;
}

.service-card-modern ul li {
  list-style: disc;
  margin-bottom: 8px;
}

/* Для карточек без списков - центрирование контента */
#ai-deployment .service-card-modern:not(:has(ul)) {
  justify-content: center;
}

.col-md-6 {
  width: 50%;
}

@media (max-width: 991px) {
  .col-md-6 {
    width: 100%;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* About Section */
.about-us {
  background: var(--bg-primary);
  padding: 100px 0;
}

.feature-item-clean {
  background: var(--bg-surface);
  border-radius: 12px;
  padding: 18px 20px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 15px;
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.feature-item-clean:hover {
  background: var(--bg-secondary);
  border-color: var(--accent-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.check-mark {
  width: 32px;
  height: 32px;
  min-width: 32px;
  background: rgba(59, 130, 246, 0.15);
  color: var(--accent-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: bold;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.feature-item-clean:hover .check-mark {
  background: rgba(59, 130, 246, 0.25);
  transform: scale(1.1);
  box-shadow: 0 0 12px var(--accent-glow);
}

.feature-item-clean h5 {
  color: var(--text-primary);
  font-size: 16px;
  font-weight: 500;
  margin: 0;
  line-height: 1.5;
  transition: color 0.3s ease;
}

.feature-item-clean:hover h5 {
  color: var(--accent-primary);
}

/* Technologies */
.the-clients {
  background: #ffffff;
}

.technologies-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 50px;
  justify-items: center;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 991px) {
  .technologies-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .technologies-grid {
    grid-template-columns: 1fr;
  }
}

.tech-item {
  text-align: center;
  padding: 36px 32px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  background: rgba(17, 24, 39, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.1);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
}

.tech-item:hover {
  background: rgba(17, 24, 39, 0.8);
  border-color: var(--accent-primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--accent-glow);
}

.tech-item h3 {
  font-family: var(--font-sans);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #f8fafc;
  font-size: 1.3em;
  font-weight: 600;
  margin-bottom: 18px;
  letter-spacing: -0.01em;
  font-weight: 700;
  transition: color 0.3s ease;
}

.tech-item:hover h3 {
  color: #e2e8f0;
}

.tech-item h3 img {
  width: 40px;
  height: 40px;
  transition: transform 0.3s ease;
}

.tech-item:hover h3 img {
  transform: scale(1.1);
}

.tech-item h5 {
  font-family: var(--font-body);
  color: #cbd5e1;
  font-size: 1em;
  margin-top: 12px;
  line-height: 1.6;
  transition: color 0.3s ease;
}

.tech-item:hover h5 {
  color: #e2e8f0;
}

/* Contact Section */
.contact-section {
  background: #f1f5f9;
}

/* Contact Form */
.contact-form {
  margin-top: 50px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  background: white;
  padding: 40px;
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

.contact-form label {
  display: block;
  margin-bottom: 10px;
  color: var(--ink);
  font-weight: 600;
  font-size: 15px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 20px;
  font-family: var(--font-body);
  font-size: 15px;
  transition: all 0.2s ease;
  background: #f8fafc;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: white;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.contact-form input[type="submit"] {
  background: var(--primary);
  color: white;
  border: none;
  padding: 14px 30px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s ease;
  width: auto;
  border-radius: 10px;
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.28);
}

.contact-form input[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.32);
}

/* Footer */
.footer {
  background: var(--bg-secondary);
  color: var(--text-primary);
  padding: 40px 0;
  text-align: center;
  border-top: 1px solid var(--border-color);
}

.footer p {
  color: var(--text-muted);
  margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .header-text h2 {
    font-size: 1.8em;
  }
  
  .section-heading h4 {
    font-size: 24px;
  }
  
  .ai-section .section-heading h4 {
    font-size: 2em;
  }
  
  .main-banner {
    align-items: flex-start;
  }

  .main-banner .container {
    padding-top: 100px;
    padding-bottom: 80px;
  }

  .hero-stats {
    gap: 30px;
  }

  .hero-stats {
    gap: 35px;
    padding: 20px 0;
  }

  .stat-value {
    font-size: 2em;
  }

  .stat-label {
    font-size: 0.9em;
  }

  .hero-features {
    gap: 30px;
    padding: 15px 0;
  }

  .feature-icon {
    width: 50px;
    height: 50px;
    font-size: 22px;
  }

  .feature-icon-item span {
    font-size: 0.9em;
  }
}

/* --- BEAUTY UI UPGRADE --- */

/* SECTION SPACING */
.section {
  padding: 90px 0 !important;
}

.section-heading h4 {
  font-size: 32px !important;
  font-weight: 700;
}

.section-heading p {
  font-size: 16px !important;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

/* BEAUTIFUL CARDS */
.service-card-modern,
.feature-item-clean,
.tech-item {
  transition: all 0.25s ease;
  border-radius: 14px !important;
}

.service-card-modern {
  background: rgba(17, 24, 39, 0.6) !important;
  padding: 30px 26px;
  border: 1px solid rgba(148, 163, 184, 0.1) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
  min-height: 200px;
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
}

.service-card-modern:hover {
  background: rgba(17, 24, 39, 0.8) !important;
  border-color: var(--accent-glow) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--accent-glow) !important;
}

/* TEXT INSIDE SERVICE CARDS */
.service-card-modern h4 {
  font-size: 17px !important;
  font-weight: 600;
  margin-bottom: 12px;
}

.service-card-modern p {
  font-size: 14.5px;
  color: var(--ink-soft);
}

/* BEAUTIFUL CHECKLIST BLOCKS */
.feature-item-clean {
  background: rgba(17, 24, 39, 0.6) !important;
  border: 1px solid rgba(148, 163, 184, 0.1) !important;
  padding: 18px 20px !important;
  border-radius: 12px !important;
  backdrop-filter: blur(8px);
}

.feature-item-clean:hover {
  border-color: var(--accent-glow) !important;
  background: rgba(17, 24, 39, 0.8) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--accent-glow) !important;
}

.check-mark {
  background: rgba(59, 130, 246, 0.15) !important;
  color: var(--accent-primary) !important;
  transition: all 0.3s ease;
}

.feature-item-clean:hover .check-mark {
  background: rgba(59, 130, 246, 0.25) !important;
  transform: scale(1.1);
}

/* ABOUT SECTION LIST */
.feature-item-clean h5 {
  font-size: 16px !important;
}

/* TECHNOLOGIES BLOCK */
.tech-item {
  max-width: 100% !important;
  background: rgba(17, 24, 39, 0.6) !important;
  padding: 36px 32px !important;
  border: 1px solid rgba(148, 163, 184, 0.1) !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
  min-height: 220px;
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
}

.tech-item:hover {
  background: rgba(17, 24, 39, 0.8) !important;
  border-color: var(--accent-glow) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--accent-glow) !important;
}

.tech-item h3 {
  font-size: 18px !important;
  font-weight: 600;
}

/* RESPONSIVE BEAUTIFICATION */
@media (max-width: 768px) {
  .service-card-modern,
  .tech-item,
  .feature-item-clean {
    margin-bottom: 20px !important;
  }

  .section-heading h4 {
    font-size: 28px !important;
  }
}

body {
  background: #0b0f1a;
  color: #e5e7eb;
}

.nav-menu a {
  color: #e2e8f0 !important;
  text-decoration: none !important;
  border-bottom: none !important;
}

.nav-menu a:hover {
  color: var(--accent-primary) !important;
  text-decoration: none !important;
  border-bottom: none !important;
}

.nav-menu a.active {
  color: var(--accent-primary) !important;
  text-decoration: none !important;
  border-bottom: none !important;
}

.nav-menu a.active:hover {
  color: var(--accent-primary) !important;
}

.nav-menu a.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  background: var(--accent-primary);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(59, 130, 246, 0.6);
}

.main-banner .container {
  position: relative;
  overflow: visible;
  z-index: 2;
}

.white-button a {
  background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
  border-radius: 999px;
  padding: 12px 32px;
  box-shadow: 0 12px 26px rgba(111, 92, 255, 0.25);
}

.white-button a:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(111, 92, 255, 0.35);
}

.section {
  background: #0f172a;
}

.services.section {
  background: radial-gradient(circle at 20% 10%, rgba(99, 102, 241, 0.08), transparent 50%), #0b1220;
  position: relative;
}

.about-us {
  background: #0f172a;
}

.the-clients {
  background: radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.08), transparent 50%), #0b1220;
}

.contact-section {
  background: radial-gradient(circle at 15% 20%, rgba(52, 211, 153, 0.08), transparent 50%), #0f172a;
}

.ai-section {
  position: relative;
}

.ai-section::after,
.services.section::before {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(148, 163, 184, 0.35), transparent);
}

.ai-section::after {
  bottom: 0;
}

.services.section::before {
  top: 0;
}

.section-heading h4 {
  color: #f8fafc !important;
}

.section-heading p {
  color: #cbd5e1 !important;
}

.contact-form {
  background: #111827 !important;
  border-color: #1f2937 !important;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

.service-card-modern {
  background: rgba(17, 24, 39, 0.6) !important;
  border-color: rgba(148, 163, 184, 0.1) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
  backdrop-filter: blur(8px);
}

.service-card-modern:hover {
  background: rgba(17, 24, 39, 0.8) !important;
  border-color: var(--accent-glow) !important;
  box-shadow: 0 8px 24px var(--accent-glow) !important;
}

.tech-item {
  background: rgba(17, 24, 39, 0.6) !important;
  border-color: rgba(148, 163, 184, 0.1) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
  backdrop-filter: blur(8px);
}

.tech-item:hover {
  background: rgba(17, 24, 39, 0.8) !important;
  border-color: var(--accent-glow) !important;
  box-shadow: 0 8px 24px var(--accent-glow) !important;
}

.feature-item-clean {
  background: rgba(17, 24, 39, 0.6) !important;
  border-color: rgba(148, 163, 184, 0.1) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
  backdrop-filter: blur(8px);
}

.feature-item-clean:hover {
  background: rgba(17, 24, 39, 0.8) !important;
  border-color: var(--accent-glow) !important;
  box-shadow: 0 8px 24px var(--accent-glow) !important;
}

.service-card-modern h4,
.feature-item-clean h5,
.tech-item h3,
.contact-form label {
  color: #f8fafc !important;
}

.service-card-modern:hover h4,
.feature-item-clean:hover h5,
.tech-item:hover h3 {
  color: #e2e8f0 !important;
}

.service-card-modern p,
.feature-item-clean p,
.tech-item h5 {
  color: #cbd5e1 !important;
}

.service-card-modern:hover p,
.tech-item:hover h5 {
  color: #e2e8f0 !important;
}

.check-mark {
  background: rgba(59, 130, 246, 0.15) !important;
  color: var(--accent-primary) !important;
  transition: all 0.3s ease;
}

.feature-item-clean:hover .check-mark {
  background: rgba(59, 130, 246, 0.25) !important;
  transform: scale(1.1);
}

.contact-form input,
.contact-form textarea {
  background: #0f172a;
  border-color: #1f2937;
  color: #e5e7eb;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.contact-form input[type="submit"] {
  background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
  border-radius: 999px;
}

.main-banner .row {
  position: relative;
  z-index: 1;
}

.left-content {
  position: relative;
  z-index: 2;
  padding: 0;
  border: none;
  background: transparent;
  box-shadow: none;
}

.right-image {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: visible;
  position: relative;
  margin-top: 40px;
}

.devops-infinity {
  position: relative;
  transform: scale(1.5);
  opacity: 0.4;
  pointer-events: none;
  z-index: 1;
  filter:
    blur(0.3px)
    drop-shadow(0 40px 80px rgba(15, 23, 42, 0.4));
}

@media (max-width: 991px) {
  .right-image {
    min-height: 220px;
    justify-content: center;
  }

  .devops-infinity {
    position: static;
    transform: scale(1.1);
    transform-origin: center center;
  }
}

.devops-svg {
  width: 100%;
  height: auto;
  transform-origin: 50% 50%;
  animation: none;
}

@keyframes devopsSpin {
  to {
    transform: rotate(360deg);
  }
}

/* Уменьшить пустоту перед футером */
.contact-section {
  padding-bottom: 48px !important;
}

.footer {
  background: radial-gradient(circle at 50% 30%, rgba(0, 120, 255, 0.025), transparent 80%), linear-gradient(180deg, rgba(15, 23, 42, 0.97) 0%, #0b0f1a 8%, #0b0f1a 100%);
  margin-top: 0;
  position: relative;
}
.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(77, 163, 255, 0.25), transparent);
  opacity: 0.6;
}

/* Pre-footer — карточка с глубиной */
.footer-pre {
  padding: 14px 24px 18px;
}
.footer-pre-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 8px 28px 8px 20px;
  background: linear-gradient(145deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02)), rgba(32, 40, 56, 0.9);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03), 0 0 40px rgba(0, 120, 255, 0.05);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.footer-pre-left {
  flex: 1;
  min-width: 200px;
}
.footer-pre-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 2px 0;
}
.footer-pre-tags {
  font-size: 0.85rem;
  color: var(--text-secondary);
  opacity: 0.7;
  margin: 0;
}
.footer-cta {
  display: inline-block;
  padding: 6px 16px;
  background: transparent;
  border: 1px solid rgba(59, 130, 246, 0.45);
  color: var(--accent-secondary) !important;
  font-weight: 500;
  font-size: 0.85rem;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s;
  flex-shrink: 0;
}
.footer-cta:hover {
  background: rgba(59, 130, 246, 0.12);
  border-color: rgba(59, 130, 246, 0.6);
}

.footer-grid {
  padding: 18px 24px 24px;
}
.footer-columns {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 20px;
  max-width: 960px;
  margin: 0 auto;
}
.footer-col {
  font-size: 0.92rem;
}
.footer-col strong {
  display: block;
  color: rgba(255,255,255,0.85);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
}
.footer-col p {
  margin: 0 0 6px 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.5;
}
.footer-col .footer-by {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.footer-col .footer-tagline {
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  margin-bottom: 14px;
}
.footer-col .footer-meta {
  color: var(--text-muted);
  font-size: 0.84rem;
}
.footer-col .footer-email {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.67);
}
.footer-col a {
  display: block;
  color: rgba(255,255,255,0.72);
  text-decoration: none;
  margin-bottom: 6px;
  font-size: 0.9rem;
  line-height: 1.6;
  transition: color 0.2s ease, transform 0.2s ease;
}
.footer-col a:hover {
  color: #4da3ff;
  transform: translateX(2px);
}
.footer-col .footer-social a:hover {
  transform: scale(1.1);
}
.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: rgba(255,255,255,0.7);
  font-size: 1.2rem;
  transition: all 0.2s;
}
.footer-social a:hover {
  color: rgba(255,255,255,1);
  transform: scale(1.1);
}

.footer-bottom {
  padding: 14px 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 12.5px;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,0.55);
}
.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-bottom-links a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
}
.footer-bottom-links a:hover {
  color: var(--accent-secondary);
}
.footer-bottom-links span {
  color: rgba(255,255,255,0.4);
  font-size: 0.8em;
}
@media (max-width: 768px) {
  .footer-pre-inner {
    flex-direction: column;
    text-align: center;
  }
  .footer-columns {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }
}
@media (max-width: 480px) {
  .footer-columns {
    grid-template-columns: 1fr;
  }
}

/* Product footer (dashboard, admin, platform) */
.product-footer {
  padding: 16px 0;
  border-top: 1px solid var(--border-color);
}
.product-footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 12.5px;
  color: var(--text-muted);
}
.product-footer-links a {
  color: var(--text-muted);
}
.product-footer-links a:hover {
  color: var(--accent-primary);
}

/* Hide callback on product pages */
body.product-page .callback-bt {
  display: none !important;
}

/* Mobile: nav-actions */
@media (max-width: 991px) {
  .nav-actions {
    margin-left: auto;
    margin-right: 10px;
  }
  .btn-nav-primary {
    padding: 8px 16px;
    font-size: 0.85rem;
  }
}

/* Solution & Audience pages */
.solution-hero {
  min-height: 40vh;
  display: flex;
  align-items: center;
}
.solution-hero .hero-content,
.solution-hero .hero-stats {
  display: none;
}
.solution-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--text-primary);
  margin: 16px 0;
}
.solution-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}
.audience-link-card {
  display: block;
  padding: 20px;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  background: rgba(26, 31, 46, 0.6);
  transition: all 0.3s ease;
  color: var(--text-primary);
  margin-bottom: 16px;
}
.audience-link-card strong {
  display: block;
  margin-bottom: 6px;
  color: var(--accent-secondary);
}
.audience-link-card span {
  font-size: 0.9rem;
  color: var(--text-secondary);
}
.pricing-card { position: relative; }
.pricing-featured { border: 1px solid var(--accent-primary); box-shadow: 0 0 24px rgba(59, 130, 246, 0.2); }
.pricing-badge { position: absolute; top: -10px; right: 16px; background: var(--accent-primary); color: white; font-size: 0.75rem; padding: 4px 12px; border-radius: 20px; font-weight: 600; }
.pricing-desc { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 8px; }

/* Landing cards (solutions, for) */
.solutions-landing-cards { gap: 24px; margin-top: 40px; }
.landing-card {
  display: block;
  padding: 28px 24px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  color: inherit;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  position: relative;
  height: 100%;
}
.landing-card:hover {
  border-color: var(--accent-primary);
  box-shadow: 0 0 24px rgba(59, 130, 246, 0.15);
  transform: translateY(-2px);
  color: inherit;
}
.landing-card h3 { margin-bottom: 12px; font-size: 1.25rem; color: var(--text-primary); }
.landing-card p { margin: 0; font-size: 0.95rem; color: var(--text-secondary); line-height: 1.5; }
.landing-card-arrow { position: absolute; top: 24px; right: 24px; color: var(--accent-primary); font-size: 1.2rem; transition: transform 0.2s; }
.landing-card:hover .landing-card-arrow { transform: translateX(4px); }

/* For-who cards on solution pages */
.for-who-cards { margin-top: 28px; }
.for-who-cards .col-lg-4 { margin-bottom: 16px; }
@media (min-width: 992px) { .for-who-cards .col-lg-4 { margin-bottom: 0; } }
.for-who-card {
  display: flex;
  flex-direction: column;
  padding: 20px 24px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  color: inherit;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  height: 100%;
  text-align: center;
}
.for-who-icon {
  display: block;
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(59, 130, 246, 0.06));
  border-radius: 12px;
  color: var(--accent-primary);
  font-size: 1.25rem;
  line-height: 48px;
  text-align: center;
}
.for-who-card strong { font-size: 1.1rem; color: var(--text-primary); display: block; margin-bottom: 6px; }
.for-who-card span { font-size: 0.9rem; color: var(--text-muted); line-height: 1.4; }
.for-who-card:hover {
  border-color: var(--accent-primary);
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.12);
  transform: translateY(-2px);
  color: inherit;
}
.for-who-card:hover span { color: var(--text-secondary); }

/* Page layout improvements */
.solution-hero { min-height: 36vh; padding: 48px 0 36px; display: flex; align-items: center; }
.ai-section.section { padding: 48px 0; }
.section-heading { margin-bottom: 20px; }
.section-heading p { margin-top: 10px; }
.service-card-modern { padding: 24px 20px; }
.solutions-landing-cards .landing-card { min-height: 140px; }

.audience-link-card:hover {
  border-color: var(--accent-primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--accent-glow);
}

/* Solution section content — выравнивание блоков */
.solution-section-content {
  max-width: 560px;
  margin: 0 auto;
  text-align: left;
}
.solution-section-content p {
  text-align: left;
  margin-left: 0;
}
.solution-feature-list {
  list-style: none;
  padding-left: 0;
  margin: 20px 0 0;
  color: var(--text-secondary);
}
.solution-feature-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  line-height: 1.5;
}
.solution-feature-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--accent-primary);
  font-weight: 600;
}