:root {
  /* Яркая цветовая палитра - Брутализм + Биоморфизм */
  --primary-color: #FF6B35;
  --secondary-color: #F7931E;
  --accent-color: #FFE66D;
  --success-color: #4ECDC4;
  --info-color: #45B7D1;
  --warning-color: #FFA726;
  --danger-color: #EF5350;
  
  /* Дополнительные яркие цвета */
  --bright-purple: #9C27B0;
  --neon-green: #76FF03;
  --electric-blue: #2196F3;
  --hot-pink: #E91E63;
  --lime-green: #CDDC39;
  
  /* Темные варианты */
  --primary-dark: #E55A2B;
  --secondary-dark: #DD8419;
  --accent-dark: #E6CF5C;
  
  /* Нейтральные цвета */
  --dark-color: #212529;
  --light-color: #F8F9FA;
  --white-color: #FFFFFF;
  --gray-100: #F8F9FA;
  --gray-200: #E9ECEF;
  --gray-300: #DEE2E6;
  --gray-400: #CED4DA;
  --gray-500: #ADB5BD;
  --gray-600: #6C757D;
  --gray-700: #495057;
  --gray-800: #343A40;
  --gray-900: #212529;
  
  /* Градиенты */
  --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  --gradient-accent: linear-gradient(135deg, var(--accent-color), var(--warning-color));
  --gradient-rainbow: linear-gradient(135deg, var(--primary-color), var(--bright-purple), var(--electric-blue), var(--success-color));
  --gradient-overlay: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5));
  
  /* Биоморфные тени */
  --shadow-organic: 0 15px 35px rgba(255, 107, 53, 0.3);
  --shadow-brutal: 8px 8px 0 var(--dark-color);
  --shadow-soft: 0 10px 30px rgba(0,0,0,0.1);
  
  /* Типография */
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Work Sans', sans-serif;
  
  /* Размеры и отступы */
  --border-radius: 25px;
  --border-radius-small: 15px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --section-padding: 4rem 0;
  --container-padding: 1.5rem;
}

/* Базовые стили */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  color: var(--dark-color);
  background-color: var(--white-color);
  overflow-x: hidden;
}

/* Типография */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--dark-color);
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.75rem; }
h3 { font-size: 2.25rem; }
h4 { font-size: 1.75rem; }
h5 { font-size: 1.5rem; }
h6 { font-size: 1.25rem; }

p {
  margin-bottom: 1.5rem;
  color: var(--gray-700);
}

.lead {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--gray-600);
}

/* Кнопки - ГЛОБАЛЬНЫЕ стили */
.btn {
  font-family: var(--font-heading);
  font-weight: 600;
  padding: 1rem 2.5rem;
  border-radius: var(--border-radius);
  border: 3px solid transparent;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  display: inline-block;
  text-align: center;
  box-shadow: var(--shadow-brutal);
  transform: translateY(0);
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.6s;
}

.btn:hover::before {
  left: 100%;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.btn:active {
  transform: translateY(0);
  box-shadow: var(--shadow-brutal);
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--white-color);
  border-color: var(--primary-color);
}

.btn-primary:hover {
  background: var(--primary-dark);
  color: var(--white-color);
}

.btn-secondary {
  background: var(--gradient-accent);
  color: var(--dark-color);
  border-color: var(--accent-color);
}

.btn-outline-primary {
  background: transparent;
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-outline-primary:hover {
  background: var(--primary-color);
  color: var(--white-color);
}

.btn-outline-light {
  background: transparent;
  color: var(--white-color);
  border-color: var(--white-color);
}

.btn-outline-light:hover {
  background: var(--white-color);
  color: var(--dark-color);
}

.interactive-btn {
  position: relative;
  z-index: 1;
}

/* Навигация */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  box-shadow: 0 4px 30px rgba(0,0,0,0.1);
  padding: 1rem 0;
  transition: var(--transition);
}

.navbar-brand img {
  border-radius: var(--border-radius-small);
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 500;
  color: var(--dark-color);
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius-small);
  transition: var(--transition);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  width: 0;
  height: 3px;
  background: var(--gradient-primary);
  transform: translateX(-50%);
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--primary-color);
  background: rgba(255, 107, 53, 0.1);
}

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

/* Hero секция */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -2;
}

.hero-background::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-overlay);
  z-index: 1;
}

.particles-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

#particles-canvas {
  width: 100%;
  height: 100%;
}

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  background: var(--gradient-rainbow);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
  margin-bottom: 2rem;
  animation: heroTitleFloat 3s ease-in-out infinite;
}

.hero-subtitle {
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--white-color);
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
  margin-bottom: 3rem;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

@keyframes heroTitleFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

/* Секции */
section {
  padding: var(--section-padding);
  position: relative;
}

.section-title {
  font-size: 3rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 3rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 5px;
  background: var(--gradient-primary);
  border-radius: 50px;
}

/* Карточки */
.card {
  border: none;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
  background: var(--white-color);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.card:hover {
  transform: translateY(-10px) rotate(1deg);
  box-shadow: var(--shadow-organic);
}

.card-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-100);
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
  margin: 0 auto;
}

.card:hover .card-image img {
  transform: scale(1.1);
}

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

.card-title {
  color: var(--dark-color);
  font-weight: 700;
  margin-bottom: 1rem;
}

.card-text {
  color: var(--gray-600);
  flex-grow: 1;
}

/* Специальные карточки */
.service-card {
  background: linear-gradient(135deg, var(--white-color), var(--gray-100));
  border-left: 5px solid var(--primary-color);
}

.event-card {
  background: var(--white-color);
  border-top: 5px solid var(--accent-color);
}

.blog-card {
  background: var(--white-color);
  border-bottom: 5px solid var(--success-color);
}

.event-date, .blog-date {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Медиа элементы */
.media-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
  text-align: center;
}

.media-item:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-organic);
}

.media-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: var(--transition);
  margin: 0 auto;
  display: block;
}

/* Изображения */
.image-container {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-organic);
  text-align: center;
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
  margin: 0 auto;
  display: block;
}

/* Процесс */
.process-step {
  padding: 2rem;
  text-align: center;
}

.process-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
}

.process-icon:hover {
  transform: scale(1.1) rotate(10deg);
  box-shadow: var(--shadow-organic);
}

.step-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--white-color);
}

/* Инновации - Timeline */
.innovation-timeline {
  position: relative;
  padding: 2rem 0;
}

.innovation-timeline::before {
  content: '';
  position: absolute;
  left: 30px;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  padding: 2rem 0 2rem 80px;
  margin-bottom: 2rem;
}

.timeline-marker {
  position: absolute;
  left: 15px;
  top: 2rem;
  width: 30px;
  height: 30px;
  background: var(--accent-color);
  border: 4px solid var(--white-color);
  border-radius: 50%;
  box-shadow: var(--shadow-soft);
}

.timeline-content h4 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

/* Ресурсы */
.resource-card {
  background: var(--white-color);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
  border: 2px solid transparent;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.resource-card:hover {
  border-color: var(--primary-color);
  transform: translateY(-5px);
  box-shadow: var(--shadow-organic);
}

/* Формы */
.form-floating {
  margin-bottom: 1.5rem;
}

.form-control {
  border: 3px solid var(--gray-300);
  border-radius: var(--border-radius-small);
  padding: 1rem;
  font-size: 1.1rem;
  transition: var(--transition);
  background: var(--white-color);
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(255, 107, 53, 0.25);
  background: var(--white-color);
}

.interactive-input:focus {
  transform: scale(1.02);
}

/* Футер */
.footer {
  background: var(--dark-color);
  color: var(--light-color);
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--gradient-rainbow);
}

.footer-title {
  color: var(--accent-color);
  font-weight: 700;
  margin-bottom: 1.5rem;
  position: relative;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--primary-color);
  border-radius: 2px;
}

.footer-link {
  color: var(--gray-400);
  text-decoration: none;
  transition: var(--transition);
  display: inline-block;
  padding: 0.25rem 0;
  position: relative;
}

.footer-link:hover {
  color: var(--accent-color);
  transform: translateX(5px);
}

.footer-link::before {
  content: '→';
  position: absolute;
  left: -20px;
  opacity: 0;
  transition: var(--transition);
  color: var(--primary-color);
}

.footer-link:hover::before {
  opacity: 1;
  left: -15px;
}

/* Страницы успеха */
.success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  color: var(--white-color);
  text-align: center;
}

.success-content h1 {
  color: var(--white-color);
  font-size: 4rem;
  margin-bottom: 2rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.success-content p {
  color: var(--white-color);
  font-size: 1.5rem;
  opacity: 0.9;
}

/* Страницы контента с отступом */
.content-page {
  padding-top: 100px;
  min-height: 100vh;
}

.content-section {
  padding: 3rem 0;
}

.content-section h2 {
  color: var(--primary-color);
  border-bottom: 3px solid var(--accent-color);
  padding-bottom: 0.5rem;
  margin-bottom: 2rem;
}

.content-section h3 {
  color: var(--secondary-color);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.content-section ul {
  padding-left: 2rem;
  margin-bottom: 2rem;
}

.content-section li {
  margin-bottom: 0.5rem;
  color: var(--gray-700);
}

/* Анимации частиц */
@keyframes particleFloat {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
  }
  25% {
    transform: translate(10px, -10px) rotate(90deg);
  }
  50% {
    transform: translate(-5px, -20px) rotate(180deg);
  }
  75% {
    transform: translate(-10px, -10px) rotate(270deg);
  }
}

.particle {
  position: absolute;
  background: var(--accent-color);
  border-radius: 50%;
  animation: particleFloat 4s ease-in-out infinite;
  opacity: 0.7;
}

/* Биоморфные элементы */
.bio-shape {
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  transition: var(--transition);
}

.bio-shape:hover {
  border-radius: 40% 60% 70% 30% / 40% 70% 30% 60%;
}

/* Утилиты */
.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bg-pattern {
  background-image: 
    radial-gradient(circle at 25% 25%, var(--primary-color) 2%, transparent 2%),
    radial-gradient(circle at 75% 75%, var(--accent-color) 2%, transparent 2%);
  background-size: 100px 100px;
}

.glassmorphism {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Адаптивность */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .btn {
    padding: 0.75rem 2rem;
    width: 100%;
    max-width: 300px;
  }
  
  .section-title {
    font-size: 2.5rem;
  }
  
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.75rem; }
  
  .timeline-item {
    padding-left: 60px;
  }
  
  .innovation-timeline::before {
    left: 20px;
  }
  
  .timeline-marker {
    left: 5px;
  }
  
  .card-content {
    padding: 1.5rem;
  }
  
  .process-step {
    padding: 1.5rem;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .card-content {
    padding: 1rem;
  }
  
  .btn {
    font-size: 0.9rem;
    padding: 0.6rem 1.5rem;
  }
}

/* Анимация загрузки */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out forwards;
}

/* Плавная прокрутка для якорных ссылок */
html {
  scroll-padding-top: 80px;
}

/* Высокая производительность */
.card,
.btn,
.media-item,
.process-icon {
  will-change: transform;
}

/* Доступность */
.btn:focus,
.form-control:focus,
.nav-link:focus {
  outline: 3px solid var(--accent-color);
  outline-offset: 2px;
}

/* Скрыть элементы для скринридеров */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}