    /* FINAL TEST 777 */
	/* ЭТО ТЕСТ 12345 *//* --- Прелоадер --- */
    #preloader {
      position: fixed;
      top: 0; left: 0;
      width: 100%; height: 100%;
      background-color: #1d2b64;
      z-index: 9999;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
    }
    #preloader.hidden {
      opacity: 0;
      visibility: hidden;
    }
    .loader-circle {
      width: 60px;
      height: 60px;
      border: 4px solid rgba(100, 255, 218, 0.2);
      border-top-color: #64ffda;
      border-radius: 50%;
      animation: spin 1s linear infinite;
    }
    @keyframes spin {
      to { transform: rotate(360deg); }
    }
  
    /* --- ОБЩИЕ СТИЛИ И ФОН --- */
    html, body {
      height: 100%; margin: 0; padding: 0; overflow-x: hidden;
    }
    body {
      display: flex;
      flex-direction: column;
      min-height: 100%;
      background: linear-gradient(145deg, #1d2b64, #2c3e50, #00566e);
      color: #ccd6f6;
      font-family: 'Inter', 'Montserrat', Arial, sans-serif;
      position: relative;
    }
    main {
      flex: 1 0 auto;
    }

    /* --- КОСМИЧЕСКАЯ ТУМАННОСТЬ И ЗВЕЗДЫ --- */
    .background-overlay {
      position: fixed;
      top: 0; left: 0; width: 100%; height: 100%;
      z-index: 0; pointer-events: none; overflow: hidden;
    }
    .nebula {
      position: absolute; border-radius: 50%;
      filter: blur(80px);
      animation: nebula-flow 35s ease-in-out infinite alternate;
      pointer-events: none;
    }
    .nebula-1 {
      width: 80vmax; height: 80vmax; top: -40vmax; left: -40vmax;
      background: radial-gradient(circle, rgba(180, 80, 220, 0.6), rgba(180, 80, 220, 0) 70%);
      animation-delay: 0s;
    }
    .nebula-2 {
      width: 60vmax; height: 60vmax; bottom: -30vmax; right: -30vmax;
      background: radial-gradient(circle, rgba(80, 200, 220, 0.5), rgba(80, 200, 220, 0) 70%);
      animation-delay: -15s;
    }
    @keyframes nebula-flow {
      0% { transform: scale(1) rotate(0deg); opacity: 0.7; }
      100% { transform: scale(1.5) rotate(120deg); opacity: 1; }
    }
    
    .text-highlight { color: #64ffda; font-weight: 600; }
    @keyframes panel-materialize { 
      from { opacity: 0; transform: translateY(30px); }
      to { opacity: 1; transform: translateY(0); } 
    }

    /* --- ХЕДЕР И НАВИГАЦИЯ (DESKTOP) --- */
    .header-wrap {
      position: sticky;
      top: 0;
      display: flex; justify-content: space-between; align-items: center; max-width: 1200px;
      margin: 0 auto; 
	  padding: 0 50px;
      z-index: 100;
      transition: background-color 0.3s ease, backdrop-filter 0.3s ease, box-shadow 0.3s ease;
	  background: #ebeeff;
      border-radius: 0 0 10px 10px;
    }
    body.scrolled .header-wrap {
      background-color: rgba(29, 43, 100, 0.7);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
    }
    .logo { font-weight: 600; font-size: 1.5rem; color: #2d59e3; letter-spacing: .03em; }
    .nav-menu { display: flex; gap: 2rem; list-style: none; margin: 0; padding: 0; }
    .nav-link { 
      color: #2d59e3; font-size: 1rem; font-weight: 500; 
      text-decoration: none; transition: color .3s; 
      position: relative;
      padding-bottom: 5px;
    }
    .nav-link::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 2px;
      background-color: #64ffda;
      transform: scaleX(0);
      transform-origin: right;
      transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    }
    .nav-link:hover { color: #64ffda; }
    .nav-link:hover::after {
      transform: scaleX(1);
      transform-origin: left;
    }
    .burger-menu-btn { display: none; }
    
    /* --- HERO СЕКЦИЯ (НОВЫЙ ДИЗАЙН) --- */
.hero {
  min-height: 90vh; 
  display: flex; 
  flex-direction: column; 
  align-items: center;
  justify-content: center; 
  position: relative; 
  padding: 2rem 1.5rem;
}

.plexi-panel {
  width: 100%;
  max-width: 1200px; /* Сделали панель шире */
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem; /* Расстояние между текстом и видео */
  position: relative; 
  border-radius: 24px; 
  padding: 3rem 4rem; /* Изменили отступы */
  z-index: 1;
  background: rgba(200, 220, 255, 0.15);
  backdrop-filter: blur(12px); 
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
  opacity: 0; 
  transform: translateY(40px);
  animation: panel-materialize 1s 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

/* --- Левая колонка с текстом --- */
.hero-text-content {
  flex-basis: 55%; /* Занимает чуть больше половины места */
  text-align: left; /* Выравнивание текста по левому краю */
}

.hero-title {
  font-family: 'Montserrat', Arial, sans-serif; 
  font-size: 3.2rem; /* Слегка уменьшили для компактности */
  font-weight: 700;
  margin-bottom: 0; 
  line-height: 1.2; 
  letter-spacing: .01em;
  text-align: left; /* Выравнивание заголовка по левому краю */
}

.aurora-text {
  background: linear-gradient(90deg, #f0f8ff, #b4e0ff, #f0f8ff);
  background-size: 200% auto; 
  background-clip: text;
  -webkit-background-clip: text; 
  -webkit-text-fill-color: transparent;
  animation: text-shimmer 4s linear infinite;
}

@keyframes text-shimmer { 
  from { background-position: 200% center; } 
  to { background-position: 0% center; } 
}

.hero-title span { 
  display: inline-block; 
  opacity: 0; 
  transform: translateY(35px); 
  animation: fadeSlideUp 0.7s cubic-bezier(.37,1.38,.95,.89) forwards; 
  will-change: opacity, transform; 
}

.hero-title span:first-child { animation-delay: 1s; }
.hero-title span:last-child { animation-delay: 1.3s; }

.hero-subtitle { 
  opacity: 0; 
  transform: translateY(20px); 
  animation: fadeUpSubtitle 0.7s 1.6s forwards; 
  margin-top: 2rem; 
  font-size: 1.25rem; 
  color: #f0f8ff; 
  text-shadow: 0 2px 12px rgba(10,25,47,0.2); 
  font-weight: 400; 
  max-width: 100%; /* Убрали ограничение ширины */
  margin-left: 0; /* Убрали авто-отступы */
  margin-right: 0; 
  letter-spacing: 0.01em; 
  line-height: 1.5; 
}

@keyframes fadeSlideUp { 100% { opacity: 1; transform: translateY(0); } }
@keyframes fadeUpSubtitle { 100% { opacity: 1; transform: translateY(0); } }

/* --- Правая колонка с видео-"смартфоном" --- */
.hero-video-wrapper {
  flex-basis: 35%; /* Занимает чуть меньше половины места */
  aspect-ratio: 9 / 16; /* Пропорции как у вертикального телефона */
  background-color: #000;
  border-radius: 28px; /* Скругление углов */
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 0 40px rgba(0,0,0,0.5);
  overflow: hidden; /* Обрезает все, что выходит за рамки */
  position: relative;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.hero-video-wrapper:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5), 0 0 30px rgba(100, 255, 218, 0.4);
}

.hero-video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Важнейшее свойство для видео */
}

/* --- Адаптивность для HERO секции --- */
@media (max-width: 950px) {
  .hero {
    padding: 4rem 1rem; /* Уменьшаем отступы на средних экранах */
  }
  .plexi-panel {
    flex-direction: column; /* Ставим колонки друг под другом */
    padding: 2.5rem 2rem;
    gap: 2.5rem;
  }
  .hero-text-content {
    flex-basis: auto; /* Сбрасываем ширину */
    width: 100%;
    text-align: center; /* Возвращаем текст в центр на мобильных */
  }
  .hero-title, .hero-subtitle {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    max-width: 500px;
  }
  .hero-video-wrapper {
    flex-basis: auto;
    width: 60%;
    max-width: 280px; /* Ограничиваем максимальную ширину телефона */
  }
}
    
    /* --- МЕРЦАЮЩИЕ ЗВЕЗДЫ НА ФОНЕ --- */
    .star { position: absolute; width: 2px; height: 2px; background-color: transparent; animation: sparkle 5s ease-in-out infinite; }
    .star::before, .star::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: white; border-radius: 50%; box-shadow: 0 0 5px white, 0 0 10px white, 0 0 15px #64ffda; }
    .star::before { transform: rotate(45deg); }
    .star::after { transform: rotate(-45deg); }
    @keyframes sparkle { 0%, 100% { opacity: 0; transform: scale(0.5); } 50% { opacity: 1; transform: scale(1.2); } }
    .star:nth-child(1){top:10%;left:20%;animation-duration:4s}.star:nth-child(2){top:25%;left:80%;animation-duration:5s;width:3px;height:3px}.star:nth-child(3){top:90%;left:90%;animation-duration:3s;animation-delay:-2s}.star:nth-child(4){top:50%;left:50%;animation-duration:6s}.star:nth-child(5){top:80%;left:10%;animation-duration:4.5s;width:1px;height:1px}.star:nth-child(6){top:5%;left:50%;animation-duration:3.5s;animation-delay:-1.5s}.star:nth-child(7){top:30%;left:35%;animation-duration:5.5s;width:3px;height:3px}.star:nth-child(8){top:65%;left:70%;animation-duration:3.2s}.star:nth-child(9){top:75%;left:40%;animation-duration:4.8s;animation-delay:-3s}.star:nth-child(10){top:5%;left:5%;animation-duration:6.2s;width:1px;height:1px}
    
    /* --- ОБЩИЕ СТИЛИ СЕКЦИЙ --- */
    .problems-section, .approach-section, .aboutme-section, .process-section, .portfolio-section, .cta-section {
      background: transparent;
      padding: 1rem 1.5rem;
      position: relative;
      z-index: 5;
    }
    .problems-title, .approach-title, .process-title, .portfolio-title {
      color: #f8fafc;
      text-align: center;
      font-family: 'Montserrat', Arial, sans-serif;
      font-weight: 800;
      font-size: 2.5rem;
      margin: 0 auto 3.5rem auto;
      max-width: 800px;
    }
    
    /* --- СЕКЦИЯ "ПРОБЛЕМЫ" --- */
    .problems-grid {
      display: grid; grid-template-columns: repeat(2, 1fr);
      gap: 2.2rem; max-width: 1150px; margin: 0 auto;
    }
    .problem-card {
      background: rgba(200, 220, 255, 0.1); backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.15);
      border-radius: 20px; box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
      padding: 2.1rem 2rem 2rem 2rem; display: flex;
      flex-direction: column; align-items: flex-start;
      transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
    }
    
    .problem-card:hover {
      transform: translateY(-10px) scale(1.03);
      box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 25px rgba(100, 255, 218, 0.3);
      border-color: rgba(100, 255, 218, 0.4);
    }
    .problem-icon { margin-bottom: 1.3rem; position: relative; width: 70px; height: 70px; display: flex; align-items: center; justify-content: center; }
    .problem-icon svg { width: 56px; height: 56px; transition: transform 0.4s ease; z-index: 2; }
    .problem-icon::before { content: ''; position: absolute; width: 100%; height: 100%; background: radial-gradient(circle, rgba(100, 255, 218, 0.15), transparent 60%); border-radius: 50%; animation: pulse-glow 3s infinite alternate; }
    .problem-icon::after { content: ''; position: absolute; width: 6px; height: 6px; background: #64ffda; border-radius: 50%; box-shadow: 0 0 8px #64ffda; transform-origin: 50% 38px; animation: orbit 4s linear infinite; animation-play-state: paused; opacity: 0; transition: opacity 0.4s ease; }
    @keyframes pulse-glow { from { transform: scale(0.9); opacity: 0.7; } to { transform: scale(1.1); opacity: 1; } }
    @keyframes orbit { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
    .problem-card:hover .problem-icon::after { animation-play-state: running; opacity: 1; }
    .problem-card:hover .problem-icon svg { transform: scale(1.1); }
    .problem-card h3 { color: #64ffda; font-size: 1.18rem; font-weight: 600; margin: 0 0 0.75rem 0; }
    .problem-card p { color: #ccd6f6; font-size: 1.08rem; line-height: 1.5; margin: 0; }
    .problems-section .text-highlight { color: #f0f8ff; font-weight: 500; }
    
   /* --- СЕКЦИЯ "ПОДХОД" (APPROACH) --- */
.approach-title {
  font-size: 2.3rem;
}

.approach-subtitle {
  color: #ccd6f6;
  font-size: 1.19rem;
  text-align: center;
  max-width: 670px;
  margin: 0 auto 3.5rem auto;
}

.approach-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.approach-card {
  background: rgba(200, 220, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.approach-card:hover {
  transform: translateY(-12px) scale(1.03);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 25px rgba(100, 255, 218, 0.3);
}

/* Так будет выглядеть код после замены */

.card-image-container {
  width: 100%;
  aspect-ratio: 16 / 10;
  background-color: #1d2b64;
}

.card-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-text-content {
    padding: 1rem 1rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.card-text-content h3 {
  font-size: 1.19rem;
  font-weight: 700;
  color: #f8fafc;
  margin: 0 0 1rem 0;
  min-height: 3.2em;
}

.card-text-content p {
  color: #ccd6f6;
  font-size: 1.06rem;
  line-height: 1.6;
  margin: 0;
  flex-grow: 1;
}

/* --- ФИНАЛЬНОЕ ИСПРАВЛЕНИЕ ДЛЯ МОБИЛЬНЫХ И ПЛАНШЕТОВ --- */
@media (max-width: 991px) {
  .approach-cards {
    /* ЗАСТАВЛЯЕМ ВСЕГДА БЫТЬ ОДНОЙ КОЛОНКЕ */
    grid-template-columns: 1fr;
  }
}
/* --- СЕКЦИЯ "ОБО МНЕ" (ИСПРАВЛЕННАЯ ВЕРСИЯ) --- */
.aboutme-section {
  opacity: 0;
  transform: translateY(60px);
}

.aboutme-main, .aboutme-cards-new {
  max-width: 990px;
  margin-left: auto;
  margin-right: auto;
}

.aboutme-main {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.6rem;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
}

.aboutme-photo-wrap {
  flex-shrink: 0;
}

.aboutme-photo-wrap img {
  width: 124px;
  height: 124px;
  object-fit: cover;
  border-radius: 50%;
  border: 5px solid rgba(100, 255, 218, 0.7);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  background: #102c36;
  transition: box-shadow .4s, transform .5s cubic-bezier(.34, 1.56, .64, 1);
}

.aboutme-photo-wrap img:hover {
  box-shadow: 0 0 40px 0 rgba(100, 255, 218, 0.6), 0 0 0 5px rgba(100, 255, 218, 0.5);
  transform: scale(1.05) rotate(-3deg);
}

.aboutme-texts {
  flex: 1 1 320px;
}

.aboutme-texts h2 {
  font-size: 2.2rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  color: #64ffda;
  margin: 0 0 0.9rem 0;
}

.aboutme-lead {
  color: #f8fafc;
  font-family: 'Inter', Arial, sans-serif;
  font-size: 1.14rem;
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: .01em;
}

.aboutme-cards-new {
  display: grid;
  gap: 2.5rem;
  background: rgba(200, 220, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.25);
  border-radius: 22px;
  padding: 2.7rem;
  grid-template-columns: repeat(2, 1fr);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform, box-shadow;
}

.aboutme-cards-new:hover {
  transform: translateY(-15px) rotateX(5deg) scale(1.03);
  box-shadow: 0 30px 60px rgba(0,0,0,0.4), 0 0 60px 0px rgba(100, 255, 218, 0.5);
}

.aboutme-col-new {
  display: flex;
  flex-direction: column;
  justify-content: center; /* ЭТА СТРОКА ЦЕНТРИРУЕТ СОДЕРЖИМОЕ КОЛОНКИ */
}

.aboutme-col-new h3 {
  color: #64ffda;
  font-size: 1.18rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  margin: 0 0 1.14rem 0;
  letter-spacing: .01em;
  min-height: 2.8em; /* Эта строка выравнивает заголовки */
}

.aboutme-col-new ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.24rem;
}

.aboutme-col-new li {
  display: flex;
  align-items: flex-start;
  gap: 0.8em;
  color: #e0f2f1;
  font-size: 1.08rem;
  font-family: 'Inter', Arial, sans-serif;
  line-height: 1.6;
}

.icon-check {
  flex-shrink: 0;
  margin-top: 0.2em;
  display: flex;
  border-radius: 50%;
  box-shadow: 0 2px 16px rgba(100, 255, 218, 0.18);
  color: #64ffda;
}

.icon-check svg {
  display: block;
  transition: filter 0.4s;
  stroke: currentColor;
}

.aboutme-col-new li:hover .icon-check svg {
  filter: drop-shadow(0 0 12px #64ffda);
}

.aboutme-col-new li strong {
  color: #64ffda;
  font-weight: 700;
}

    /* --- СЕКЦИЯ "ПРОЦЕСС" --- */
    .process-inner { max-width: 1100px; margin: 0 auto; }
    .process-timeline { position: relative; }
    .process-timeline::after {
      content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 3.5px;
      background: linear-gradient(180deg, #64ffda 18%, rgba(100, 255, 218, 0.1) 100%);
      border-radius: 3px; transform: translateX(-50%); z-index: 1;
    }
    .process-step {
      position: relative; width: 50%; padding: 0 2rem; margin-bottom: 2.8rem;
      box-sizing: border-box; z-index: 2; min-height: 90px; display: flex;
      align-items: flex-start;
      opacity: 0;
      transform: translateY(60px) scale(0.94);
      transition: opacity .85s cubic-bezier(.36,1.4,.53,.93), transform .85s cubic-bezier(.36,1.4,.53,.93);
    }
    .process-step.is-visible {
      opacity: 1;
      transform: translateY(0) scale(1);
    }
    .process-step:last-child { margin-bottom: 0; }
    .process-step.left { left: 0; justify-content: flex-end; text-align: right; padding-right: 50px; }
    .process-step.right { left: 50%; justify-content: flex-start; text-align: left; padding-left: 50px; }
    .process-dot {
      width: 24px; height: 24px; background: #14263d; border: 3.5px solid #64ffda;
      box-shadow: 0 0 0 4px rgba(100, 255, 218, 0.1), 0 0 0 0 rgba(100, 255, 218, 0.4);
      border-radius: 50%; position: absolute; top: 6px; z-index: 3;
      transition: box-shadow .34s ease;
    }
    .process-step.left .process-dot { right: -12px; }
    .process-step.right .process-dot { left: -12px; }
    .process-content {
      background: rgba(200, 220, 255, 0.1); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
      border: 1px solid rgba(255, 255, 255, 0.15); border-radius: 14px; box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
      padding: 1.7rem 1.5rem 1.4rem 1.5rem;
      transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
    }
    .process-step:hover .process-dot {
      box-shadow: 0 0 0 8px rgba(100, 255, 218, 0.2), 0 0 12px #64ffda, 0 0 32px rgba(100, 255, 218, 0.5);
    }
    .process-step:hover .process-content {
      transform: translateY(-8px);
      box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 25px rgba(100, 255, 218, 0.3);
      border-color: rgba(100, 255, 218, 0.4);
    }
    
    .process-content h3 {
      color: #64ffda;
      font-size: 1.18rem;
      font-weight: 700;
      margin: 0 0 0.75rem;
    }
    .process-content p {
      color: #ccd6f6;
      font-size: 1.05rem;
      line-height: 1.6;
      margin: 0;
    }
    
    /* --- СЕКЦИЯ ПОРТФОЛИО --- */
    .portfolio-section {
        position: relative;
    }
    .portfolio-title { 
        font-size: 2.3rem; 
    }
    .portfolio-subtitle {
      color: #e0f2f1;
      font-size: 1.18rem;
      margin-bottom: 3.5rem;
      line-height: 1.6;
      text-align: center;
      max-width: 800px;
      margin-left: auto;
      margin-right: auto;
    }
    .portfolio-slider-container {
      max-width: 1250px;
      margin: 0 auto;
      padding: 0 40px;
      position: relative;
    }
    .portfolio-swiper {
        max-width: 500px;
        margin: 0 auto;
    }
    .swiper-slide {
      background: rgba(200, 220, 255, 0.05);
      border: 1px solid rgba(255, 255, 255, 0.15);
      border-radius: 24px;
      box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
      overflow: hidden;
      aspect-ratio: 3/4;
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      color: white;
      text-align: left;
      transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease, opacity 0.4s ease;
      transform: scale(0.9);
      opacity: 0.7;
    }
    .swiper-slide-active {
        transform: scale(1);
        opacity: 1;
        border-color: rgba(100, 255, 218, 0.4);
        box-shadow: 0 18px 50px 0 rgba(0, 0, 0, 0.35), 0 0 40px -5px rgba(100, 255, 218, 0.3);
    }
    .swiper-slide img, .swiper-slide video {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      <!-- height: 100%; -->
      object-fit: cover;
      z-index: 1;
    }
    .swiper-slide-content {
      position: relative;
      z-index: 2;
      padding: 1.5rem;
      background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 30%, transparent);
    }
    .swiper-slide-niche {
      display: block; color: #ffffff; font-size: 0.8rem; font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 0.5rem;
    }
    .swiper-slide h3 {
      color: #f8fafc; font-size: 1.19rem; font-weight: 700; margin: 0;
    }
    .video-control-btn {
        position: absolute; top: 15px; right: 15px; z-index: 10;
        background: rgba(0, 0, 0, 0.5); border: 1px solid rgba(255, 255, 255, 0.7);
        border-radius: 50%; width: 36px; height: 36px; cursor: pointer;
        display: flex; align-items: center; justify-content: center;
        padding: 0; transition: background-color 0.3s;
    }
    .video-control-btn:hover { background: rgba(0, 0, 0, 0.8); }
    .video-control-btn svg { width: 20px; height: 20px; fill: white; }
    .video-control-btn .icon-sound-on { display: none; }
    .video-control-btn.sound-on .icon-sound-on { display: block; }
    .video-control-btn.sound-on .icon-sound-off { display: none; }

    .swiper-pagination-bullet {
      background: rgba(100, 255, 218, 0.5);
      width: 10px;
      height: 10px;
      opacity: 0.7;
      transition: all 0.3s ease;
    }
    .swiper-pagination-bullet-active {
      background: #64ffda;
      transform: scale(1.2);
      box-shadow: 0 0 10px #64ffda;
      opacity: 1;
    }
    .swiper-button-prev, .swiper-button-next {
      color: #64ffda;
      width: 50px;
      height: 50px;
      background: rgba(29, 43, 100, 0.5);
      backdrop-filter: blur(5px);
      border-radius: 50%;
      transition: all 0.3s ease;
    }
    .swiper-button-prev:hover, .swiper-button-next:hover {
        background: rgba(100, 255, 218, 0.8);
        color: #1d2b64;
        transform: scale(1.1);
    }
    .swiper-button-prev::after, .swiper-button-next::after {
      font-size: 1.5rem;
      font-weight: 800;
    }
    .swiper-button-prev { left: -10px; }
    .swiper-button-next { right: -10px; }

    .portfolio-more-section { text-align: center; padding: 4rem 1.5rem 0; border: none; }
    
    /* --- ЕДИНАЯ СИСТЕМА КНОПОК --- */
    .btn {
      display: inline-flex; align-items: center; justify-content: center;
      gap: 12px;
      background: rgba(13, 29, 61, 0.4);
      border: 1px solid rgba(100, 255, 218, 0.4);
      backdrop-filter: blur(5px);
      color: #f0f8ff;
      font-family: 'Montserrat', Arial, sans-serif;
      font-weight: 700;
      border-radius: 16px;
      text-decoration: none;
      box-shadow: 0 0 15px rgba(100, 255, 218, 0.1);
      transition: all 0.3s ease;
      position: relative;
      z-index: 1;
      overflow: hidden;
    }
    .btn::before {
      content: '';
      position: absolute;
      top: var(--y); left: var(--x);
      transform: translate(-50%, -50%);
      width: 0; height: 0;
      background: radial-gradient(circle, rgba(100, 255, 218, 0.4) 0%, transparent 70%);
      border-radius: 50%;
      transition: width 0.5s ease, height 0.5s ease;
    }
    .btn:hover::before {
      width: 300px;
      height: 300px;
    }
    .btn:hover {
      transform: translateY(-5px) scale(1.05);
      border-color: rgba(100, 255, 218, 1);
      box-shadow: 0 10px 30px rgba(0,0,0,0.25), 0 0 40px rgba(100, 255, 218, 0.5);
      color: #fff;
    }
    .btn-primary {
      font-size: 1.18rem;
      padding: 1.25rem 3rem;
      margin-top: 3.5rem;
      opacity: 0;
      animation: btnPopIn 0.65s 2.9s cubic-bezier(.5,2,.6,1) forwards;
    }
    @keyframes btnPopIn { 0% { opacity:0; transform: scale(0.93);} 85% { opacity:1; transform: scale(1.06);} 100% { opacity:1; transform: scale(1);} }
    .btn-secondary {
      font-size: 1.1rem;
      padding: 1rem 2rem;
    }
    .btn-secondary svg {
      width: 24px; height: 24px;
      stroke-width: 2; stroke: currentColor; fill: none;
      position: relative;
    }
    .btn-secondary .tg-icon path { fill: currentColor; stroke: none; }
    .btn span { position: relative; }

    /* --- СЕКЦИЯ С ПРИЗЫВОМ К ДЕЙСТВИЮ --- */
    .cta-section { text-align: center; width: 100%; max-width: 900px; margin: 0 auto; }
    .cta-section h2 {
      color: #64ffda; font-size: 2.4rem;
      font-weight: 800;
      margin: 0 0 20px 0;
      animation: title-pulse 4s ease-in-out infinite;
    }
    @keyframes title-pulse {
      0%, 100% { text-shadow: 0 0 15px rgba(100, 255, 218, 0.4); }
      50% { text-shadow: 0 0 30px rgba(100, 255, 218, 0.8); }
    }
    .cta-section p {
      color: #ccd6f6; font-size: 1.25rem; max-width: 790px;
      margin: 0 auto 40px auto; line-height: 1.7;
    }
    .cta-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; }
    
    /* --- МОДАЛЬНЫЕ ОКНА --- */
    .modal-container { display: none; position: fixed; z-index: 1000; inset: 0; }
    .modal-container.active { display: flex; align-items: center; justify-content: center; }
    .modal-bg { position: fixed; inset: 0; background: rgba(11, 26, 47, 0.5); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); z-index: 1; animation: fadeInModalBg .5s; }
    @keyframes fadeInModalBg { from { opacity: 0; } to { opacity: 1; } }
    .modal-content { position: relative; z-index: 2; background: rgba(20, 38, 61, 0.8); border-radius: 24px; border: 1px solid rgba(100, 255, 218, 0.5); padding: 20px; box-shadow: 0 0 60px -20px rgba(100, 255, 218, 0.5); max-width: 90vw; max-height: 92vh; animation: fadeInModalCont .45s cubic-bezier(.44,.9,.49,1.01); }
    @keyframes fadeInModalCont { from { opacity: 0; transform: scale(.89); } to { opacity: 1; transform: scale(1); } }
    .modal-media { display: flex; align-items: center; justify-content: center; width: 100%; max-width: 700px; overflow: hidden; }
    .modal-media[data-ratio="3-4"] { aspect-ratio: 3/4; max-width: 440px; }
    .modal-media[data-ratio="1-1"] { aspect-ratio: 1/1; max-width: 420px; }
    .modal-media[data-ratio="16-9"] { aspect-ratio: 16/9; max-width: 720px; }
    .modal-media img, .modal-media video { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; }
    .modal-close {
	position: absolute;
    top: -15px;
    right: -15px;
    width: 30px;
    height: 30px;
    font-size: 1rem;
    color: #fff;
    background: #1d2b64;
    border: 1px solid #64ffda;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0.9;
    z-index: 3;
    transition: all 0.2s;
    padding: 0;
	}
    
	.modal-close:hover { transform: scale(1.1); background: #64ffda; color: #1d2b64; }

    /* --- ФУТЕР --- */
    footer {
      flex-shrink: 0; position: relative; z-index: 5; width: 100%;
      background: rgba(13, 29, 61, 0.3);
      backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
      border-top: 1px solid rgba(100, 255, 218, 0.15);
      color: #a8b2d1; display: flex; justify-content: space-between; align-items: center;
      flex-wrap: wrap; gap: 1rem;
      padding: 10px 20px !important;
      box-sizing: border-box; font-size: 1rem;
    }
    .footer-left { text-align: left; }
    .footer-right { text-align: right; display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; justify-content: flex-end; }
    .footer-right a { color: #ccd6f6; text-decoration: none; font-weight: 500; transition: color 0.2s; display: inline-flex; align-items: center; gap: 7px; }
    .footer-right a:hover { color: #64ffda; }
    .footer-right svg { width: 20px; height: 20px; stroke: #64ffda; }
    .footer-right .tg-icon path { fill: #64ffda; stroke: none; }
    
    /* --- Кнопка "Наверх" --- */
    #backToTopBtn {
      position: fixed;
      bottom: 25px;
      right: 25px;
      z-index: 999;
      width: 50px;
      height: 50px;
      background-color: rgba(100, 255, 218, 0.8);
      color: #1d2b64;
      border: none;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      visibility: hidden;
      opacity: 0;
      transform: translateY(20px);
      transition: visibility 0.3s, opacity 0.3s, transform 0.3s ease-out;
      box-shadow: 0 5px 15px rgba(0,0,0,0.3);
      text-decoration: none;
    }
    #backToTopBtn:hover {
      background-color: #64ffda;
      transform: translateY(-5px) scale(1.05);
    }
    #backToTopBtn.visible {
      visibility: visible;
      opacity: 1;
      transform: translateY(0);
    }
    #backToTopBtn svg {
      width: 28px;
      height: 28px;
      stroke-width: 3;
    }

    /* --- АДАПТИВНОСТЬ --- */
    @media (min-width: 781px) {
      .swiper-slide-content {
        margin-bottom: 2.5rem;
      }
    }
    @media (max-width: 990px) {
      .aboutme-section { flex-direction: column; align-items: center; text-align: center; }
      .aboutme-main { margin-bottom: 2rem; }
      .aboutme-texts {text-align: center;}
    }
    @media (max-width: 900px) {
      .problems-section, .approach-section, .aboutme-section, .process-section, .portfolio-section, .cta-section { padding: 4rem 1.5rem; }
      .problems-title, .approach-title, .process-title, .portfolio-title { font-size: 2rem; }
	  
      .problems-grid, .approach-cards { grid-template-columns: 1fr; gap: 1.8rem; max-width: 650px; }  
	  .approach-card {aspect-ratio: 5 / 5.5;}
    }
    @media (max-width: 780px) {
      .process-inner { padding: 0; }
      .process-title { padding: 0 1rem; }
      .process-timeline { padding: 0 1.5rem; }
      .process-timeline::after { left: 30px; transform: none; }
      .process-step, .process-step.left, .process-step.right { width: 100%; left: 0; justify-content: flex-start; text-align: left; padding-left: 60px; padding-right: 0; }
      .process-dot { left: 18px; right: auto; }
      .portfolio-slider-container { padding: 0; }
      .swiper-button-prev, .swiper-button-next { display: none; }
      .swiper-slide-content {
        margin-bottom: 4rem;
      }
	  .process-step.right .process-dot {left: 18px;}  
    }
    @media (max-width: 768px) {
      .header-wrap { 
        padding: 1rem 1.5rem; 
      }
      .nav-menu { 
        position: fixed; 
        top: 0; 
        right: 0;
        bottom: 0;
        left: 0;
        background-color: #ebeeff; 
        backdrop-filter: blur(10px); 
        flex-direction: column; 
        justify-content: center; 
        align-items: center; 
        gap: 2.5rem; 
        z-index: 150;
        visibility: hidden;
        transform: translateX(100%);
        transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1), visibility 0s 0.5s;
      } 
      .nav-menu.active { 
        visibility: visible;
        transform: translateX(0);
        transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
      } 
      .nav-link { 
        font-size: 1.5rem; 
        font-weight: 600; 
      } 
      .burger-menu-btn { 
        display: flex; 
        flex-direction: column; 
        justify-content: space-around; 
        width: 28px; 
        height: 24px; 
        background: transparent; 
        border: none; 
        cursor: pointer; 
        padding: 0; 
        z-index: 160;
      } 
      .burger-menu-btn .line { 
        width: 28px; 
        height: 3px; 
        background-color: #2d59e3; 
        border-radius: 5px; 
        transition: all 0.3s ease-in-out; 
      } 
      .burger-menu-btn.active .line1 { 
        transform: rotate(45deg) translate(6px, 7px); 
      } 
      .burger-menu-btn.active .line2 { 
        opacity: 0; 
      } 
      .burger-menu-btn.active .line3 { 
        transform: rotate(-45deg) translate(6px, -7px); 
      } 
      .plexi-panel { 
        padding: 2.5rem 2rem; 
      } 
      .hero-title { 
        font-size: 2.3rem; 
        line-height: 1.2; 
      } 
      .hero-subtitle { 
        font-size: 1.1rem; 
      }
      .aboutme-main { 
        flex-direction: column; 
        gap: 2rem; 
        text-align: center; 
      }
      .aboutme-texts h2, .aboutme-lead { 
        text-align: center; 
      }
      .aboutme-cards-new { 
        grid-template-columns: 1fr; 
      }
      .cta-buttons { 
        flex-direction: column; 
        gap: 1rem; 
        max-width: 450px; 
        margin-left: auto; 
        margin-right: auto; 
      }
      .btn-secondary { 
        width: 100%; 
        box-sizing: border-box; 
      }
      footer { 
        flex-direction: column; 
        justify-content: center; 
        gap: 0.8rem; 
        padding: 24px 1rem; 
      }
      .footer-left, .footer-right { 
        text-align: center; 
        justify-content: center; 
      }
    }
    
	.aboutme-cards-new {
  display: grid;
  gap: 2.5rem;
  background: rgba(200, 220, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.25);
  border-radius: 22px;
  padding: 2.7rem;
  grid-template-columns: repeat(2, 1fr);
  align-items: start; /* Вот добавленная строка */
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform, box-shadow;
}
	@media (max-width: 600px) {
      .problems-section, .approach-section, .aboutme-section, .process-section, .portfolio-section, .cta-section { padding: 3rem 1rem; }
      .problems-title, .approach-title, .process-title, .portfolio-title, .approach-title, .cta-section h2 { font-size: 1.8rem !important; }
      .problem-card, /*.approach-card,*/ .process-content { padding: 1.5rem 1.2rem; }
      .modal-close { top: 5px; right: 5px; width: 32px; height: 32px; font-size: 1.2rem; }	    
	  .card-image-container img {border-radius: 20px 20px 0;}
    }
    @media (max-width: 480px) {
      .cta-section p { font-size: 1.1rem; }
      .btn-secondary { padding: 18px; }
      footer { font-size: 0.9rem; }
      .aboutme-texts h2 { font-size: 1.8rem; }
      .aboutme-lead { font-size: 1.05rem; }
      .aboutme-cards-new { padding: 2rem 1.5rem; gap: 2.5rem; }
    }
	
	[role=button]:focus, button:focus, input[type=button]:focus, input[type=reset]:focus, input[type=submit]:focus {
		--box-shadow: none;
	}
	
	[role=button]:is([aria-current],:hover,:active,:focus), button:is([aria-current],:hover,:active,:focus), input[type=button]:is([aria-current],:hover,:active,:focus), input[type=reset]:is([aria-current],:hover,:active,:focus), input[type=submit]:is([aria-current],:hover,:active,:focus) 
	{
			--box-shadow: none;	
	}
	@media (max-width: 768px) {
  .aboutme-cards-new {
    grid-template-columns: 1fr;
  }
}
	