/* ========================================
   ОБЩИЕ СТИЛИ
   ======================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Gilroy', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  overflow-x: hidden;
}

.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 80px;
  /* УДАЛИ эти строки если они есть: */
  /* position: relative; */
  /* z-index: 1; */
}

/* ========================================
   БЛОК 1: HERO SECTION
   ======================================== */

.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, #6B46C1 0%, #8B5CF6 50%, #A78BFA 100%);
  background-image: url('../images/hero-bg.png'); /* Твой фон */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}
/* ПУЛЬСИРУЮЩИЙ ФОН - АНИМАЦИЯ */
.hero-section::before {
  content: '';
  position: absolute;
  top: -10%;
  left: -10%;
  right: -10%;
  bottom: -10%;
  background: 
    linear-gradient(135deg, transparent 0%, rgba(255, 255, 255, 0.03) 25%, transparent 26%),
    linear-gradient(135deg, transparent 45%, rgba(255, 255, 255, 0.03) 50%, transparent 51%),
    linear-gradient(135deg, transparent 70%, rgba(255, 255, 255, 0.03) 75%, transparent 76%);
  pointer-events: none;
  animation: pulse 8s ease-in-out infinite;
}

/* Дополнительное свечение */
.hero-section::after {
  content: '';
  position: absolute;
  width: 1000px;
  height: 1000px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
  top: -300px;
  right: -300px;
  pointer-events: none;
  animation: glow 6s ease-in-out infinite;
}

/* Анимация пульсации */
@keyframes pulse {
  0%, 100% {
    opacity: 0.5;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.05);
  }
}

/* Анимация свечения */
@keyframes glow {
  0%, 100% {
    opacity: 0.3;
  }
  50% {
    opacity: 0.6;
  }
}

/* ========================================
   HEADER / ШАПКА
   ======================================== */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 99999;
  padding: 20px 0; /* ← Увеличил немного */
  background: transparent; /* ← ПРОЗРАЧНЫЙ */
  backdrop-filter: none; /* ← БЕЗ размытия */
  box-shadow: none; /* ← БЕЗ тени */
  transition: all 0.3s ease;
}

/* ДОБАВЬ ЭТОТ БЛОК СРАЗУ ПОСЛЕ: */
.header .container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 60px; /* ← Отступы по бокам */
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Header при скролле */
.header.scrolled {
  padding: 16px 0; /* ← Чуть меньше */
  background: rgba(107, 70, 193, 0.98); /* ← ФИОЛЕТОВЫЙ */
  backdrop-filter: blur(10px); /* ← Размытие */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* ← Тень */
}

/* Header для светлых страниц */
.light-page .header {
  background: transparent;
}

.light-page .header .logo {
  color: #333333;
}

.light-page .header .nav-link {
  color: #333333;
}

.light-page .header .nav-link::after {
  background: #333333;
}

.light-page .header .btn-signup,
.light-page .header .btn-login {
  border-color: #333333;
  color: #333333;
}

.light-page .header .btn-signup:hover,
.light-page .header .btn-login:hover {
  background: #333333;
  color: white;
}

/* При скролле - стандартные стили (фиолетовый) */
.light-page .header.scrolled {
  background: rgba(107, 70, 193, 0.98);
  backdrop-filter: blur(10px);
}

.light-page .header.scrolled .logo,
.light-page .header.scrolled .nav-link {
  color: white;
}

.light-page .header.scrolled .nav-link::after {
  background: white;
}

.light-page .header.scrolled .btn-signup,
.light-page .header.scrolled .btn-login {
  border-color: white;
  color: white;
}

.light-page .header.scrolled .btn-signup:hover {
  background: white;
  color: #6B46C1;
}

.light-page .header.scrolled .btn-login:hover {
  background: rgba(255, 255, 255, 0.9);
  color: #6B46C1;
}

/* Логотип */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: white;
  text-decoration: none;
  transition: transform 0.3s;
}

.logo:hover {
  transform: scale(1.05);
}

.logo-img {
  width: 200px;
  height: auto;
  object-fit: contain;
  transition: filter 0.3s ease;
}

/* Логотип на светлых страницах - темный */
.light-page .header .logo-img {
  filter: brightness(20%) saturate(100%);
}

/* Логотип при скролле на светлых страницах - белый */
.light-page .header.scrolled .logo-img {
  filter: brightness(0) invert(1);
}

.logo-text {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

/* Навигация */
.nav {
  display: flex;
  gap: 48px;
  align-items: center;
}

.nav-link {
  color: white;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: white;
  transition: width 0.3s;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link:hover {
  opacity: 0.8;
}

/* Кнопки в хедере */
.header-actions {
  display: flex;
  gap: 16px;
}

/* ========================================
   КНОПКИ
   ======================================== */

.btn {
  padding: 12px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s;
  border: none;
  font-family: inherit;
}

/* Sign up кнопка */
.btn-signup {
  background: transparent;
  border: 2px solid white;
  color: white;
}

.btn-signup:hover {
  background: white;
  color: #6B46C1;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

/* Log in кнопка */
.btn-login {
  background: transparent;
  border: 2px solid white;
  color: white;
}

.btn-login:hover {
  background: white;
  color: #6B46C1;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

/* ========================================
   HERO КОНТЕНТ
   ======================================== */

.hero-content {
  padding: 200px 0 80px; /* ← Увеличь верхний padding (было 120px) */
  max-width: 1100px;
  position: relative;
  z-index: 5;
}

.hero-title {
  font-size: 80px;
  font-weight: 900;
  line-height: 1.1;
  color: white;
  margin-bottom: 32px;
  letter-spacing: -2px;
  animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
  font-size: 24px;
  font-weight: 400;
  color: white;
  line-height: 1.5;
  margin-bottom: 48px;
  max-width: 800px;
  opacity: 0.95;
  animation: fadeInUp 1s ease-out 0.2s backwards;
}

/* Анимация появления */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Главные кнопки */
.hero-buttons {
  display: flex;
  gap: 20px;
  animation: fadeInUp 1s ease-out 0.4s backwards;
}

/* Find talent кнопка (салатовая) */
.btn-find-talent {
  background: #CDFC3A;
  color: #1F2937;
  border: none;
  font-weight: 700;
  padding: 18px 40px;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border-radius: 50px;
}

.btn-find-talent:hover {
  background: #B8E633;
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(205, 252, 58, 0.4);
}

/* Browse jobs кнопка */
.btn-browse-jobs {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.5);
  padding: 18px 40px;
  font-size: 16px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border-radius: 50px;
}

.btn-browse-jobs:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: white;
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(255, 255, 255, 0.2);
}

/* Стрелки в кнопках */
.arrow {
  font-size: 20px;
  transition: transform 0.3s;
}

.btn:hover .arrow {
  transform: translateX(5px);
}

/* ========================================
   АДАПТИВНОСТЬ
   ======================================== */

@media (max-width: 1200px) {
  .container {
    padding: 40px 40px;
  }

  .hero-title {
    font-size: 64px;
  }

  .hero-subtitle {
    font-size: 20px;
  }
}

@media (max-width: 968px) {
  .nav {
    display: none; /* Прячем меню на мобилке */
  }

  .hero-title {
    font-size: 48px;
  }

  .hero-subtitle {
    font-size: 18px;
  }

  .hero-content {
    padding: 80px 0 60px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn-find-talent,
  .btn-browse-jobs {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 20px;
  }

  .hero-title {
    font-size: 36px;
    letter-spacing: -1px;
  }

  .hero-subtitle {
    font-size: 16px;
    margin-bottom: 32px;
  }

  .logo-text {
    font-size: 24px;
  }
}

/* ========================================
   БЛОК 2: SERVICE CATEGORIES
   ======================================== */

.categories-section {
  padding: 120px 0;
  background: #ffffff;
  position: relative;
}

/* Заголовок секции */
.categories-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 80px;
}

.section-title {
  font-family: 'Gilroy', sans-serif;
  font-weight: 700;
  color: #333333;
  font-size: 48px;
  letter-spacing: 0;
  line-height: 54px;
  margin-bottom: 16px;
}

.section-subtitle {
  font-family: 'Gilroy', sans-serif;
  font-weight: 500;
  color: #333333;
  font-size: 28px;
  letter-spacing: 0;
  line-height: 32px;
}

/* Кнопки карусели */
.carousel-controls {
  display: flex;
  gap: 16px;
}

.carousel-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  transition: all 0.3s;
}

.carousel-btn.prev,
.carousel-btn.next {
  background-color: #F8F9FF;
  color: #333333;
}

.carousel-btn:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.carousel-btn.prev:hover,
.carousel-btn.next:hover {
  background-color: #6d5beb;
  color: white;
}

.carousel-btn:active {
  transform: scale(0.95);
}

/* Обертка карусели */
.carousel-wrapper {
  overflow: hidden;
  width: 100%;
}

/* Карусель */
.categories-carousel {
  display: flex;
  gap: 20px;
  transition: transform 0.5s ease-in-out;
}

/* Карточка категории */
.category-card {
  min-width: 400px;
  height: 240px;
  border-radius: 20px;
  padding: 40px 33px;
  position: relative;
  cursor: grab;
  transition: all 0.3s;
  overflow: hidden;
  box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.05);
  user-select: none;
}

.category-card:active {
  cursor: grabbing;
}

.category-card:hover {
  transform: translateY(-8px);
  box-shadow: 0px 10px 40px rgba(0, 0, 0, 0.15);
}

/* Градиенты для карточек */
.category-card.gradient-purple {
  background: linear-gradient(108deg, rgba(174, 160, 247, 1) 0%, rgba(109, 91, 235, 1) 100%);
}

.category-card.gradient-green {
  background: linear-gradient(108deg, rgba(195, 255, 0, 1) 0%, rgba(131, 255, 143, 1) 100%);
}

.category-card.dark {
  background-color: #333333;
}

.category-card.white {
  background-color: #ffffff;
  border: 1px solid #f0f0f0;
}

/* Контент карточки */
.category-content h3 {
  font-family: 'Gilroy', sans-serif;
  font-weight: 500;
  font-size: 28px;
  line-height: 32px;
  max-width: 225px;
  position: relative;
  z-index: 2;
}

.category-card.gradient-purple h3,
.category-card.gradient-green h3 {
  color: #000000;
}

.category-card.white h3 {
  color: #333333;
}

.category-card.dark h3 {
  color: white;
}

/* Градиентный текст для темной карточки */
.gradient-text {
  background: linear-gradient(90deg, rgba(131, 255, 143, 1) 0%, rgba(204, 127, 240, 1) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Картинка */
.category-image {
  position: absolute;
  right: 20px;
  bottom: 20px;
  width: 180px;
  height: 180px;
  object-fit: contain;
  opacity: 0.8;
  pointer-events: none;
}

/* Адаптивность */
@media (max-width: 1200px) {
  .category-card {
    min-width: 350px;
  }
}

@media (max-width: 968px) {
  .categories-header {
    flex-direction: column;
    gap: 30px;
  }

  .carousel-controls {
    align-self: flex-end;
  }

  .category-card {
    min-width: 300px;
  }
}

@media (max-width: 640px) {
  .section-title {
    font-size: 36px;
  }

  .section-subtitle {
    font-size: 20px;
  }

  .category-card {
    min-width: 280px;
    height: 200px;
  }

  .category-content h3 {
    font-size: 24px;
  }
}

/* ========================================
   БЛОК 3: HOW IT WORKS
   ======================================== */

.how-works-section {
  padding: 120px 0;
  background: #ffffff;
  position: relative;
}

/* Заголовок по центру */
.section-title-center {
  font-family: 'Gilroy', sans-serif;
  font-weight: 700;
  color: #333333;
  font-size: 48px;
  letter-spacing: 0;
  line-height: 54px;
  text-align: center;
  margin-bottom: 100px;
}

/* Контейнер шагов */
.steps-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}


/* Ряды карточек */
.steps-row {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 50px;
  position: relative;
  z-index: 2;
}

.steps-row.row-2 {
  justify-content: center;
  gap: 100px;
  margin-bottom: 0;
}

/* Карточка шага */
.step-card {
  width: 350px;
  min-height: 180px;
  background: white;
  border: 1px solid #8e7ff0;
  border-radius: 20px;
  padding: 30px;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: all 0.4s ease;
  position: relative;
}

.step-card:hover {
  transform: translateY(-10px);
  background: #F8F9FF;
  box-shadow: 0 15px 40px rgba(142, 127, 240, 0.25);
  border-color: #6d5beb;
}

/* Цифра шага */
.step-number {
  font-family: 'Gilroy', sans-serif;
  font-weight: 700;
  font-size: 128px;
  line-height: 1;
  color: #83FF8F;
  flex-shrink: 0;
  user-select: none;
}

/* Контент шага */
.step-content {
  flex: 1;
}

.step-text {
  font-family: 'Gilroy', sans-serif;
  font-weight: 500;
  color: #333333;
  font-size: 24px;
  line-height: 1.3;
  margin: 0;
}

/* Адаптивность */
@media (max-width: 1200px) {
  .steps-row {
    flex-wrap: wrap;
    justify-content: center;
  }

  .step-card {
    width: 320px;
  }

 }

@media (max-width: 968px) {
  .section-title-center {
    font-size: 36px;
  }

  .step-card {
    width: 100%;
    max-width: 400px;
  }

  .step-number {
    font-size: 96px;
  }

  .step-text {
    font-size: 20px;
  }

  .steps-row.row-2 {
    gap: 40px;
  }
}

@media (max-width: 640px) {
  .how-works-section {
    padding: 80px 0;
  }

  .section-title-center {
    font-size: 32px;
    margin-bottom: 60px;
  }

  .step-card {
    flex-direction: column;
    text-align: center;
    padding: 40px 20px;
  }

  .step-number {
    font-size: 72px;
  }

  .step-text {
    font-size: 18px;
  }
}

/* ========================================
   БЛОК 4: MEET SPECIALISTS
   ======================================== */

.specialists-section {
  padding: 120px 0;
  background: #ffffff;
}

.specialists-content {
  display: flex;
  align-items: center;
  gap: 80px;
}

/* ЛЕВАЯ ЧАСТЬ: Сетка фотографий */
.photos-grid {
  display: grid;
  grid-template-columns: repeat(3, 160px);
  grid-template-rows: repeat(2, 160px);
  gap: 16px;
  flex-shrink: 0;
}

.photo-item {
  width: 160px;
  height: 160px;
  object-fit: cover;
  transition: all 0.3s;
  cursor: pointer;
}

/* Разные скругления для каждого фото */
.photo-1 {
  border-radius: 20px;
}

.photo-2 {
  border-radius: 20px;
}

.photo-3 {
  border-radius: 50%; /* Круглое */
}

.photo-4 {
  border-radius: 50%; /* Круглое */
}

.photo-5 {
  border-radius: 20px;
}

.photo-6 {
  border-radius: 20px;
}

.photo-item:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* ПРАВАЯ ЧАСТЬ: Текст */
.specialists-info {
  flex: 1;
}

.specialists-title {
  font-family: 'Gilroy', sans-serif;
  font-weight: 700;
  color: #000000;
  font-size: 48px;
  line-height: 1.2;
  margin-bottom: 16px;
}

.specialists-subtitle {
  font-family: 'Gilroy', sans-serif;
  font-weight: 400;
  color: rgba(0, 0, 0, 0.6);
  font-size: 32px;
  line-height: 1.3;
  margin-bottom: 60px;
}

/* Кнопка Learn More */
.btn-learn-more {
  background: #6d5beb;
  color: white;
  padding: 16px 48px;
  border-radius: 50px;
  font-size: 24px;
  font-weight: 500;
  border: none;
  margin-bottom: 40px;
  transition: all 0.3s;
}

.btn-learn-more:hover {
  background: #5B21B6;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(109, 91, 235, 0.3);
}

/* ТЕКСТ С ПОДСВЕТКОЙ (место для SVG фона) */
.highlight-text {
  position: relative;
  display: inline-block;
  padding: 12px 20px;
  background-image: url('../images/highlight-bg.svg');
  background-repeat: no-repeat;
  background-size: 100% 100%;
  cursor: pointer; /* добавляем курсор */
  transition: all 0.3s ease; /* плавный переход */
}

/* Добавляем эффект при наведении */
.highlight-text:hover {
  transform: translateY(-3px) scale(1.05);
  filter: brightness(1.1);
}

.highlight-text:active {
  transform: translateY(-1px) scale(1.02);
}

.highlight-content {
  font-family: 'Gilroy', sans-serif;
  font-weight: 700;
  color: #000000;
  font-size: 24px;
  line-height: 1.4;
  position: relative;
  z-index: 2;
  transition: color 0.3s ease;
}

.highlight-text:hover .highlight-content {
  color: #6d5beb; /* меняем цвет при наведении */
}

/* ПОДГОТОВКА К БУДУЩЕЙ АНИМАЦИИ (пока закомментировано) */
/*
.photos-grid {
  animation: slideLeft 20s linear infinite;
}

@keyframes slideLeft {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}
*/

/* Адаптивность */
@media (max-width: 1200px) {
  .specialists-content {
    gap: 50px;
  }

  .photos-grid {
    grid-template-columns: repeat(3, 140px);
    grid-template-rows: repeat(2, 140px);
  }

  .photo-item {
    width: 140px;
    height: 140px;
  }
}

@media (max-width: 968px) {
  .specialists-content {
    flex-direction: column;
    text-align: center;
  }

  .specialists-info {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .specialists-title {
    font-size: 36px;
  }

  .specialists-subtitle {
    font-size: 24px;
  }

  .photos-grid {
    margin: 0 auto;
  }
}

@media (max-width: 640px) {
  .photos-grid {
    grid-template-columns: repeat(2, 120px);
    grid-template-rows: repeat(3, 120px);
    gap: 12px;
  }

  .photo-item {
    width: 120px;
    height: 120px;
  }

  .specialists-title {
    font-size: 32px;
  }

  .specialists-subtitle {
    font-size: 20px;
    margin-bottom: 40px;
  }

  .btn-learn-more {
    font-size: 20px;
    padding: 14px 36px;
  }

  .highlight-content {
    font-size: 18px;
  }
}

/* ========================================
   БЛОК 5: STATISTICS
   ======================================== */

.stats-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #C3FF00 0%, #83FF8F 100%); /* Диагональ */
  position: relative;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Элемент статистики */
.stat-item {
  text-align: center;
  animation: fadeInUp 0.8s ease-out;
  animation-fill-mode: backwards;
}

.stat-item:nth-child(1) {
  animation-delay: 0.1s;
}

.stat-item:nth-child(2) {
  animation-delay: 0.2s;
}

.stat-item:nth-child(3) {
  animation-delay: 0.3s;
}

.stat-item:nth-child(4) {
  animation-delay: 0.4s;
}

/* Число */
.stat-number {
  font-family: 'Gilroy', sans-serif;
  font-weight: 900;
  font-size: 72px;
  line-height: 1;
  color: #333333;
  margin-bottom: 16px;
  transition: all 0.4s ease;
}

.stat-item:hover .stat-number {
  transform: scale(1.15);
  color: #6d5beb;
}

/* Подпись */
.stat-label {
  font-family: 'Gilroy', sans-serif;
  font-weight: 500;
  font-size: 20px;
  line-height: 1.3;
  color: #333333;
  margin: 0;
  transition: color 0.3s ease;
}

.stat-item:hover .stat-label {
  color: #6d5beb;
}

/* Анимация появления (уже есть в коде, но на всякий случай) */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========================================
   АДАПТИВНОСТЬ ДЛЯ СТАТИСТИКИ
   ======================================== */

@media (max-width: 1200px) {
  .stats-grid {
    gap: 40px;
  }

  .stat-number {
    font-size: 64px;
  }

  .stat-label {
    font-size: 18px;
  }
}

@media (max-width: 968px) {
  .stats-section {
    padding: 80px 0;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
  }

  .stat-number {
    font-size: 56px;
  }

  .stat-label {
    font-size: 16px;
  }
}

@media (max-width: 640px) {
  .stats-section {
    padding: 60px 0;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .stat-number {
    font-size: 48px;
  }

  .stat-label {
    font-size: 16px;
  }
}

/* ========================================
   БЛОК 6: LEARN. GROW. EARN
   ======================================== */

.courses-section {
  padding: 120px 0 0 0;
  background: #F5F5F5;
  overflow: hidden;
}

/* Заголовок и кнопка */
.courses-header {
  text-align: center;
  margin-bottom: 80px;
}

.courses-title {
  font-family: 'Gilroy', sans-serif;
  font-weight: 700;
  font-size: 64px;
  line-height: 1.2;
  color: #333333;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.courses-subtitle {
  font-family: 'Gilroy', sans-serif;
  font-weight: 400;
  font-size: 24px;
  line-height: 1.4;
  color: #666666;
  margin-bottom: 40px;
}

.btn-courses {
  background: #6d5beb;
  color: white;
  padding: 18px 48px;
  border-radius: 50px;
  font-size: 20px;
  font-weight: 600;
  border: none;
  transition: all 0.3s;
}

.btn-courses:hover {
  background: #5B21B6;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(109, 91, 235, 0.3);
}

/* Контейнер каруселей */
.courses-carousels {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-bottom: 60px;
}

/* Трек карусели */
.carousel-track {
  display: flex;
  gap: 20px;
  cursor: grab;
  user-select: none;
  position: relative;
}

.carousel-track:active {
  cursor: grabbing;
}

/* Контент карусели */
.carousel-content {
  display: flex;
  gap: 20px;
  animation: scrollLeft 30s linear infinite;
}

/* Анимация верхнего ряда (влево) */
#topTrack .carousel-content {
  animation: scrollLeft 30s linear infinite;
}

/* Анимация нижнего ряда (вправо) */
#bottomTrack .carousel-content {
  animation: scrollRight 30s linear infinite;
}

@keyframes scrollLeft {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

@keyframes scrollRight {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(0);
  }
}

/* Пауза анимации при наведении */
.carousel-track:hover .carousel-content {
  animation-play-state: paused;
}

/* Карточка курса */
.course-card {
  min-width: 420px;
  height: 160px;
  border-radius: 80px;
  padding: 20px 30px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s;
  flex-shrink: 0;
  display: flex;
  align-items: center; /* Центр по вертикали */
  justify-content: center; /* Центр по горизонтали */
}

.course-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

/* Градиенты */
.course-card.gradient-purple {
  background: linear-gradient(108deg, rgba(174, 160, 247, 1) 0%, rgba(109, 91, 235, 1) 100%);
}

.course-card.gradient-green {
  background: linear-gradient(108deg, rgba(195, 255, 0, 1) 0%, rgba(131, 255, 143, 1) 100%);
}

.course-card.dark {
  background-color: #333333;
}

.course-card.white {
  background-color: #ffffff;
  border: 1px solid #E0E0E0;
}

/* Текст */
.course-text {
  text-align: center; /* Выравнивание текста по центру */
  width: 100%;
}

.course-text h3 {
  font-family: 'Gilroy', sans-serif;
  font-weight: 600;
  font-size: 28px;
  line-height: 1.2;
  position: relative;
  z-index: 2;
  margin: 0;
}

.course-card.gradient-purple h3,
.course-card.gradient-green h3 {
  color: #000000;
}

.course-card.white h3 {
  color: #333333;
}

.course-card.dark h3 {
  color: white;
}

/* Картинка - УДАЛЕНА */
/* .course-image {
  position: absolute;
  right: 15px;
  bottom: 15px;
  width: 130px;
  height: 130px;
  object-fit: contain;
  opacity: 0.9;
  pointer-events: none;
} */

/* Адаптивность */
@media (max-width: 1200px) {
  .courses-title {
    font-size: 52px;
  }

  .courses-subtitle {
    font-size: 20px;
  }

  .course-card {
    min-width: 360px;
    height: 180px;
  }

  .course-text h3 {
    font-size: 28px;
  }
}

@media (max-width: 968px) {
  .courses-section {
    padding: 80px 0 0 0;
  }

  .courses-title {
    font-size: 42px;
  }

  .courses-subtitle {
    font-size: 18px;
  }

  .course-card {
    min-width: 320px;
    height: 160px;
  }

  .course-text h3 {
    font-size: 24px;
  }

  .course-image {
    width: 130px;
    height: 130px;
  }
}

@media (max-width: 640px) {
  .courses-header {
    margin-bottom: 50px;
  }

  .courses-title {
    font-size: 36px;
  }

  .courses-subtitle {
    font-size: 16px;
  }

  .btn-courses {
    font-size: 18px;
    padding: 14px 36px;
  }

  .course-card {
    min-width: 280px;
    height: 140px;
  }

  .course-text h3 {
    font-size: 20px;
  }
}
/* ========================================
   БЛОК 8: PRICING
   ======================================== */

.pricing-section {
  padding: 120px 0;
  background: #ffffff;
}

/* Главный заголовок */
.pricing-header {
  text-align: center;
  margin-bottom: 80px;
}

.pricing-main-title {
  font-family: 'Gilroy', sans-serif;
  font-weight: 700;
  font-size: 56px;
  color: #333333;
  letter-spacing: -1px;
  margin: 0;
}

/* Группа тарифов */
.pricing-group {
  margin-bottom: 80px;
}

.pricing-group-title {
  font-family: 'Gilroy', sans-serif;
  font-weight: 600;
  font-size: 32px;
  color: #333333;
  text-align: center;
  margin: 0 0 12px 0;
}

.pricing-group-subtitle {
  font-family: 'Gilroy', sans-serif;
  font-weight: 400;
  font-size: 18px;
  color: #666666;
  text-align: center;
  margin: 0 0 50px 0;
}

/* Сетка карточек */
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.pricing-cards.client-cards {
  grid-template-columns: repeat(2, 1fr);
  max-width: 800px;
  margin: 0 auto;
}

/* Карточка тарифа */
.pricing-card {
  background: #F5F5F5;
  border-radius: 20px;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.3s;
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

/* Фиолетовая карточка Student */
.pricing-card.featured {
  background: linear-gradient(135deg, #B4A5F6 0%, #8B7AE6 100%);
}

.pricing-card.featured * {
  color: white !important;
}

/* Бейдж плана */
.plan-badge {
  background: white;
  color: #6d5beb;
  font-family: 'Gilroy', sans-serif;
  font-weight: 600;
  font-size: 16px;
  padding: 8px 24px;
  border-radius: 50px;
  margin-bottom: 24px;
}

/* Бейдж для фиолетовой карточки Student */
.pricing-card.featured .plan-badge {
  background: #6d5beb;
  color: white;
}

.plan-badge.light {
  background: #E8E8FF;
  color: #333333;
}

.plan-badge.green {
  background: #CDFC3A;
  color: #333333;
}

.plan-badge.green-light {
  background: #E8FFB3;
  color: #333333;
}

.plan-badge.light {
  background: #E8E8FF;
  color: #333333;
}

.plan-badge.green {
  background: #CDFC3A;
  color: #333333;
}

.plan-badge.green-light {
  background: #E8FFB3;
  color: #333333;
}

/* Количество пропозалов */
.plan-proposals {
  font-family: 'Gilroy', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: #333333;
  margin-bottom: 16px;
}

.plan-proposals span {
  font-weight: 400;
}

/* Описание */
.plan-description {
  font-family: 'Gilroy', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.5;
  color: #666666;
  margin: 0 0 24px 0;
  min-height: 60px;
}

.pricing-card.featured .plan-description {
  color: rgba(255, 255, 255, 0.9);
}

/* Цена */
.plan-price {
  font-family: 'Gilroy', sans-serif;
  font-weight: 700;
  font-size: 36px;
  color: #333333;
  margin: auto 0 24px 0;
}

.plan-price span {
  font-size: 16px;
  font-weight: 400;
  color: #666666;
}

.pricing-card.featured .plan-price {
  color: white;
}

.pricing-card.featured .plan-price span {
  color: rgba(255, 255, 255, 0.8);
}

/* Кнопки выбора плана */
.btn-plan {
  width: 100%;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: 'Gilroy', sans-serif;
  font-weight: 600;
  font-size: 16px;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  background: #6d5beb;
  color: white;
}

.btn-plan:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(109, 91, 235, 0.3);
}

.btn-plan.light {
  background: #E8E8FF;
  color: #333333;
}

.btn-plan.light:hover {
  background: #D5D5FF;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.btn-plan.green {
  background: #CDFC3A;
  color: #333333;
}

.btn-plan.green:hover {
  background: #B8E633;
  box-shadow: 0 6px 16px rgba(205, 252, 58, 0.3);
}

.btn-plan.green-light {
  background: #E8FFB3;
  color: #333333;
}

.btn-plan.green-light:hover {
  background: #DEFF99;
  box-shadow: 0 6px 16px rgba(205, 252, 58, 0.2);
}

/* Карточки для клиентов */
.pricing-card.client-card {
  padding: 40px 32px;
}

.client-plan-title {
  font-family: 'Gilroy', sans-serif;
  font-weight: 600;
  font-size: 22px;
  line-height: 1.3;
  color: #333333;
  margin: 0 0 16px 0;
}

/* Разделитель между секциями */
.pricing-divider {
  width: 100%;
  height: 1px;
  background: #E0E0E0;
  margin: 60px 0;
}

/* Адаптивность */
@media (max-width: 1200px) {
  .pricing-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-main-title {
    font-size: 48px;
  }
}

@media (max-width: 968px) {
  .pricing-section {
    padding: 80px 0;
  }

  .pricing-main-title {
    font-size: 42px;
  }

  .pricing-group-title {
    font-size: 28px;
  }

  .pricing-cards.client-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .pricing-cards {
    grid-template-columns: 1fr;
  }

  .pricing-main-title {
    font-size: 36px;
  }

  .pricing-group-title {
    font-size: 24px;
  }

  .pricing-group-subtitle {
    font-size: 16px;
  }

  .pricing-card {
    padding: 28px 20px;
  }
}

/* ========================================
   БЛОК 7: TESTIMONIALS
   ======================================== */

.testimonials-section {
  padding: 120px 0;
  background: #ffffff;
  position: relative;
}

/* Заголовок */
.testimonials-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 80px;
}

/* Обертка карусели */
.testimonials-wrapper {
  overflow: hidden;
  width: 100%;
}

/* Карусель отзывов */
.testimonials-carousel {
  display: flex;
  gap: 30px;
  transition: transform 0.5s ease-in-out;
  cursor: grab;
}

.testimonials-carousel:active {
  cursor: grabbing;
}

/* Карточка отзыва */
.testimonial-card {
  min-width: 400px;
  max-width: 400px;
  background: #F5F5F5;
  border-radius: 20px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Шапка отзыва (аватар + инфо) */
.testimonial-header {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Аватар */
.testimonial-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Инфо (имя + должность) */
.testimonial-info {
  flex: 1;
}

.testimonial-name {
  font-family: 'Gilroy', sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.2;
  color: #333333;
  margin: 0 0 4px 0;
}

.testimonial-role {
  font-family: 'Gilroy', sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: #666666;
  margin: 0;
}

/* Текст отзыва */
.testimonial-text {
  font-family: 'Gilroy', sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.6;
  color: #333333;
  margin: 0;
}

/* Адаптивность */
@media (max-width: 1200px) {
  .testimonial-card {
    min-width: 350px;
    max-width: 350px;
  }
}

@media (max-width: 968px) {
  .testimonials-section {
    padding: 80px 0;
  }

  .testimonials-header {
    flex-direction: column;
    gap: 30px;
    margin-bottom: 50px;
  }

  .carousel-controls {
    align-self: flex-end;
  }

  .testimonial-card {
    min-width: 320px;
    max-width: 320px;
    padding: 24px;
  }

  .testimonial-name {
    font-size: 18px;
  }

  .testimonial-text {
    font-size: 14px;
  }
}

@media (max-width: 640px) {
  .testimonial-card {
    min-width: 280px;
    max-width: 280px;
    padding: 20px;
  }

  .testimonial-avatar {
    width: 56px;
    height: 56px;
  }

  .testimonial-name {
    font-size: 16px;
  }

  .testimonial-role {
    font-size: 13px;
  }

  .testimonial-text {
    font-size: 13px;
  }
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
  background: #2D2D2D;
  padding: 80px 0 40px;
  color: white;
}

/* Контент футера */
.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 60px;
  margin-bottom: 50px;
}

/* Колонка */
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Колонка с логотипом */
.footer-about {
  max-width: 400px;
}

.footer-logo {
  margin-bottom: 20px;
}

.footer-logo-img {
  width: 200px;
  height: auto;
  object-fit: contain;
}

.footer-description {
  font-family: 'Gilroy', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.6;
  color: #CCCCCC;
  margin: 0;
}

/* Заголовки */
.footer-title {
  font-family: 'Gilroy', sans-serif;
  font-weight: 600;
  font-size: 18px;
  color: white;
  margin: 0 0 12px 0;
}

/* Списки ссылок */
.footer-links,
.footer-contacts {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links li,
.footer-contacts li {
  font-family: 'Gilroy', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.4;
}

.footer-links a,
.footer-contacts a {
  color: #CCCCCC;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover,
.footer-contacts a:hover {
  color: #CDFC3A;
}

.footer-contacts li {
  color: #CCCCCC;
}

/* Социальные сети */
.footer-socials {
  display: flex;
  gap: 16px;
  margin-top: 10px;
}

.social-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s, opacity 0.3s;
  opacity: 0.8;
}

.social-icon:hover {
  transform: translateY(-3px);
  opacity: 1;
}

.social-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Разделитель */
.footer-divider {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 40px 0;
}

/* Copyright */
.footer-bottom {
  text-align: center;
}

.footer-copyright {
  font-family: 'Gilroy', sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: #999999;
  margin: 0;
}

/* Адаптивность */
@media (max-width: 1200px) {
  .footer-content {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 968px) {
  .footer {
    padding: 60px 0 30px;
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer-about {
    grid-column: 1 / -1;
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .footer {
    padding: 40px 0 20px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-logo-img {
    width: 150px;
  }

  .footer-title {
    font-size: 16px;
  }

  .footer-socials {
    gap: 12px;
  }

  .social-icon {
    width: 28px;
    height: 28px;
  }
}

/* ========================================
   МОДАЛЬНОЕ ОКНО РЕГИСТРАЦИИ
   ======================================== */

.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 100000;
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.3s ease;
}

.modal-overlay.active {
  display: flex;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-container {
  background: white;
  border-radius: 24px;
  padding: 48px 40px;
  max-width: 650px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: slideUp 0.3s ease;
}

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

/* Кнопка закрытия */
.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  border: none;
  font-size: 32px;
  color: #999;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s;
}

.modal-close:hover {
  background: #F5F5F5;
  color: #333;
}

/* Заголовок */
.modal-title {
  font-family: 'Gilroy', sans-serif;
  font-weight: 700;
  font-size: 32px;
  color: #333;
  text-align: center;
  margin: 0 0 40px 0;
}

/* ШАГ 1: Карточки выбора роли */
.role-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 32px;
}

.role-card {
  cursor: pointer;
}

.role-card input[type="radio"] {
  display: none;
}

.role-card-content {
  background: white;
  border: 2px solid #E0E0E0;
  border-radius: 16px;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  transition: all 0.3s;
  position: relative;
  min-height: 180px;
}

.role-card:hover .role-card-content {
  border-color: #6d5beb;
  box-shadow: 0 4px 12px rgba(109, 91, 235, 0.1);
}

.role-card input[type="radio"]:checked + .role-card-content {
  border-color: #6d5beb;
  background: #F8F9FF;
}

.role-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
}

.role-text {
  flex: 1;
}

.role-text p {
  font-family: 'Gilroy', sans-serif;
  font-weight: 600;
  font-size: 18px;
  line-height: 1.4;
  color: #333;
  margin: 0;
}

.role-radio {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 24px;
  height: 24px;
  border: 2px solid #E0E0E0;
  border-radius: 50%;
  transition: all 0.3s;
}

.role-card input[type="radio"]:checked + .role-card-content .role-radio {
  border-color: #6d5beb;
  background: #6d5beb;
}

.role-card input[type="radio"]:checked + .role-card-content .role-radio::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  background: white;
  border-radius: 50%;
}

/* ШАГ 2: OAuth кнопки */
.btn-oauth {
  width: 100%;
  padding: 14px 24px;
  border-radius: 12px;
  font-family: 'Gilroy', sans-serif;
  font-weight: 600;
  font-size: 16px;
  border: 2px solid #E0E0E0;
  background: white;
  color: #333;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 16px;
  transition: all 0.3s;
}

.btn-oauth:hover {
  border-color: #6d5beb;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-oauth.google:hover {
  border-color: #4285F4;
}

/* Разделитель OR */
.modal-divider {
  display: flex;
  align-items: center;
  margin: 32px 0;
  color: #999;
  font-size: 14px;
}

.modal-divider::before,
.modal-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #E0E0E0;
}

.modal-divider span {
  padding: 0 16px;
}

/* Форма */
.email-form {
  animation: slideIn 0.3s ease;
}

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

.form-subtitle {
  font-family: 'Gilroy', sans-serif;
  font-weight: 600;
  font-size: 20px;
  color: #333;
  margin: 0 0 24px 0;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-family: 'Gilroy', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: #333;
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid #E0E0E0;
  border-radius: 12px;
  font-family: 'Gilroy', sans-serif;
  font-size: 16px;
  transition: all 0.3s;
}

.form-input:focus {
  outline: none;
  border-color: #6d5beb;
  box-shadow: 0 0 0 3px rgba(109, 91, 235, 0.1);
}

.password-input {
  position: relative;
}

.password-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  cursor: pointer;
  color: #999;
  padding: 8px;
}

.password-toggle:hover {
  color: #333;
}

.forgot-password {
  display: block;
  text-align: right;
  color: #6d5beb;
  font-size: 14px;
  text-decoration: none;
  margin-bottom: 24px;
}

.forgot-password:hover {
  text-decoration: underline;
}

/* Кнопки модалки */
.btn-modal {
  width: 100%;
  padding: 16px 32px;
  border-radius: 50px;
  font-family: 'Gilroy', sans-serif;
  font-weight: 600;
  font-size: 16px;
  border: none;
  background: #E0E0E0;
  color: #999;
  cursor: not-allowed;
  transition: all 0.3s;
}

.btn-modal:not(:disabled) {
  background: #6d5beb;
  color: white;
  cursor: pointer;
}

.btn-modal:not(:disabled):hover {
  background: #5B21B6;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(109, 91, 235, 0.3);
}

/* Футер */
.modal-footer {
  text-align: center;
  font-size: 14px;
  color: #666;
  margin-top: 24px;
}

.modal-footer a {
  color: #6d5beb;
  text-decoration: none;
}

.modal-footer a:hover {
  text-decoration: underline;
}

.modal-terms {
  font-size: 13px;
  line-height: 1.6;
  color: #666;
  margin-top: 24px;
  text-align: center;
}

.modal-terms a {
  color: #6d5beb;
  text-decoration: none;
}

.modal-terms a:hover {
  text-decoration: underline;
}

/* Адаптивность */
@media (max-width: 768px) {
  .modal-container {
    padding: 32px 24px;
    max-width: 95%;
  }

  .role-cards {
    grid-template-columns: 1fr;
  }

  .modal-title {
    font-size: 24px;
  }
}

/* ========================================
   СТРАНИЦА КУРСОВ
   ======================================== */

.courses-page {
  padding: 140px 0 80px;
  background: #F8F8F8;
  min-height: 100vh;
}

.courses-page-title {
  font-family: 'Gilroy', sans-serif;
  font-weight: 700;
  font-size: 56px;
  color: #333333;
  text-align: center;
  margin: 0 0 80px 0;
  letter-spacing: -1px;
}

/* Сетка курсов */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 60px;
}

/* Карточка курса */
.course-item {
  background: white;
  border-radius: 20px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s;
}

.course-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.course-item-title {
  font-family: 'Gilroy', sans-serif;
  font-weight: 600;
  font-size: 22px;
  line-height: 1.3;
  color: #333333;
  margin: 0 0 20px 0;
  min-height: 60px;
}

.course-info {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
}

.course-duration {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #666666;
}

.course-duration svg {
  color: #999999;
}

.course-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
}

.course-features li {
  font-family: 'Gilroy', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #666666;
  padding-left: 20px;
  position: relative;
  margin-bottom: 8px;
}

.course-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #6d5beb;
  font-weight: 700;
}

.course-price {
  font-family: 'Gilroy', sans-serif;
  font-weight: 700;
  font-size: 32px;
  color: #333333;
  margin: auto 0 24px 0;
}

.btn-course-view {
  width: 100%;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: 'Gilroy', sans-serif;
  font-weight: 600;
  font-size: 16px;
  border: none;
  background: #E8E8FF;
  color: #333333;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-course-view:hover {
  background: #6d5beb;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(109, 91, 235, 0.3);
}

.courses-footer-text {
  text-align: center;
  font-family: 'Gilroy', sans-serif;
  font-size: 18px;
  color: #666666;
  margin: 40px 0 0 0;
}

/* Адаптивность */
@media (max-width: 1200px) {
  .courses-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .courses-page-title {
    font-size: 48px;
  }
}

@media (max-width: 768px) {
  .courses-page {
    padding: 100px 0 60px;
  }

  .courses-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .courses-page-title {
    font-size: 36px;
    margin-bottom: 50px;
  }

  .course-item {
    padding: 24px;
  }
}

/* ========================================
   МОДАЛЬНОЕ ОКНО ДЕТАЛЕЙ КУРСА
   ======================================== */

.course-detail-modal {
  max-width: 500px;
  padding: 40px;
}

.course-detail-content {
  display: flex;
  flex-direction: column;
}

.course-detail-title {
  font-family: 'Gilroy', sans-serif;
  font-weight: 600;
  font-size: 28px;
  color: #333333;
  margin: 0 0 24px 0;
  line-height: 1.3;
}

.course-program-title {
  font-family: 'Gilroy', sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: #333333;
  margin: 0 0 20px 0;
}

.course-program-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px 0;
}

.course-program-list li {
  font-family: 'Gilroy', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: #333333;
  padding-left: 24px;
  position: relative;
  margin-bottom: 12px;
}

.course-program-list li::before {
  content: '•';
  position: absolute;
  left: 8px;
  color: #333333;
  font-weight: 700;
  font-size: 18px;
}

.course-detail-price {
  font-family: 'Gilroy', sans-serif;
  font-weight: 700;
  font-size: 48px;
  color: #333333;
  text-align: center;
  margin: 0 0 32px 0;
  padding: 24px 0;
  border-top: 1px solid #E0E0E0;
  border-bottom: 1px solid #E0E0E0;
}

.btn-go-learn {
  width: 100%;
  padding: 16px 32px;
  border-radius: 50px;
  font-family: 'Gilroy', sans-serif;
  font-weight: 600;
  font-size: 18px;
  border: none;
  background: #E8E8FF;
  color: #333333;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-go-learn:hover {
  background: #6d5beb;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(109, 91, 235, 0.3);
}

/* Адаптивность */
@media (max-width: 640px) {
  .course-detail-modal {
    max-width: 95%;
    padding: 32px 24px;
  }

  .course-detail-title {
    font-size: 24px;
  }

  .course-program-title {
    font-size: 20px;
  }

  .course-program-list li {
    font-size: 14px;
  }

  .course-detail-price {
    font-size: 40px;
  }
}

/* ========================================
   DASHBOARD CLIENT
   ======================================== */

.dashboard-section {
  padding: 100px 0 80px;
  background: #F8F8F8;
  min-height: 100vh;
}

.container-full {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 40px;
}

.dashboard-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 40px;
}

/* ========================================
   SIDEBAR: Профиль
   ======================================== */

.dashboard-sidebar {
  background: white;
  border-radius: 20px;
  padding: 32px;
  height: fit-content;
  position: sticky;
  top: 120px;
}

/* Аватарка */
.profile-avatar-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 24px;
}

.profile-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  border: 4px solid #F5F5F5;
  transition: all 0.3s;
}

.profile-avatar:hover {
  border-color: #6d5beb;
}

.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avatar-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.profile-avatar:hover .avatar-overlay {
  opacity: 1;
}

.avatar-upload-btn {
  background: transparent;
  border: none;
  color: white;
  cursor: pointer;
  padding: 8px;
}

.avatar-remove-btn {
  margin-top: 12px;
  background: transparent;
  border: none;
  color: #E74C3C;
  font-size: 13px;
  cursor: pointer;
  transition: opacity 0.3s;
}

.avatar-remove-btn:hover {
  opacity: 0.7;
}

/* Информация профиля */
.profile-info {
  text-align: center;
  margin-bottom: 32px;
}

.profile-name {
  font-family: 'Gilroy', sans-serif;
  font-weight: 700;
  font-size: 24px;
  color: #333333;
  margin-bottom: 4px;
}

.profile-role {
  font-family: 'Gilroy', sans-serif;
  font-size: 14px;
  color: #6d5beb;
  font-weight: 600;
}

/* Форма редактирования */
.profile-edit-form {
  margin-bottom: 32px;
}

.telegram-input-wrapper {
  position: relative;
}

.telegram-prefix {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 600;
  color: #666666;
}

.telegram-input {
  padding-left: 32px !important;
}

.btn-save-profile {
  width: 100%;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: 'Gilroy', sans-serif;
  font-weight: 600;
  font-size: 16px;
  border: none;
  background: #6d5beb;
  color: white;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-save-profile:hover {
  background: #5B21B6;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(109, 91, 235, 0.3);
}

/* Статистика */
.profile-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid #F0F0F0;
}

.profile-stats .stat-item {
  text-align: center;
}

.profile-stats .stat-number {
  font-family: 'Gilroy', sans-serif;
  font-weight: 700;
  font-size: 28px;
  color: #333333;
  margin-bottom: 4px;
}

.profile-stats .stat-label {
  font-size: 12px;
  color: #999999;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ========================================
   MAIN CONTENT: Список заказов
   ======================================== */

.dashboard-main {
  background: white;
  border-radius: 20px;
  padding: 40px;
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 32px;
}

.dashboard-title {
  font-family: 'Gilroy', sans-serif;
  font-weight: 700;
  font-size: 32px;
  color: #333333;
  margin: 0 0 8px 0;
}

.dashboard-subtitle {
  font-size: 16px;
  color: #666666;
  margin: 0;
}

.btn-create-job {
  padding: 14px 32px;
  border-radius: 50px;
  font-family: 'Gilroy', sans-serif;
  font-weight: 600;
  font-size: 16px;
  border: none;
  background: #CDFC3A;
  color: #333333;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s;
}

.btn-create-job:hover {
  background: #B8E633;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(205, 252, 58, 0.3);
}

/* Табы */
.jobs-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
  border-bottom: 2px solid #F0F0F0;
}

.tab-btn {
  padding: 12px 24px;
  background: transparent;
  border: none;
  font-family: 'Gilroy', sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: #999999;
  cursor: pointer;
  position: relative;
  transition: all 0.3s;
}

.tab-btn.active {
  color: #6d5beb;
}

.tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: #6d5beb;
}

.tab-btn:hover {
  color: #333333;
}

/* Пустое состояние */
.empty-state {
  text-align: center;
  padding: 80px 40px;
}

.empty-state svg {
  margin-bottom: 24px;
}

.empty-state h3 {
  font-family: 'Gilroy', sans-serif;
  font-weight: 600;
  font-size: 22px;
  color: #333333;
  margin: 0 0 12px 0;
}

.empty-state p {
  font-size: 16px;
  color: #999999;
  margin: 0 0 32px 0;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.btn-empty-action {
  padding: 14px 32px;
  border-radius: 50px;
  font-family: 'Gilroy', sans-serif;
  font-weight: 600;
  font-size: 16px;
  border: 2px solid #6d5beb;
  background: transparent;
  color: #6d5beb;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-empty-action:hover {
  background: #6d5beb;
  color: white;
}

/* Карточка заказа */
.job-card {
  background: #F8F9FF;
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 16px;
  transition: all 0.3s;
}

.job-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.job-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.job-card-badge {
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
}

.job-card-badge.boosted {
  background: #CDFC3A;
  color: #333333;
}

.job-card-menu {
  position: relative;
}

.menu-btn {
  background: transparent;
  border: none;
  font-size: 24px;
  cursor: pointer;
  padding: 4px 12px;
  color: #999999;
}

.menu-btn:hover {
  color: #333333;
}

.job-menu {
  position: absolute;
  right: 0;
  top: 100%;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  display: none;
  min-width: 150px;
  z-index: 10;
}

.job-menu.active {
  display: block;
}

.job-menu button {
  width: 100%;
  padding: 12px 20px;
  background: transparent;
  border: none;
  text-align: left;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.3s;
}

.job-menu button:hover {
  background: #F5F5F5;
}

.job-menu button.danger {
  color: #E74C3C;
}

.job-card-title {
  font-family: 'Gilroy', sans-serif;
  font-weight: 600;
  font-size: 20px;
  color: #333333;
  margin: 0 0 16px 0;
}

.job-card-meta {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.job-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #666666;
}

.job-meta-item svg {
  color: #999999;
}

.job-card-stats {
  display: flex;
  gap: 32px;
  padding: 16px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  margin-bottom: 20px;
}

.job-card-stats .stat {
  display: flex;
  flex-direction: column;
}

.stat-value {
  font-family: 'Gilroy', sans-serif;
  font-weight: 700;
  font-size: 24px;
  color: #333333;
}

.stat-label {
  font-size: 13px;
  color: #999999;
}

.btn-view-proposals {
  width: 100%;
  padding: 12px 24px;
  border-radius: 50px;
  font-family: 'Gilroy', sans-serif;
  font-weight: 600;
  font-size: 15px;
  border: 2px solid #6d5beb;
  background: transparent;
  color: #6d5beb;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-view-proposals:hover {
  background: #6d5beb;
  color: white;
}

/* Header профиль */
.btn-profile {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 16px;
  background: transparent;
  border: 2px solid #333333;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s;
}

.light-page .header.scrolled .btn-profile {
  border-color: white;
  color: white;
}

.header-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

.btn-profile span {
  font-weight: 600;
  font-size: 14px;
}

/* Адаптивность */
@media (max-width: 1200px) {
  .dashboard-layout {
    grid-template-columns: 1fr;
  }

  .dashboard-sidebar {
    position: static;
  }
}

@media (max-width: 768px) {
  .dashboard-section {
    padding: 80px 0 60px;
  }

  .container-full {
    padding: 0 20px;
  }

  .dashboard-main {
    padding: 24px;
  }

  .dashboard-header {
    flex-direction: column;
    gap: 20px;
  }

  .btn-create-job {
    width: 100%;
    justify-content: center;
  }

  .job-card-meta {
    flex-direction: column;
    gap: 12px;
  }
}

/* ========================================
   МОДАЛКА СОЗДАНИЯ ЗАКАЗА
   ======================================== */

.create-job-modal {
  max-width: 650px;
  max-height: 90vh;
  overflow-y: auto;
}

.create-job-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Текстареа */
.form-textarea {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid #E0E0E0;
  border-radius: 12px;
  font-family: 'Gilroy', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  resize: vertical;
  min-height: 150px;
  transition: all 0.3s;
}

.form-textarea:focus {
  outline: none;
  border-color: #6d5beb;
  box-shadow: 0 0 0 3px rgba(109, 91, 235, 0.1);
}

.char-counter {
  text-align: right;
  font-size: 13px;
  color: #999999;
  margin-top: 6px;
}

/* Budget Input */
.budget-input-wrapper {
  position: relative;
}

.budget-prefix {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 600;
  font-size: 18px;
  color: #333333;
}

.budget-input {
  padding-left: 40px !important;
}

/* File Upload */
.file-upload-area {
  border: 2px dashed #E0E0E0;
  border-radius: 12px;
  padding: 32px;
  text-align: center;
  transition: all 0.3s;
}

.file-upload-area:hover {
  border-color: #6d5beb;
  background: #F8F9FF;
}

.btn-upload {
  padding: 12px 24px;
  border-radius: 50px;
  font-family: 'Gilroy', sans-serif;
  font-weight: 600;
  font-size: 15px;
  border: 2px solid #6d5beb;
  background: transparent;
  color: #6d5beb;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s;
  margin-bottom: 12px;
}

.btn-upload:hover {
  background: #6d5beb;
  color: white;
}

.upload-hint {
  font-size: 13px;
  color: #999999;
  margin: 0;
}

.uploaded-files {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.file-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: #F5F5F5;
  border-radius: 8px;
}

.file-info {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.file-icon {
  width: 32px;
  height: 32px;
  background: #6d5beb;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 12px;
  font-weight: 700;
}

.file-details {
  flex: 1;
}

.file-name {
  font-size: 14px;
  font-weight: 600;
  color: #333333;
  margin-bottom: 2px;
}

.file-size {
  font-size: 12px;
  color: #999999;
}

.file-remove {
  background: transparent;
  border: none;
  color: #E74C3C;
  cursor: pointer;
  padding: 6px;
  font-size: 18px;
}

.file-remove:hover {
  opacity: 0.7;
}

/* Input Hint */
.input-hint {
  font-size: 13px;
  color: #999999;
  margin: 6px 0 0 0;
}

/* Form Divider */
.form-divider {
  height: 1px;
  background: #E0E0E0;
  margin: 8px 0;
}

/* Post Type Selection */
.post-type-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.post-type-card {
  cursor: pointer;
  display: block;
}

.post-type-card input[type="radio"] {
  display: none;
}

.post-type-content {
  background: white;
  border: 2px solid #E0E0E0;
  border-radius: 12px;
  padding: 20px;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 16px;
}

.post-type-card:hover .post-type-content {
  border-color: #6d5beb;
  box-shadow: 0 4px 12px rgba(109, 91, 235, 0.1);
}

.post-type-card input[type="radio"]:checked + .post-type-content {
  border-color: #6d5beb;
  background: #F8F9FF;
}

.post-type-name {
  font-family: 'Gilroy', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: #333333;
  display: flex;
  align-items: center;
  gap: 8px;
}

.boost-badge {
  font-size: 16px;
}

.post-type-description {
  font-size: 14px;
  color: #666666;
}

.post-type-price {
  font-family: 'Gilroy', sans-serif;
  font-weight: 700;
  font-size: 28px;
  color: #6d5beb;
  min-width: 60px;
  text-align: right;
}

.post-type-features {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: #666666;
  margin-top: 8px;
}

.post-type-radio {
  width: 24px;
  height: 24px;
  min-width: 24px;
  border: 2px solid #E0E0E0;
  border-radius: 50%;
  transition: all 0.3s;
  position: relative;
}

.post-type-card input[type="radio"]:checked + .post-type-content .post-type-radio {
  border-color: #6d5beb;
  background: #6d5beb;
}

.post-type-card input[type="radio"]:checked + .post-type-content .post-type-radio::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  background: white;
  border-radius: 50%;
}

.post-type-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* Total Price Bar */
.total-price-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  background: #F8F9FF;
  border-radius: 12px;
  font-family: 'Gilroy', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: #333333;
}

.total-amount {
  font-size: 28px;
  color: #6d5beb;
}

/* Form Actions */
.form-actions {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 12px;
}

/* Если только одна кнопка */
.form-actions .full-width {
  grid-column: 1 / -1;
}

.btn-secondary {
  padding: 16px 32px;
  border-radius: 50px;
  font-family: 'Gilroy', sans-serif;
  font-weight: 600;
  font-size: 16px;
  border: 2px solid #E0E0E0;
  background: white;
  color: #333333;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-secondary:hover {
  border-color: #6d5beb;
  color: #6d5beb;
}

.btn-primary {
  padding: 16px 32px;
  border-radius: 50px;
  font-family: 'Gilroy', sans-serif;
  font-weight: 600;
  font-size: 16px;
  border: none;
  background: #6d5beb;
  color: white;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-primary:hover {
  background: #5B21B6;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(109, 91, 235, 0.3);
}

/* Адаптивность */
@media (max-width: 640px) {
  .create-job-modal {
    max-width: 95%;
    padding: 32px 20px;
  }

  .form-actions {
    grid-template-columns: 1fr;
  }

  .post-type-features {
    flex-direction: column;
    gap: 8px;
  }
}

/* ========================================
   МОДАЛКА ОПЛАТЫ
   ======================================== */

.payment-modal {
  max-width: 500px;
}

/* Детали заказа */
.order-summary {
  background: #F8F9FF;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 32px;
}

.order-detail {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.order-detail:last-of-type {
  margin-bottom: 0;
}

.order-label {
  font-family: 'Gilroy', sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: #666666;
}

.order-value {
  font-family: 'Gilroy', sans-serif;
  font-weight: 500;
  font-size: 15px;
  color: #333333;
  text-align: right;
  max-width: 60%;
}

.order-divider {
  height: 1px;
  background: rgba(0, 0, 0, 0.1);
  margin: 20px 0;
}

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

.order-total .order-label {
  font-size: 18px;
  color: #333333;
}

.order-total-amount {
  font-family: 'Gilroy', sans-serif;
  font-weight: 700;
  font-size: 32px;
  color: #6d5beb;
}

/* Кнопки оплаты */
.payment-methods {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.btn-payment {
  width: 100%;
  padding: 18px 24px;
  border-radius: 12px;
  font-family: 'Gilroy', sans-serif;
  font-weight: 600;
  font-size: 16px;
  border: 2px solid #E0E0E0;
  background: white;
  color: #333333;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: all 0.3s;
}

.btn-payment:hover {
  border-color: #6d5beb;
  background: #F8F9FF;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(109, 91, 235, 0.15);
}

.btn-payment.stripe:hover {
  border-color: #635BFF;
  background: #F6F5FF;
}

.btn-payment.kaspi:hover {
  border-color: #F14635;
  background: #FFF5F5;
}

.btn-payment svg {
  color: #666666;
}

.btn-payment.stripe:hover svg {
  color: #635BFF;
}

.btn-payment.kaspi:hover svg {
  color: #F14635;
}

.payment-note {
  text-align: center;
  font-size: 14px;
  color: #666666;
  margin: 0;
  padding: 16px;
  background: #FFF9E6;
  border-radius: 8px;
}

/* ========================================
   МОДАЛКА УСПЕХА
   ======================================== */

.success-modal {
  max-width: 450px;
  text-align: center;
}

.success-icon {
  margin: 0 auto 24px;
  animation: scaleIn 0.5s ease-out;
}

@keyframes scaleIn {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.success-title {
  font-family: 'Gilroy', sans-serif;
  font-weight: 700;
  font-size: 28px;
  color: #333333;
  margin: 0 0 16px 0;
}

.success-message {
  font-size: 16px;
  line-height: 1.6;
  color: #666666;
  margin: 0 0 32px 0;
}

.success-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Адаптивность */
@media (max-width: 640px) {
  .payment-modal,
  .success-modal {
    max-width: 95%;
    padding: 32px 20px;
  }

  .order-value {
    max-width: 50%;
  }
}

/* ========================================
   СТРАНИЦА JOBS (КАТАЛОГ ЗАКАЗОВ)
   ======================================== */

.jobs-page {
  padding: 140px 0 80px;
  background: #F8F8F8;
  min-height: 100vh;
}

/* Заголовок и фильтры */
.jobs-page-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 60px;
  gap: 40px;
}

.jobs-page-title {
  font-family: 'Gilroy', sans-serif;
  font-weight: 700;
  font-size: 48px;
  color: #333333;
  margin: 0 0 12px 0;
}

.jobs-page-subtitle {
  font-size: 18px;
  color: #666666;
  margin: 0;
}

/* Фильтр */
.jobs-filter {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 250px;
}

.jobs-filter label {
  font-family: 'Gilroy', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: #666666;
}

.filter-select {
  padding: 12px 16px;
  border: 2px solid #E0E0E0;
  border-radius: 12px;
  font-family: 'Gilroy', sans-serif;
  font-size: 15px;
  background: white;
  cursor: pointer;
  transition: all 0.3s;
}

.filter-select:focus {
  outline: none;
  border-color: #6d5beb;
}

/* Секция заказов */
.jobs-section {
  margin-bottom: 60px;
}

.jobs-section-title {
  font-family: 'Gilroy', sans-serif;
  font-weight: 700;
  font-size: 28px;
  color: #333333;
  margin: 0 0 24px 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.fire-icon {
  width: 32px;
  height: 32px;
  display: inline-block;
  vertical-align: middle;
  animation: pulse 2s ease-in-out infinite;
}

.badge-icon {
  width: 16px;
  height: 16px;
  display: inline-block;
  vertical-align: middle;
  margin-right: 4px;
}

/* Сетка карточек */
.jobs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

/* Карточка заказа */
.job-card-item {
  background: white;
  border-radius: 16px;
  padding: 24px;
  transition: all 0.3s;
  cursor: pointer;
  border: 2px solid transparent;
}

.job-card-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  border-color: #6d5beb;
}

.job-card-item.boosted {
  background: linear-gradient(135deg, #FFF9E6 0%, #FFFEF5 100%);
  border-color: #CDFC3A;
}

.job-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.job-card-badge {
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  background: #CDFC3A;
  color: #333333;
}

.job-card-category {
  font-size: 13px;
  color: #999999;
  font-weight: 600;
}

.job-card-title {
  font-family: 'Gilroy', sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.3;
  color: #333333;
  margin: 0 0 16px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.job-card-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.job-info-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  color: #666666;
}

.job-info-item svg {
  color: #999999;
  min-width: 18px;
}

.job-info-item strong {
  color: #333333;
  font-weight: 600;
}

.btn-view-details {
  width: 100%;
  padding: 12px 24px;
  border-radius: 50px;
  font-family: 'Gilroy', sans-serif;
  font-weight: 600;
  font-size: 15px;
  border: 2px solid #6d5beb;
  background: transparent;
  color: #6d5beb;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-view-details:hover {
  background: #6d5beb;
  color: white;
  transform: translateY(-2px);
}

/* Пустое состояние */
.empty-jobs-state {
  text-align: center;
  padding: 100px 40px;
}

.empty-jobs-state svg {
  margin-bottom: 24px;
}

.empty-jobs-state h3 {
  font-family: 'Gilroy', sans-serif;
  font-weight: 600;
  font-size: 24px;
  color: #333333;
  margin: 0 0 12px 0;
}

.empty-jobs-state p {
  font-size: 16px;
  color: #999999;
  margin: 0;
}

/* ========================================
   МОДАЛКА ДЕТАЛЕЙ ЗАКАЗА
   ======================================== */

.job-detail-modal {
  max-width: 650px;
  max-height: 90vh;
  overflow-y: auto;
}

.job-detail-title {
  font-family: 'Gilroy', sans-serif;
  font-weight: 700;
  font-size: 28px;
  line-height: 1.3;
  color: #333333;
  margin: 0 0 24px 0;
}

.job-detail-meta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  background: #F8F9FF;
  border-radius: 12px;
  margin-bottom: 24px;
}

.job-detail-meta-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: #666666;
}

.job-detail-meta-item svg {
  color: #6d5beb;
  min-width: 20px;
}

.job-detail-section {
  margin-bottom: 32px;
}

.job-detail-section h3 {
  font-family: 'Gilroy', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: #333333;
  margin: 0 0 12px 0;
}

.job-description-text {
  font-size: 15px;
  line-height: 1.7;
  color: #666666;
  white-space: pre-wrap;
  margin: 0;
}

/* Файлы */
.job-files-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.job-file-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #F5F5F5;
  border-radius: 8px;
  transition: all 0.3s;
}

.job-file-item:hover {
  background: #E8E8E8;
}

.job-file-icon {
  width: 32px;
  height: 32px;
  background: #6d5beb;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 11px;
  font-weight: 700;
}

.job-file-name {
  flex: 1;
  font-size: 14px;
  font-weight: 600;
  color: #333333;
}

/* Контакт */
.job-contact-section {
  padding: 24px;
  background: #F8F9FF;
  border-radius: 12px;
  text-align: center;
}

.contact-hidden {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.contact-hidden svg {
  margin-bottom: 8px;
}

.contact-hidden p {
  margin: 0;
  font-size: 15px;
  color: #666666;
}

.contact-hint {
  font-size: 13px !important;
  color: #999999 !important;
}

.contact-revealed {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.contact-success h3 {
  font-size: 22px;
  color: #4CAF50;
  margin: 0;
}

.contact-info {
  text-align: left;
}

.contact-info p {
  margin: 0 0 12px 0;
  font-weight: 600;
  color: #333333;
}

.telegram-contact {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: white;
  border-radius: 8px;
  margin-bottom: 16px;
  font-size: 18px;
  font-weight: 600;
  color: #0088cc;
}

.btn-open-telegram {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: 'Gilroy', sans-serif;
  font-weight: 600;
  font-size: 16px;
  background: #0088cc;
  color: white;
  text-decoration: none;
  transition: all 0.3s;
  text-align: center;
}

.btn-open-telegram:hover {
  background: #0077b3;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 136, 204, 0.3);
}

/* Кнопка Apply */
.btn-apply-job {
  width: 100%;
  padding: 16px 32px;
  border-radius: 50px;
  font-family: 'Gilroy', sans-serif;
  font-weight: 600;
  font-size: 18px;
  border: none;
  background: #6d5beb;
  color: white;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-apply-job:hover {
  background: #5B21B6;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(109, 91, 235, 0.3);
}

.btn-apply-job:disabled {
  background: #E0E0E0;
  color: #999999;
  cursor: not-allowed;
  transform: none;
}

/* Адаптивность */
@media (max-width: 1024px) {
  .jobs-page-header {
    flex-direction: column;
    gap: 24px;
  }

  .jobs-filter {
    width: 100%;
  }

  .jobs-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .jobs-page {
    padding: 100px 0 60px;
  }

  .jobs-page-title {
    font-size: 36px;
  }

  .jobs-grid {
    grid-template-columns: 1fr;
  }

  .job-detail-modal {
    max-width: 95%;
    padding: 32px 20px;
  }

  .job-detail-meta {
    padding: 16px;
  }
}

/* ========================================
   DASHBOARD FREELANCER
   ======================================== */

/* Категории навыков */
.skills-selector {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  background: #F8F9FF;
  border-radius: 12px;
  max-height: 240px;
  overflow-y: auto;
}

.skill-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 8px;
  transition: all 0.3s;
}

.skill-checkbox:hover {
  background: rgba(109, 91, 235, 0.05);
}

.skill-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: #6d5beb;
}

.skill-checkbox span {
  font-size: 14px;
  color: #333333;
  font-weight: 500;
}

/* Кнопка Browse Jobs */
.btn-browse-jobs-dashboard {
  padding: 14px 32px;
  border-radius: 50px;
  font-family: 'Gilroy', sans-serif;
  font-weight: 600;
  font-size: 16px;
  border: none;
  background: #6d5beb;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s;
}

.btn-browse-jobs-dashboard:hover {
  background: #5B21B6;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(109, 91, 235, 0.3);
}

/* Список откликов */
.applications-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Карточка отклика */
.application-card {
  background: #F8F9FF;
  border-radius: 16px;
  padding: 24px;
  transition: all 0.3s;
  border: 2px solid transparent;
}

.application-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border-color: #6d5beb;
}

.application-card.completed {
  background: #F5F5F5;
  opacity: 0.8;
}

.application-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.application-status-badge {
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.application-status-badge.active {
  background: #CDFC3A;
  color: #333333;
}

.application-status-badge.completed {
  background: #E0E0E0;
  color: #666666;
}

.application-card-title {
  font-family: 'Gilroy', sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.3;
  color: #333333;
  margin: 0 0 16px 0;
}

.application-card-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 20px;
  padding: 16px;
  background: white;
  border-radius: 12px;
}

.app-info-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.app-info-label {
  font-size: 12px;
  color: #999999;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.app-info-value {
  font-size: 15px;
  color: #333333;
  font-weight: 600;
}

.app-info-value.telegram {
  color: #0088cc;
  display: flex;
  align-items: center;
  gap: 6px;
}

.application-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.btn-app-action {
  padding: 12px 24px;
  border-radius: 50px;
  font-family: 'Gilroy', sans-serif;
  font-weight: 600;
  font-size: 15px;
  border: 2px solid #6d5beb;
  background: transparent;
  color: #6d5beb;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-app-action:hover {
  background: #6d5beb;
  color: white;
}

.btn-app-action.telegram {
  border-color: #0088cc;
  color: #0088cc;
}

.btn-app-action.telegram:hover {
  background: #0088cc;
  color: white;
}

/* Пустое состояние */
.empty-applications-state {
  text-align: center;
  padding: 80px 40px;
}

.empty-applications-state svg {
  margin-bottom: 24px;
  opacity: 0.3;
}

.empty-applications-state h3 {
  font-family: 'Gilroy', sans-serif;
  font-weight: 600;
  font-size: 22px;
  color: #333333;
  margin: 0 0 12px 0;
}

.empty-applications-state p {
  font-size: 16px;
  color: #999999;
  margin: 0 0 32px 0;
}

/* Адаптивность */
@media (max-width: 768px) {
  .application-card-info {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .application-card-actions {
    grid-template-columns: 1fr;
  }

  .btn-browse-jobs-dashboard {
    width: 100%;
    justify-content: center;
  }
}

/* ========================================
   PROFILE DROPDOWN В HEADER
   ======================================== */

.profile-dropdown {
  position: relative;
}

.btn-profile {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 16px;
  background: transparent;
  border: 2px solid #333333;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-profile:hover {
  background: rgba(255, 255, 255, 0.1);
}

.light-page .header.scrolled .btn-profile {
  border-color: white;
  color: white;
}

.btn-profile svg {
  transition: transform 0.3s;
}

.profile-dropdown.active .btn-profile svg {
  transform: rotate(180deg);
}

/* Dropdown Menu */
.profile-dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  background: white;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  min-width: 200px;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s;
  z-index: 1000;
}

.profile-dropdown.active .profile-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  color: #333333;
  text-decoration: none;
  font-family: 'Gilroy', sans-serif;
  font-size: 15px;
  font-weight: 500;
  transition: all 0.2s;
}

.dropdown-item:hover {
  background: #F5F5F5;
}

.dropdown-item svg {
  color: #666666;
}

.dropdown-item.logout {
  color: #E74C3C;
}

.dropdown-item.logout svg {
  color: #E74C3C;
}

.dropdown-item.logout:hover {
  background: #FFF5F5;
}

.dropdown-divider {
  height: 1px;
  background: #E0E0E0;
  margin: 8px 0;
}