* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  /* min-height: 200vh;
  padding-top: 80px; */
}

/* Основной контейнер меню */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  padding: 0 2rem;
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Контейнер для содержимого */
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.4s ease;
  min-height: 80px;
}

.header.scrolled .nav-container {
  min-height: 60px;
}

/* Логотип и название */
.logo-container {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  overflow: visible;
}

.logo {
  width: 100%;
  height: 3.2em;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  transition: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
  transform-origin: left center;
  position: absolute;
  left: 0;
  padding: 0 0 3px 0;
  opacity: 1;
}

.logo img {
  height: 100%;
  width: auto;
  max-width: none;
  overflow: visible;
}

.logo-img {
  height: 100%;
  width: auto;
  max-width: none;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.header.scrolled .logo {
  opacity: 0;
  transform: scale(0.8);
}

.company-name {
  /* font-size: 28px; */
  /* font-weight: 700;
  color: #ddb81d;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3); */
  transition: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
  transform: translateX(-20px) scale(0.9);
  padding: 0 0 0 40px;
  opacity: 0;
  white-space: nowrap;
}

.company-name img {
  height: 100%;
  width: 67%;
}

.header.scrolled .company-name {
  transform: translateX(0) scale(1);
  opacity: 1;
}

/* Навигационное меню */
.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-item {
  position: relative;
  list-style: none;
}

.nav-item:hover {
  z-index: 10;
}

.nav-link {
  text-decoration: none;
  color: #ebbf00;
  font-weight: 500;
  font-size: 19px;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  overflow: hidden;
  display: block;
  background: transparent;
}

.nav-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
  z-index: -1;
  pointer-events: none;
}

.nav-link::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  opacity: 0;
  transition: opacity 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  z-index: -1;
  pointer-events: none;
}

.nav-link:hover::before {
  left: 100%;
}

.nav-link:hover::after {
  opacity: 1;
}

.nav-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  color: rgba(255, 255, 255, 0.95);
}

/* Мобильное меню */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.mobile-toggle:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Адаптивность */
@media (max-width: 768px) {
  .header {
    padding: 0 1rem;
  }

  .nav-container {
    min-height: 70px;
  }

  .header.scrolled .nav-container {
    min-height: 55px;
  }

  .mobile-toggle {
    display: block;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 1rem;
    gap: 0.5rem;
    border-radius: 0 0 12px 12px;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  }

  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-link {
    width: 100%;
    text-align: center;
    padding: 0.75rem;
  }

  .logo {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }

  .company-name {
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .nav-container {
    min-height: 60px;
  }

  .header.scrolled .nav-container {
    min-height: 50px;
  }

  .logo {
    width: 35px;
    height: 35px;
    font-size: 18px;
  }

  .company-name {
    font-size: 18px;
  }

  .logo-container {
    height: 50px;
  }
}

/* Hero Section */
.hero {
  height: 100vh;
  /* position: relative; */
  padding-top: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  overflow: hidden;
}

/* Video Background */
.video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

.video-background video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Mobile fallback background */
.mobile-background {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #1e3c72 100%);
  z-index: -2;
}

/* Overlay */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, #0073e69a, #211e1391);
  z-index: -1;
}

/* Content */
.hero-content {
  max-width: 1200px;
  padding: 0 0 500px 0;
  animation: fadeInUp 1s ease-out;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 2rem;
  width: 100%;
  height: 100%;
}

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

/* Logo styles */
.company-logo {
  width: 350px;
  height: 350px;
  border-radius: 20px;
  opacity: 0.8;
  object-fit: cover;
  margin-bottom: 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border: 3px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  align-self: center;
}

.company-logo:hover {
  transform: scale(1.05);
  opacity: 1;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  border-color: rgba(255, 255, 255, 0.3);
}

.hero-right {
  display: grid;
  gap: 0.8rem;
  align-self: center;
}

.hero h1 {
  font-size: clamp(1.8rem, 5vw, 4rem);
  font-weight: 700;
  margin-bottom: 0.8rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  background: linear-gradient(135deg, #ffffff, #e3f2fd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  align-self: center;
}

.hero-subtitle {
  font-size: clamp(0.8rem, 2.2vw, 1.3rem);
  margin-bottom: 1rem;
  opacity: 0.95;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-slogan {
  font-size: clamp(0.7rem, 1.8vw, 1.1rem);
  margin-bottom: 1.5rem;
  font-style: italic;
  opacity: 0.9;
}

/* CTA Button */
.cta-button {
  background: linear-gradient(135deg, #ebbf00, #eccb34);
  color: white;
  border: none;
  padding: clamp(12px, 3vw, 16px) clamp(24px, 6vw, 36px);
  font-size: clamp(0.95rem, 2.5vw, 1.1rem);
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(255, 107, 107, 0.3);
  text-transform: uppercase;
  letter-spacing: 1px;
  align-self: center;
  white-space: nowrap;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(255, 107, 107, 0.4);
  background: linear-gradient(135deg, #eccb34, #ebbf00);
}

.cta-button:active {
  transform: translateY(-1px);
}

/* Features */
.service-card {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: clamp(0.8rem, 2.5vw, 1.2rem);
  display: flex;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: all 0.3s ease;
  text-align: left;
}

.service-card:hover {
  transform: translateX(10px);
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
}

.service-icon {
  font-size: clamp(1.3rem, 3.5vw, 1.8rem);
  margin-bottom: 0.4rem;
  display: block;
}

.service-icon img {
  width: auto;
  height: 10vh;
}

.text-card {
  padding-left: 3vh;
}

.text-card h3 {
  font-size: clamp(0.85rem, 3.2vw, 1.3rem);
  margin-bottom: 0.3rem;
  color: #ffffff;
  line-height: 1.2;
}

.text-card p {
  font-size: clamp(0.7rem, 1.8vw, 1rem);
  opacity: 0.9;
  line-height: 1.3;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, 0.014);
}

.modal-content {
  background: linear-gradient(135deg, #0073e6 0%, #211e13 100%);
  margin: 5% auto;
  padding: 0;
  border-radius: 20px;
  width: 90%;
  max-width: 500px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  animation: modalSlideIn 0.3s ease-out;
  position: relative;
}

.modal-header {
  background: rgba(255, 255, 255, 0.1);
  padding: 2rem;
  padding-top: 3rem;
  text-align: center;
  color: white;
  position: relative;
}

.modal-header h2 {
  margin-bottom: 0.5rem;
  font-size: 1.8rem;
}

.modal-header p {
  opacity: 0.9;
}

.close {
  position: absolute;
  right: 15px;
  top: 15px;
  color: white;
  font-size: 1.5rem;
  font-weight: 500;
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  transition: all 0.2s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
  z-index: 10;
}

.close:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.1);
  border-color: rgba(255, 255, 255, 0.4);
}

.close:active {
  transform: scale(0.95);
}

.form-container {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.05);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: white;
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #4caf50;
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 20px rgba(76, 175, 80, 0.3);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: #ff4757;
  background: rgba(255, 71, 87, 0.1);
  box-shadow: 0 0 10px rgba(255, 71, 87, 0.3);
}

.form-group input.success,
.form-group select.success,
.form-group textarea.success {
  border-color: #4caf50;
  background: rgba(76, 175, 80, 0.1);
}

.error-message {
  color: #ff6b6b;
  font-size: 0.8rem;
  margin-top: 0.3rem;
  display: block;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.error-message.show {
  opacity: 1;
}

.success-message {
  color: #4caf50;
  font-size: 0.8rem;
  margin-top: 0.3rem;
  display: block;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.success-message.show {
  opacity: 1;
}

.submit-btn {
  width: 100%;
  background: linear-gradient(135deg, #ebbf00, #fad73b);
  color: white;
  border: none;
  padding: 15px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
}

.submit-btn:hover {
  background: linear-gradient(135deg, #fad73b, #ebbf00);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(76, 175, 80, 0.4);
}

.submit-btn:disabled {
  background: #888;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Success animation styles */
.success-animation {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 250px;
  animation: successFadeIn 0.5s ease-out;
}

.success-icon {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00c851, #007e33);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  position: relative;
  box-shadow: 0 15px 35px rgba(0, 200, 81, 0.3);
  animation: successIconPop 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.success-icon::before {
  content: '';
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    rgba(0, 200, 81, 0.2),
    rgba(0, 126, 51, 0.1)
  );
  animation: successIconRing 1s ease-out 0.3s;
  z-index: -1;
}

.success-icon::after {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  right: -20px;
  bottom: -20px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    rgba(0, 200, 81, 0.1),
    rgba(0, 126, 51, 0.05)
  );
  animation: successIconRing 1s ease-out 0.6s;
  z-index: -2;
}

.success-checkmark {
  color: white;
  font-size: 3rem;
  font-weight: bold;
  animation: successCheckmarkDraw 0.4s ease-out 0.2s backwards;
}

.success-message-text {
  color: white;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  animation: successTextSlide 0.5s ease-out 0.4s backwards;
}

.success-message-subtitle {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  font-weight: 400;
  animation: successTextSlide 0.5s ease-out 0.6s backwards;
}

.success-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 6px;
  height: 6px;
  background: #4caf50;
  border-radius: 50%;
  opacity: 0;
}

.particle:nth-child(1) {
  animation: particle1 2s ease-out;
}
.particle:nth-child(2) {
  animation: particle2 2s ease-out 0.1s;
}
.particle:nth-child(3) {
  animation: particle3 2s ease-out 0.2s;
}
.particle:nth-child(4) {
  animation: particle4 2s ease-out 0.3s;
}
.particle:nth-child(5) {
  animation: particle5 2s ease-out 0.4s;
}
.particle:nth-child(6) {
  animation: particle6 2s ease-out 0.5s;
}

@keyframes successFadeIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes successIconPop {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes successIconRing {
  0% {
    transform: scale(0.8);
    opacity: 1;
  }
  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

@keyframes successCheckmarkDraw {
  0% {
    transform: scale(0.5) rotate(-180deg);
    opacity: 0;
  }
  100% {
    transform: scale(1) rotate(0deg);
    opacity: 1;
  }
}

@keyframes successTextSlide {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes particle1 {
  0% {
    transform: translate(0, 0);
    opacity: 1;
  }
  100% {
    transform: translate(-60px, -80px);
    opacity: 0;
  }
}

@keyframes particle2 {
  0% {
    transform: translate(0, 0);
    opacity: 1;
  }
  100% {
    transform: translate(60px, -70px);
    opacity: 0;
  }
}

@keyframes particle3 {
  0% {
    transform: translate(0, 0);
    opacity: 1;
  }
  100% {
    transform: translate(-80px, -40px);
    opacity: 0;
  }
}

@keyframes particle4 {
  0% {
    transform: translate(0, 0);
    opacity: 1;
  }
  100% {
    transform: translate(80px, -50px);
    opacity: 0;
  }
}

@keyframes particle5 {
  0% {
    transform: translate(0, 0);
    opacity: 1;
  }
  100% {
    transform: translate(-40px, -90px);
    opacity: 0;
  }
}

@keyframes particle6 {
  0% {
    transform: translate(0, 0);
    opacity: 1;
  }
  100% {
    transform: translate(40px, -85px);
    opacity: 0;
  }
}

.form-fade-out {
  opacity: 0;
  transform: translateY(-20px);
  transition: all 0.5s ease-out;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: scale(0.8) translateY(-50px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  /* Скрыть видео и показать статичный фон на мобильных */
  .video-background video {
    display: none;
  }

  .mobile-background {
    display: block;
  }

  body {
    overflow-x: hidden;
  }

  .hero {
    min-height: 100vh;
    overflow: auto;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
    padding: 680px 20px 20px 20px;
    height: 100vh;
    justify-content: center;
    align-content: center;
    overflow: auto;
  }

  .hero-left {
    order: 1;
    text-align: center;
    align-items: center;
    justify-content: center;
  }

  /* Logo responsive styles */
  .company-logo {
    width: clamp(250px, 60vw, 300px);
    height: clamp(250px, 60vw, 300px);
    margin-bottom: 1rem;
  }

  .hero-right {
    order: 2;
    gap: 1rem;
    max-height: none;
    overflow: visible;
  }

  .service-card:hover {
    transform: translateY(-5px);
  }

  .cta-button {
    align-self: center;
    margin-top: 1rem;
  }

  .modal-content {
    margin: 10% auto;
    width: 95%;
  }

  .modal-header {
    padding: 1.5rem;
    padding-top: 2.5rem;
  }

  .form-container {
    padding: 1.5rem;
  }
}

@media (max-width: 600px) {
  .hero {
    overflow: auto;
    min-height: 100vh;
  }

  .hero-content {
    padding: 600px 15px 15px 15px;
    overflow: auto;
    min-height: 100vh;
    gap: 1.5rem;
  }

  .hero-right {
    gap: 0.8rem;
  }

  .service-card {
    padding: 1rem;
  }

  .hero h1 {
    margin-bottom: 0.8rem;
  }

  .hero-subtitle {
    margin-bottom: 1rem;
  }

  .hero-slogan {
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero {
    min-height: 100vh;
    overflow: auto;
  }

  .hero-content {
    padding: 480px 15px 15px 15px;
    gap: 1rem;
    min-height: 100vh;
    overflow: auto;
  }

  .hero-right {
    gap: 0.6rem;
    max-height: none;
  }

  .service-card {
    padding: 0.8rem;
  }

  .modal-content {
    margin: 5% auto;
    width: 98%;
  }

  .modal-header {
    padding: 1rem;
    padding-top: 2rem;
  }

  .close {
    right: 12px;
    top: 12px;
    width: 28px;
    height: 28px;
    font-size: 1.3rem;
  }

  .form-container {
    padding: 1rem;
  }

  .form-group {
    margin-bottom: 1rem;
  }
}

@media (max-width: 360px) {
  .hero {
    overflow: auto;
    min-height: 100vh;
  }

  .hero-content {
    padding: 420px 15px 15px 15px;
  }

  .service-card {
    padding: 0.6rem;
  }

  .service-card h3 {
    font-size: 0.9rem;
  }

  .service-card p {
    font-size: 0.7rem;
  }
}

/* advantages section */
.advantages-section {
  /* font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    sans-serif; */
  background: linear-gradient(135deg, #0073e6 0%, #211e13 50%, #221f16 100%);
  min-height: 100vh;
  color: #1e293b;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.advantages-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 20% 20%,
      rgba(67, 56, 202, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(239, 68, 68, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 40% 40%,
      rgba(16, 185, 129, 0.1) 0%,
      transparent 50%
    );
  pointer-events: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
  opacity: 0;
  animation: fadeInUp 1s ease-out 0.2s forwards;
}

.section-title {
  font-size: 3.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #ebbf00 0%, #ffdb39 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 1.2rem;
  color: #d1d1d1;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

.advantage-card {
  background: #ebbf00;
  backdrop-filter: blur(10px);
  border-radius: 24px;
  padding: 40px 30px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(50px);
  animation: fadeInUp 0.8s ease-out forwards;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.advantage-card:nth-child(1) {
  animation-delay: 0.1s;
}
.advantage-card:nth-child(2) {
  animation-delay: 0.2s;
}
.advantage-card:nth-child(3) {
  animation-delay: 0.3s;
}
.advantage-card:nth-child(4) {
  animation-delay: 0.4s;
}
.advantage-card:nth-child(5) {
  animation-delay: 0.5s;
}
.advantage-card:nth-child(6) {
  animation-delay: 0.6s;
}

.advantage-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(79, 70, 229, 0.1),
    transparent
  );
  transition: left 0.8s;
}

.advantage-card:hover::before {
  left: 100%;
}

.advantage-card:hover {
  transform: translateY(-10px);
  border-color: rgba(79, 70, 229, 0.3);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(79, 70, 229, 0.1);
}

.card-image {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s ease;
}

.advantage-card:hover .card-image {
  transform: scale(1.1) rotate(5deg);
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

.image-placeholder {
  font-size: 2.5rem;
  color: white;
}

.card-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 15px;
  line-height: 1.3;
}

.card-description {
  font-size: 1rem;
  color: #475569;
  line-height: 1.6;
}

.floating-elements {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  overflow: hidden;
}

.floating-circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(79, 70, 229, 0.08);
  animation: float 6s ease-in-out infinite;
}

.floating-circle:nth-child(1) {
  width: 100px;
  height: 100px;
  top: 10%;
  left: 10%;
  animation-delay: 0s;
}

.floating-circle:nth-child(2) {
  width: 150px;
  height: 150px;
  top: 70%;
  right: 10%;
  animation-delay: 2s;
}

.floating-circle:nth-child(3) {
  width: 80px;
  height: 80px;
  top: 40%;
  left: 80%;
  animation-delay: 4s;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
  }
}

@media (max-width: 768px) {
  .advantages-section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 2.5rem;
  }

  .advantages-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .advantage-card {
    padding: 30px 25px;
  }

  .card-image {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
  }

  .image-placeholder {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 2rem;
  }

  .section-subtitle {
    font-size: 1rem;
  }

  .cta-button {
    padding: 16px 30px;
    font-size: 1rem;
  }
}

/* Дополнительные стили для загрузки изображений */
.card-images {
  display: none;
}

/* Стили для CTA кнопки */
.advantage_cta-section {
  text-align: center;
  margin-top: 80px;
  opacity: 0;
  animation: fadeInUp 1s ease-out 0.8s forwards;
}

.advantage_cta-button {
  background: linear-gradient(135deg, #ebbf00 0%, #f3d343 100%);
  border: none;
  border-radius: 16px;
  padding: 20px 40px;
  font-size: 1.2rem;
  font-weight: 700;
  color: white;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 10px 25px rgba(79, 70, 229, 0.3), 0 4px 12px rgba(0, 0, 0, 0.15);
  transform: translateY(0);
}

.advantage_cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.6s;
}

.advantage_cta-button:hover::before {
  left: 100%;
}

.advantage_cta-button:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 15px 35px rgba(79, 70, 229, 0.4), 0 8px 20px rgba(0, 0, 0, 0.2);
}

.advantage_cta-button:active {
  transform: translateY(-1px) scale(1.02);
}

.advantage_button-text {
  position: relative;
  z-index: 1;
}

.advantage_button-icon {
  font-size: 1.4rem;
  transition: transform 0.3s ease;
  position: relative;
  z-index: 1;
}

.advantage_cta-button:hover .button-icon {
  transform: translateX(4px);
}

/* services section */
