/* =================================================================
   CSS Variables - Футуристический Neo-Brutalism Монохромный Дизайн
================================================================= */

:root {
  /* Монохромная палитра с неоновыми акцентами */
  --primary-color: #0066FF;
  --primary-light: #3385FF;
  --primary-dark: #0052CC;
  --secondary-color: #00FFFF;
  --secondary-light: #33FFFF;
  --secondary-dark: #00CCCC;
  
  /* Нейтральные цвета */
  --white: #FFFFFF;
  --black: #000000;
  --gray-900: #0F0F0F;
  --gray-800: #1A1A1A;
  --gray-700: #262626;
  --gray-600: #404040;
  --gray-500: #666666;
  --gray-400: #999999;
  --gray-300: #CCCCCC;
  --gray-200: #E5E5E5;
  --gray-100: #F2F2F2;
  
  /* Акцентные цвета */
  --accent-blue: #4A90E2;
  --accent-purple: #9B59B6;
  --accent-green: #27AE60;
  --accent-yellow: #F1C40F;
  --accent-red: #E74C3C;
  
  /* Градиенты */
  --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  --gradient-dark: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-800) 100%);
  --gradient-overlay: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.5));
  --gradient-hero: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.4));
  
  /* Шрифты */
  --font-primary: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  --font-secondary: 'DM Sans', system-ui, -apple-system, sans-serif;
  
  /* Размеры */
  --border-radius: 12px;
  --border-radius-large: 24px;
  --border-width: 3px;
  --box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  --box-shadow-hover: 0 16px 64px rgba(0, 0, 0, 0.2);
  --box-shadow-brutal: 6px 6px 0px var(--gray-900);
  --box-shadow-brutal-hover: 12px 12px 0px var(--gray-900);
  
  /* Анимации */
  --transition-fast: 0.2s ease-out;
  --transition-normal: 0.3s ease-out;
  --transition-slow: 0.5s ease-out;
  --transition-morph: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =================================================================
   Базовые стили
================================================================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-secondary);
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-900);
  background-color: var(--white);
  overflow-x: hidden;
}

/* Заголовки */
h1, h2, h3, h4, h5, h6,
.display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
  font-family: var(--font-primary);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1, .display-1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2, .display-4 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4, h5 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }

/* Параграфы */
p {
  margin-bottom: 1.25rem;
  color: var(--gray-700);
}

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

/* Ссылки */
a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition-normal);
}

a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

/* =================================================================
   Глобальные стили кнопок
================================================================= */

.btn {
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 1rem;
  padding: 1rem 2rem;
  border: var(--border-width) solid transparent;
  border-radius: var(--border-radius);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: var(--transition-morph);
  position: relative;
  overflow: hidden;
  text-decoration: none !important;
  display: inline-block;
  cursor: pointer;
  box-shadow: var(--box-shadow-brutal);
}

.btn:hover {
  transform: translate(-3px, -3px);
  box-shadow: var(--box-shadow-brutal-hover);
}

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

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

.btn-secondary {
  background: var(--secondary-color);
  color: var(--gray-900);
  border-color: var(--secondary-color);
}

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

.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);
  border-color: var(--primary-color);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
  box-shadow: 6px 6px 0px rgba(255,255,255,0.2);
}

.btn-outline-light:hover {
  background: var(--white);
  color: var(--gray-900);
  border-color: var(--white);
  box-shadow: 12px 12px 0px rgba(255,255,255,0.3);
}

.btn-lg {
  padding: 1.25rem 2.5rem;
  font-size: 1.125rem;
}

.btn-sm {
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
}

/* Morph Button */
.morph-button {
  position: relative;
  overflow: hidden;
}

.morph-button::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
  transition: var(--transition-morph);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  z-index: 1;
}

.morph-button:hover::before {
  width: 300px;
  height: 300px;
}

.morph-button > * {
  position: relative;
  z-index: 2;
}

/* =================================================================
   Навигация
================================================================= */

.header-nav {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--gray-200);
  transition: var(--transition-normal);
  z-index: 1000;
}

.navbar-brand {
  font-family: var(--font-primary);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary-color) !important;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.nav-link {
  font-family: var(--font-primary);
  font-weight: 500;
  color: var(--gray-700) !important;
  padding: 0.75rem 1rem !important;
  transition: var(--transition-normal);
  position: relative;
}

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

.nav-link:hover {
  color: var(--primary-color) !important;
}

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

.navbar-toggler {
  border: var(--border-width) solid var(--primary-color);
  border-radius: var(--border-radius);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%230066FF' stroke-linecap='round' stroke-miterlimit='10' stroke-width='3' d='m4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* =================================================================
   Hero Section
================================================================= */

.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

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

.hero-title {
  color: var(--white) !important;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
  margin-bottom: 2rem;
}

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

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.z-index-10 {
  z-index: 10;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.scroll-arrow {
  width: 2px;
  height: 30px;
  background: var(--white);
  position: relative;
  animation: scrollBounce 2s infinite;
}

.scroll-arrow::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: -3px;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--white);
  border-bottom: 2px solid var(--white);
  transform: rotate(45deg);
}

@keyframes scrollBounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-10px); }
  60% { transform: translateY(-5px); }
}

/* Morph Text */
.morph-text {
  background: linear-gradient(45deg, var(--white), var(--gray-200), var(--white));
  background-size: 200% 200%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: morphGradient 3s ease-in-out infinite;
}

@keyframes morphGradient {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* =================================================================
   Секции
================================================================= */

.section-padding {
  padding: 5rem 0;
}

.section-title {
  color: var(--gray-900);
  text-align: center;
  margin-bottom: 1rem;
  position: relative;
}

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

.section-subtitle {
  color: var(--gray-600);
  text-align: center;
  margin-bottom: 3rem;
}

/* =================================================================
   Cards & Components
================================================================= */

.morph-card {
  background: var(--white);
  border: var(--border-width) solid var(--gray-900);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow-brutal);
  transition: var(--transition-morph);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.morph-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: var(--box-shadow-brutal-hover);
}

.card {
  border: var(--border-width) solid var(--gray-900);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow-brutal);
  transition: var(--transition-morph);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0px var(--gray-900);
}

.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-normal);
}

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

.card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
}

.card-title {
  color: var(--gray-900);
  font-family: var(--font-primary);
  font-weight: 600;
  margin-bottom: 1rem;
}

.card-text {
  color: var(--gray-700);
  flex: 1;
  margin-bottom: 1rem;
}

/* =================================================================
   News Section
================================================================= */

.news-card {
  height: 100%;
  transition: var(--transition-morph);
}

.news-card .badge {
  font-size: 0.75rem;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* =================================================================
   Instructors/Experts Section
================================================================= */

.expert-card {
  height: 100%;
  padding: 2rem;
}

.expert-card .card-image {
  height: auto;
  margin-bottom: 1.5rem;
}

.expert-card .card-image img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 4px solid var(--primary-color);
  object-fit: cover;
  margin: 0 auto;
}

.social-links {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.social-links .badge {
  font-size: 0.75rem;
  padding: 0.5rem 1rem;
}

/* =================================================================
   Awards Section
================================================================= */

.award-item {
  background: var(--white);
  border: var(--border-width) solid var(--gray-900);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow-brutal);
  transition: var(--transition-morph);
}

.award-item:hover {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0px var(--gray-900);
}

.award-icon {
  font-size: 2rem;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  border-radius: 50%;
  color: var(--white);
}

.stat-item {
  background: var(--white);
  border: var(--border-width) solid var(--gray-900);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow-brutal);
  transition: var(--transition-morph);
  height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.stat-item:hover {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0px var(--gray-900);
}

.stat-number {
  font-family: var(--font-primary);
  font-weight: 900;
  line-height: 1;
}

.stat-label {
  color: var(--gray-600);
  font-weight: 500;
  margin: 0;
}

/* =================================================================
   Behind the Scenes Section
================================================================= */

.behind-scenes-content h3 {
  color: var(--gray-900);
  font-family: var(--font-primary);
  margin-bottom: 1.5rem;
}

.process-step {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1.5rem;
  background: var(--gray-100);
  border-radius: var(--border-radius);
  border: 2px solid var(--gray-900);
  box-shadow: 4px 4px 0px var(--gray-900);
  transition: var(--transition-normal);
}

.process-step:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0px var(--gray-900);
}

.step-number {
  font-family: var(--font-primary);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--white);
  background: var(--gradient-primary);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-content h5 {
  font-family: var(--font-primary);
  color: var(--gray-900);
  margin-bottom: 0.5rem;
}

.step-content p {
  color: var(--gray-700);
  margin: 0;
}

.behind-scenes-gallery .main-image {
  border-radius: var(--border-radius);
  overflow: hidden;
  border: var(--border-width) solid var(--gray-900);
  box-shadow: var(--box-shadow-brutal);
}

.behind-scenes-gallery img {
  transition: var(--transition-normal);
}

.behind-scenes-gallery img:hover {
  transform: scale(1.05);
}

/* =================================================================
   Resources Section
================================================================= */

.resource-card {
  text-align: center;
  padding: 2rem;
  height: 100%;
  transition: var(--transition-morph);
}

.resource-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.resource-filter {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.filter-label {
  font-family: var(--font-primary);
  font-weight: 600;
  color: var(--gray-700);
}

.morph-toggle .btn {
  border-radius: 50px;
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
}

/* =================================================================
   Contact Section
================================================================= */

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 2rem;
}

.contact-icon {
  font-size: 1.5rem;
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-details h5 {
  font-family: var(--font-primary);
  color: var(--gray-900);
  margin-bottom: 0.5rem;
}

.contact-details p {
  color: var(--gray-700);
  margin: 0;
}

.contact-form {
  background: var(--white);
  border-radius: var(--border-radius-large);
  border: var(--border-width) solid var(--gray-900);
  box-shadow: var(--box-shadow-brutal);
}

.morph-input {
  border: 2px solid var(--gray-300);
  border-radius: var(--border-radius);
  padding: 0.75rem 1rem;
  font-family: var(--font-secondary);
  transition: var(--transition-normal);
  background: var(--white);
}

.morph-input:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
  outline: none;
  background: var(--white);
}

.form-label {
  font-family: var(--font-primary);
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
}

/* =================================================================
   Footer
================================================================= */

.footer {
  background: var(--gradient-dark);
  color: var(--white);
  position: relative;
}

.footer-title {
  font-family: var(--font-primary);
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-subtitle {
  font-family: var(--font-primary);
  color: var(--white);
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-text {
  color: var(--gray-300);
  line-height: 1.6;
}

.footer-links {
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--gray-300);
  text-decoration: none;
  transition: var(--transition-normal);
}

.footer-links a:hover {
  color: var(--white);
  text-decoration: underline;
}

.social-links {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.social-link {
  color: var(--gray-300);
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border: 2px solid var(--gray-600);
  border-radius: var(--border-radius);
  transition: var(--transition-normal);
  background: transparent;
}

.social-link:hover {
  color: var(--white);
  border-color: var(--primary-color);
  background: var(--primary-color);
  text-decoration: none;
  transform: translateY(-2px);
}

.copyright {
  color: var(--gray-400);
  font-size: 0.875rem;
}

/* =================================================================
   Специальные страницы
================================================================= */

/* Success Page */
.success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  color: var(--white);
  text-align: center;
}

.success-content h1 {
  color: var(--white);
  margin-bottom: 1rem;
}

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

/* Privacy & Terms Pages */
.legal-page {
  padding-top: 120px;
  min-height: 100vh;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 0;
}

.legal-content h1 {
  color: var(--gray-900);
  margin-bottom: 2rem;
  text-align: center;
}

.legal-content h2 {
  color: var(--gray-800);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.legal-content h3 {
  color: var(--gray-700);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.legal-content p {
  margin-bottom: 1.5rem;
  text-align: justify;
}

.legal-content ul, .legal-content ol {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

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

/* =================================================================
   Утилитарные классы
================================================================= */

.text-gradient {
  background: var(--gradient-primary);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.bg-gradient-primary {
  background: var(--gradient-primary);
}

.bg-gradient-dark {
  background: var(--gradient-dark);
}

.border-brutal {
  border: var(--border-width) solid var(--gray-900);
  box-shadow: var(--box-shadow-brutal);
}

.shadow-brutal {
  box-shadow: var(--box-shadow-brutal);
}

.shadow-brutal-hover {
  box-shadow: var(--box-shadow-brutal-hover);
}

.morph-image {
  transition: var(--transition-morph);
  border-radius: var(--border-radius);
}

.morph-image:hover {
  transform: scale(1.02) rotate(1deg);
}

/* =================================================================
   Responsive Design
================================================================= */

@media (max-width: 1200px) {
  .section-padding {
    padding: 4rem 0;
  }
  
  .hero-section {
    min-height: 80vh;
  }
}

@media (max-width: 992px) {
  .section-padding {
    padding: 3rem 0;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-actions .btn {
    width: 100%;
    max-width: 280px;
    margin-bottom: 1rem;
  }
  
  .process-step {
    flex-direction: column;
    text-align: center;
  }
  
  .contact-item {
    text-align: center;
    flex-direction: column;
  }
  
  .social-links {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .section-padding {
    padding: 2.5rem 0;
  }
  
  .btn {
    padding: 0.875rem 1.5rem;
    font-size: 0.9rem;
  }
  
  .btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
  }
  
  .hero-bg {
    background-attachment: scroll;
  }
  
  .stat-item {
    height: 150px;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .award-item {
    margin-bottom: 1.5rem;
  }
  
  .expert-card .card-image img {
    width: 150px;
    height: 150px;
  }
}

@media (max-width: 576px) {
  .section-padding {
    padding: 2rem 0;
  }
  
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .btn {
    padding: 0.75rem 1.25rem;
    font-size: 0.875rem;
    box-shadow: 3px 3px 0px var(--gray-900);
  }
  
  .btn:hover {
    transform: translate(-1px, -1px);
    box-shadow: 6px 6px 0px var(--gray-900);
  }
  
  .morph-card, .card {
    box-shadow: 3px 3px 0px var(--gray-900);
  }
  
  .morph-card:hover, .card:hover {
    transform: translate(-1px, -1px);
    box-shadow: 6px 6px 0px var(--gray-900);
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .resource-filter {
    flex-direction: column;
  }
  
  .social-links {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .social-link {
    width: 100%;
    text-align: center;
  }
}

/* =================================================================
   Анимации и эффекты
================================================================= */

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

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

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

/* Parallax эффект для hero */
@media (min-width: 768px) {
  .hero-bg {
    transform: translateZ(0);
    will-change: transform;
  }
}

/* Glassmorphism эффекты */
.glass-effect {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Neon эффекты для акцентов */
.neon-accent {
  box-shadow: 0 0 20px var(--primary-color);
  animation: neonPulse 2s ease-in-out infinite alternate;
}

@keyframes neonPulse {
  from {
    box-shadow: 0 0 20px var(--primary-color);
  }
  to {
    box-shadow: 0 0 30px var(--primary-color), 0 0 40px var(--primary-color);
  }
}

/* Дополнительные утилиты для производительности */
.gpu-accelerated {
  transform: translateZ(0);
  will-change: transform;
}

.no-select {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Скрытие элементов для мобильных устройств */
@media (max-width: 768px) {
  .hide-mobile {
    display: none !important;
  }
}

/* Показ элементов только на мобильных устройствах */
.show-mobile {
  display: none !important;
}

@media (max-width: 768px) {
  .show-mobile {
    display: block !important;
  }
}

/* Сглаживание шрифтов */
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Оптимизация прокрутки */
html {
  scroll-padding-top: 80px;
}

/* Фокус для доступности */
.btn:focus,
.morph-button:focus,
.morph-input:focus {
  outline: 3px solid var(--primary-color);
  outline-offset: 2px;
}

/* Prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .scroll-arrow {
    animation: none;
  }
  
  .morph-text {
    animation: none;
    background: var(--white);
    -webkit-text-fill-color: var(--white);
  }
}