/* 96    . */

/* ===   === */
:root {
  --primary-color: #667eea;
  --secondary-color: #764ba2;
  --success-color: #28a745;
  --danger-color: #dc3545;
  --warning-color: #ffc107;
  --info-color: #17a2b8;
  --light-color: #f8f9fa;
  --dark-color: #343a40;
  --border-radius: 8px;
  --box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

* {
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--dark-color);
  background-color: #f5f7fa;
}

/* ===  === */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  margin-bottom: 1rem;
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===  === */
.btn {
  border-radius: var(--border-radius);
  font-weight: 500;
  transition: var(--transition);
  border: none;
  padding: 0.5rem 1.5rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border: none;
  color: white;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #5a6fd8, #6a4190);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn-outline-primary {
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  background: transparent;
}

.btn-outline-primary:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
}

.btn-success {
  background: linear-gradient(135deg, #28a745, #20c997);
}

.btn-success:hover {
  background: linear-gradient(135deg, #218838, #1ea085);
  transform: translateY(-2px);
}

/* ===  === */
.card {
  border: none;
  border-radius: 15px;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  overflow: hidden;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.card-header {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  border: none;
  padding: 1.5rem;
}

/* ===  === */
.form-control {
  border: 2px solid #e9ecef;
  border-radius: var(--border-radius);
  padding: 0.75rem 1rem;
  transition: var(--transition);
  font-size: 1rem;
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

.form-select {
  border: 2px solid #e9ecef;
  border-radius: var(--border-radius);
  padding: 0.75rem 1rem;
  transition: var(--transition);
}

.form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

/* ===  === */
.alert {
  border: none;
  border-radius: var(--border-radius);
  padding: 1rem 1.5rem;
  margin-bottom: 1.5rem;
}

.alert-success {
  background: linear-gradient(135deg, #d4edda, #c3e6cb);
  color: #155724;
  border-left: 4px solid var(--success-color);
}

.alert-danger {
  background: linear-gradient(135deg, #f8d7da, #f5c6cb);
  color: #721c24;
  border-left: 4px solid var(--danger-color);
}

.alert-info {
  background: linear-gradient(135deg, #d1ecf1, #bee5eb);
  color: #0c5460;
  border-left: 4px solid var(--info-color);
}

.alert-warning {
  background: linear-gradient(135deg, #fff3cd, #ffeaa7);
  color: #856404;
  border-left: 4px solid var(--warning-color);
}

/* ===  === */
.badge {
  border-radius: 20px;
  padding: 0.5rem 1rem;
  font-weight: 500;
  font-size: 0.875rem;
}

.badge-gradient {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
}

/* ===  === */
.navbar {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  padding: 1rem 0;
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.5rem;
}

.nav-link {
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.nav-link:hover {
  color: var(--primary-color) !important;
}

/* ===   === */
.user-card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  border: 1px solid #f0f0f0;
}

.user-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.user-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid white;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.user-rating {
  color: #ffc107;
  font-size: 1.1rem;
}

/* ===  === */
.stats-card {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  transition: var(--transition);
}

.stats-card:hover {
  transform: translateY(-5px);
}

.stats-number {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.stats-label {
  font-size: 1rem;
  opacity: 0.9;
}

/* ===  === */
.order-card {
  background: white;
  border-radius: 15px;
  padding: 1.5rem;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  border-left: 4px solid var(--primary-color);
}

.order-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.order-status {
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 500;
}

.order-status.new {
  background: #e3f2fd;
  color: #1976d2;
}

.order-status.in-progress {
  background: #fff3e0;
  color: #f57c00;
}

.order-status.completed {
  background: #e8f5e8;
  color: #388e3c;
}

.order-status.cancelled {
  background: #ffebee;
  color: #d32f2f;
}

/* ===  === */
.portfolio-item {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.portfolio-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.portfolio-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.portfolio-content {
  padding: 1.5rem;
}

/* ===  === */
.message-card {
  background: white;
  border-radius: 15px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.message-card.unread {
  border-left: 4px solid var(--primary-color);
  background: linear-gradient(135deg, #f8f9ff, #ffffff);
}

.message-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

/* ===  === */
.notification-item {
  background: white;
  border-radius: 10px;
  padding: 1rem;
  margin-bottom: 0.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  border-left: 3px solid transparent;
}

.notification-item:hover {
  transform: translateX(5px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.notification-item.unread {
  border-left-color: var(--primary-color);
  background: linear-gradient(135deg, #f8f9ff, #ffffff);
}

/* ===  === */
.search-form {
  background: white;
  border-radius: 50px;
  padding: 0.5rem;
  box-shadow: var(--box-shadow);
  border: 2px solid #f0f0f0;
  transition: var(--transition);
}

.search-form:focus-within {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

.search-input {
  border: none;
  outline: none;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  width: 100%;
  background: transparent;
}

.search-btn {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border: none;
  border-radius: 50px;
  padding: 0.75rem 2rem;
  color: white;
  font-weight: 500;
  transition: var(--transition);
}

.search-btn:hover {
  transform: scale(1.05);
}

/* ===  === */
.filter-card {
  background: white;
  border-radius: 15px;
  padding: 1.5rem;
  box-shadow: var(--box-shadow);
  margin-bottom: 2rem;
}

.filter-title {
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--dark-color);
}

/* ===  === */
.pagination {
  justify-content: center;
  margin-top: 2rem;
}

.page-link {
  border: none;
  padding: 0.75rem 1rem;
  margin: 0 0.25rem;
  border-radius: var(--border-radius);
  color: var(--primary-color);
  transition: var(--transition);
}

.page-link:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
}

.page-item.active .page-link {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border: none;
}

/* ===   === */
.modal-content {
  border: none;
  border-radius: 15px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.modal-header {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  border: none;
  border-radius: 15px 15px 0 0;
}

/* ===  === */
.spinner-custom {
  width: 40px;
  height: 40px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* ===  === */
.fade-in {
  animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.slide-up {
  animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

/* ===  === */
.text-shadow {
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.bg-gradient {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.border-gradient {
  border: 2px solid;
  border-image: linear-gradient(135deg, var(--primary-color), var(--secondary-color)) 1;
}

/* ===  === */
@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }

  .card {
    margin-bottom: 1rem;
  }

  .user-card {
    padding: 1.5rem;
  }

  .stats-number {
    font-size: 2rem;
  }

  .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 576px) {
  .stats-card {
    padding: 1.5rem;
  }

  .stats-number {
    font-size: 1.8rem;
  }

  .order-card,
  .portfolio-item,
  .message-card {
    margin-bottom: 1rem;
  }

  .search-form {
    border-radius: 15px;
  }

  .search-btn {
    border-radius: 15px;
    padding: 0.75rem 1.5rem;
  }
}

/* ===   === */
@media (prefers-color-scheme: dark) {
  :root {
    --dark-color: #f8f9fa;
    --light-color: #343a40;
  }

  body {
    background-color: #1a1a1a;
    color: var(--dark-color);
  }

  .card,
  .user-card,
  .order-card,
  .portfolio-item,
  .message-card,
  .notification-item,
  .filter-card {
    background: #2d2d2d;
    color: var(--dark-color);
  }

  .form-control,
  .form-select {
    background: #2d2d2d;
    border-color: #404040;
    color: var(--dark-color);
  }

  .form-control:focus,
  .form-select:focus {
    background: #2d2d2d;
    border-color: var(--primary-color);
  }
}

/* ===  === */
@media print {
  .navbar,
  .btn,
  .pagination,
  .modal {
    display: none !important;
  }

  .card {
    box-shadow: none;
    border: 1px solid #ddd;
  }

  body {
    background: white;
    color: black;
  }
}

/* === ИСПРАВЛЕНИЯ ДЛЯ КНОПОК === */

/* Кнопки на темном фоне - белые обводки */
.hero-animated .btn-outline-light,
.bg-primary .btn-outline-light,
.bg-dark .btn-outline-light {
  border: 2px solid rgba(255, 255, 255, 0.8);
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.hero-animated .btn-outline-light:hover,
.bg-primary .btn-outline-light:hover,
.bg-dark .btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: white;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

/* Кнопки на светлом фоне - цветные обводки */
.bg-light .btn-outline-primary,
.card .btn-outline-primary,
table .btn-outline-primary {
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  background: transparent;
}

.bg-light .btn-outline-primary:hover,
.card .btn-outline-primary:hover,
table .btn-outline-primary:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

/* Светящиеся кнопки на темном фоне */
.hero-animated .btn-glow,
.bg-primary .btn-glow,
.bg-dark .btn-glow {
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.hero-animated .btn-glow:hover,
.bg-primary .btn-glow:hover,
.bg-dark .btn-glow:hover {
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.6);
  transform: translateY(-3px) scale(1.05);
}

/* Исправление для hero-section */
.hero-animated {
  background: linear-gradient(-45deg, #667eea, #764ba2, #f093fb, #f5576c);
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
  position: relative;
  overflow: hidden;
  padding: 100px 0;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Плавающие частицы для hero */
.hero-animated::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 2px, transparent 2px),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 2px, transparent 2px),
    radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 100px 100px, 150px 150px, 80px 80px;
  animation: float 20s linear infinite;
}

@keyframes float {
  0% {
    transform: translateY(0px) rotate(0deg);
  }
  100% {
    transform: translateY(-100px) rotate(360deg);
  }
}

/* Стили для админ-панели */
.admin-dashboard {
    background: #f8f9fa;
    min-height: 100vh;
}

.stats-card {
    transition: all 0.3s ease;
    border: none;
    border-radius: 15px;
    overflow: hidden;
}

.stats-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.stats-card .card-body {
    position: relative;
    overflow: hidden;
}

.stats-card .card-body::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    transform: translate(30px, -30px);
}

.quick-action-btn {
    transition: all 0.3s ease;
    border-radius: 15px;
    border: 2px solid transparent;
    text-decoration: none;
}

.quick-action-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    border-color: currentColor;
}

.activity-indicator {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #28a745;
    border-radius: 50%;
    margin-right: 5px;
    animation: pulse 2s infinite;
}

.activity-indicator.offline {
    background: #6c757d;
    animation: none;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

/* Улучшенные карточки */
.enhanced-card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.enhanced-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.enhanced-card .card-header {
    border-radius: 15px 15px 0 0;
    border: none;
    font-weight: 600;
}

/* Анимации загрузки */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Уведомления о блокировке */
.ban-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    max-width: 400px;
    background: #dc3545;
    color: white;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 10px 30px rgba(220, 53, 69, 0.3);
    animation: slideInRight 0.5s ease;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* ===================================================
   БЛОК МИССИИ — СамоЗанятые.РФ
=================================================== */

.mission-section {
    position: relative;
    padding: 90px 0 80px;
    background: linear-gradient(160deg, #0f0c29 0%, #1a1040 40%, #24243e 100%);
    overflow: hidden;
}

/* Декоративные орбы-свечения на фоне */
.mission-bg-decor {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.mission-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.35;
}

.mission-orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #667eea, transparent 70%);
    top: -120px;
    left: -100px;
    animation: missionOrbFloat 12s ease-in-out infinite alternate;
}

.mission-orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #f093fb, transparent 70%);
    bottom: -100px;
    right: -80px;
    animation: missionOrbFloat 16s ease-in-out infinite alternate-reverse;
}

.mission-orb-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, #f5576c, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.18;
    animation: missionOrbFloat 20s ease-in-out infinite alternate;
}

@keyframes missionOrbFloat {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, 20px) scale(1.08); }
}

/* Надпись-лейбл над заголовком */
.mission-eyebrow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-bottom: 36px;
}

.mission-eyebrow-line {
    display: block;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.8), transparent);
    border-radius: 2px;
}

.mission-eyebrow-text {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #a78bfa;
    background: linear-gradient(135deg, #a78bfa, #f093fb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Карточка-контейнер миссии */
.mission-card {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 28px;
    padding: 56px 64px 52px;
    text-align: center;
    backdrop-filter: blur(16px);
    box-shadow:
        0 0 0 1px rgba(102, 126, 234, 0.15),
        0 30px 80px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* Иконка-ракета в кольце */
.mission-icon-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 28px;
}

.mission-icon-ring {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #f093fb);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 12px rgba(102, 126, 234, 0.12), 0 8px 30px rgba(102, 126, 234, 0.4);
    animation: missionIconPulse 3s ease-in-out infinite;
}

@keyframes missionIconPulse {
    0%, 100% { box-shadow: 0 0 0 12px rgba(102, 126, 234, 0.12), 0 8px 30px rgba(102, 126, 234, 0.4); }
    50% { box-shadow: 0 0 0 20px rgba(102, 126, 234, 0.06), 0 8px 40px rgba(102, 126, 234, 0.6); }
}

.mission-icon-rocket {
    font-size: 2rem;
    color: #fff;
}

/* Заголовок */
.mission-headline {
    font-size: 2.3rem;
    font-weight: 800;
    line-height: 1.25;
    color: #ffffff;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

/* Первый абзац-лид */
.mission-lead {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 28px;
    line-height: 1.65;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

/* Разделитель из точек */
.mission-divider {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 28px;
}

.mission-divider-dot {
    display: block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #f093fb);
    opacity: 0.7;
}

/* Основной текст */
.mission-body {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.7;
    max-width: 680px;
    margin: 0 auto 32px;
}

/* Финальный слоган */
.mission-tagline {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.18), rgba(240, 147, 251, 0.12));
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 50px;
    padding: 14px 30px;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 52px;
    line-height: 1.5;
}

.mission-tagline em {
    font-style: normal;
    background: linear-gradient(135deg, #a78bfa, #f093fb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.mission-tagline-icon {
    color: #a78bfa;
    font-size: 1.15rem;
    flex-shrink: 0;
}

/* Столпы миссии */
.mission-pillars {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
    row-gap: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 40px;
}

.mission-pillar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 120px;
    max-width: 180px;
    padding: 0 16px;
    transition: transform 0.3s ease;
}

.mission-pillar:hover {
    transform: translateY(-4px);
}

.mission-pillar-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.25), rgba(240, 147, 251, 0.15));
    border: 1px solid rgba(102, 126, 234, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #a78bfa;
    transition: all 0.3s ease;
}

.mission-pillar:hover .mission-pillar-icon {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.5), rgba(240, 147, 251, 0.3));
    box-shadow: 0 6px 24px rgba(102, 126, 234, 0.35);
    color: #fff;
}

.mission-pillar-text {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.4;
    text-align: center;
    font-weight: 500;
}

.mission-pillar-sep {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.12), transparent);
    align-self: center;
}

/* Адаптив */
@media (max-width: 992px) {
    .mission-card {
        padding: 44px 40px 44px;
    }
    .mission-headline {
        font-size: 1.9rem;
    }
}

@media (max-width: 768px) {
    .mission-section {
        padding: 60px 0 60px;
    }
    .mission-card {
        padding: 36px 24px 36px;
    }
    .mission-headline {
        font-size: 1.5rem;
    }
    .mission-lead {
        font-size: 1rem;
    }
    .mission-tagline {
        flex-direction: column;
        text-align: center;
        border-radius: 18px;
        padding: 16px 20px;
        font-size: 0.95rem;
        margin-bottom: 36px;
    }
    .mission-pillar-sep {
        display: none;
    }
    .mission-pillars {
        gap: 20px;
    }
}

/* ===================================================
   БЛОК КОМПАНИЯМ — AI-АГЕНТЫ
=================================================== */

.companies-ai-section {
    position: relative;
    padding: 90px 0 80px;
    background: linear-gradient(175deg, #0a0a1a 0%, #0f0c29 50%, #1a1040 100%);
    overflow: hidden;
}

/* Сетка на фоне */
.companies-ai-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(102,126,234,0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(102,126,234,0.07) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
}

/* Орбы-свечения */
.companies-ai-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.companies-ai-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.3;
}

.companies-ai-orb-1 {
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, #4facfe, transparent 70%);
    top: -150px;
    right: -120px;
    animation: missionOrbFloat 14s ease-in-out infinite alternate;
}

.companies-ai-orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #43e97b, transparent 70%);
    bottom: -100px;
    left: -80px;
    opacity: 0.2;
    animation: missionOrbFloat 18s ease-in-out infinite alternate-reverse;
}

/* Заголовок секции */
.companies-ai-headline {
    font-size: 2.4rem;
    font-weight: 900;
    line-height: 1.2;
    color: #ffffff;
    letter-spacing: -0.03em;
    margin-bottom: 18px;
}

.companies-ai-accent {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 50%, #43e97b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.companies-ai-subhead {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.65;
    max-width: 600px;
    margin: 0 auto;
}

/* Статистика */
.companies-ai-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
    row-gap: 24px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(79, 172, 254, 0.2);
    border-radius: 20px;
    padding: 32px 40px;
    margin-bottom: 48px;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 0 1px rgba(79,172,254,0.08), 0 20px 60px rgba(0,0,0,0.3);
}

.companies-ai-stat {
    flex: 1;
    min-width: 100px;
    text-align: center;
    padding: 0 24px;
}

.companies-ai-stat-val {
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 6px;
}

.companies-ai-stat-label {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.45);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
}

.companies-ai-stat-sep {
    width: 1px;
    height: 44px;
    background: linear-gradient(to bottom, transparent, rgba(79,172,254,0.25), transparent);
    align-self: center;
    flex-shrink: 0;
}

/* Карточки фич */
.companies-ai-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 28px 24px 26px;
    height: 100%;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(8px);
}

.companies-ai-card:hover {
    transform: translateY(-6px);
    border-color: rgba(79, 172, 254, 0.3);
    box-shadow: 0 16px 48px rgba(79, 172, 254, 0.15);
}

.companies-ai-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 18px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.companies-ai-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.companies-ai-card-desc {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
    margin: 0;
}

/* CTA кнопка */
.companies-ai-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: #0a0a1a;
    font-weight: 800;
    font-size: 1.05rem;
    padding: 16px 40px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 8px 32px rgba(79, 172, 254, 0.4);
    transition: all 0.3s ease;
    letter-spacing: -0.01em;
}

.companies-ai-cta-btn:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 14px 48px rgba(79, 172, 254, 0.55);
    color: #0a0a1a;
    text-decoration: none;
}

.companies-ai-cta-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 16px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
}

.companies-ai-cta-note i {
    color: #43e97b;
}

/* Адаптив */
@media (max-width: 992px) {
    .companies-ai-headline {
        font-size: 2rem;
    }
    .companies-ai-stats {
        padding: 24px 20px;
    }
}

@media (max-width: 768px) {
    .companies-ai-section {
        padding: 60px 0 60px;
    }
    .companies-ai-headline {
        font-size: 1.6rem;
    }
    .companies-ai-stat-sep {
        display: none;
    }
    .companies-ai-stat {
        min-width: 45%;
        padding: 0 10px;
    }
    .companies-ai-cta-btn {
        font-size: 0.95rem;
        padding: 14px 28px;
    }
    .companies-ai-cta-note {
        gap: 12px;
    }
}

/* Responsive улучшения */
@media (max-width: 768px) {
    .stats-card {
        margin-bottom: 1rem;
    }
    
    .quick-action-btn {
        margin-bottom: 1rem;
    }
    
    .btn-lg {
        font-size: 0.9rem;
    }
}
