:root {
  /* Цветовая схема */
  --primary-color: #3a9bdc;
  --primary-color-dark: #2a7bb2;
  --secondary-color: #55d6be;
  --secondary-color-dark: #40b19c;
  --accent-color: #f6ae2d;
  --accent-color-dark: #e09612;
  --text-dark: #333333;
  --text-light: #ffffff;
  --background-light: #f5f5f7;
  --background-dark: #e0e0e3;
  --error-color: #f05454;
  --success-color: #4caf50;
  
  /* Неоморфизм */
  --nm-background: #f0f0f3;
  --nm-shadow-light: rgba(255, 255, 255, 0.9);
  --nm-shadow-dark: rgba(185, 185, 189, 0.6);
  --nm-distance: 8px;
  --nm-blur: 12px;
  --nm-border-radius: 15px;
  
  /* Типографика */
  --heading-font: 'Archivo Black', sans-serif;
  --body-font: 'Roboto', sans-serif;
  
  /* Анимации */
  --transition-fast: 0.2s;
  --transition-medium: 0.3s;
  --transition-slow: 0.5s;
}

/* Базовые стили */
body {
  font-family: var(--body-font);
  color: var(--text-dark);
  background-color: var(--background-light);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  color: var(--text-dark);
  font-weight: 700;
}

a {
  color: var(--primary-color);
  transition: color var(--transition-fast) ease;
  text-decoration: none;
}

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

img {
  max-width: 100%;
  height: auto;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 60px 0;
}

/* Неоморфные компоненты */
.neomorphic-box {
  background: var(--nm-background);
  border-radius: var(--nm-border-radius);
  box-shadow: 
    var(--nm-distance) var(--nm-distance) var(--nm-blur) var(--nm-shadow-dark),
    calc(-1 * var(--nm-distance)) calc(-1 * var(--nm-distance)) var(--nm-blur) var(--nm-shadow-light);
  transition: transform var(--transition-medium) ease, box-shadow var(--transition-medium) ease;
  overflow: hidden;
}

.neomorphic-box:hover {
  transform: translateY(-5px);
  box-shadow: 
    calc(var(--nm-distance) + 2px) calc(var(--nm-distance) + 2px) calc(var(--nm-blur) + 4px) var(--nm-shadow-dark),
    calc(-1 * (var(--nm-distance) + 2px)) calc(-1 * (var(--nm-distance) + 2px)) calc(var(--nm-blur) + 4px) var(--nm-shadow-light);
}

.neomorphic-button {
  background: var(--nm-background);
  border-radius: 10px;
  box-shadow: 
    5px 5px 10px var(--nm-shadow-dark),
    -5px -5px 10px var(--nm-shadow-light);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast) ease;
  position: relative;
  overflow: hidden;
}

.neomorphic-button:hover {
  transform: translateY(-2px);
  box-shadow: 
    6px 6px 12px var(--nm-shadow-dark),
    -6px -6px 12px var(--nm-shadow-light);
}

.neomorphic-button:active {
  transform: translateY(0);
  box-shadow: 
    inset 4px 4px 8px var(--nm-shadow-dark),
    inset -4px -4px 8px var(--nm-shadow-light);
}

.neomorphic-button::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: -100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.7s ease;
}

.neomorphic-button:hover::after {
  left: 100%;
}

.neomorphic-input, .neomorphic-textarea, .neomorphic-select {
  background: var(--nm-background);
  border-radius: 10px;
  border: none;
  padding: 12px 15px;
  width: 100%;
  box-shadow: 
    inset 3px 3px 7px var(--nm-shadow-dark),
    inset -3px -3px 7px var(--nm-shadow-light);
  transition: all var(--transition-fast) ease;
}

.neomorphic-input:focus, .neomorphic-textarea:focus, .neomorphic-select:focus {
  outline: none;
  box-shadow: 
    inset 4px 4px 8px var(--nm-shadow-dark),
    inset -4px -4px 8px var(--nm-shadow-light),
    0 0 0 3px rgba(58, 155, 220, 0.1);
}

/* Гиперреалистичные текстуры */
.texture-paper {
  background-image: url('image/texture-paper.jpg');
  background-size: cover;
  background-repeat: no-repeat;
}

.texture-concrete {
  background-image: url('image/texture-concrete.jpg');
  background-size: cover;
  background-repeat: no-repeat;
}

/* Навигация */
.navbar {
  padding: 15px 0;
  transition: all var(--transition-medium) ease;
}

.navbar-brand h1 {
  color: var(--primary-color);
  transition: color var(--transition-fast) ease;
}

.navbar-brand h1:hover {
  color: var(--primary-color-dark);
}

.navbar-item {
  font-weight: 500;
  transition: color var(--transition-fast) ease;
}

.navbar-item:hover {
  color: var(--primary-color);
}

/* Секция Hero */
.hero {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero .title, .hero .subtitle {
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-body {
  z-index: 2;
  padding: 4rem 1.5rem;
}

/* Секция Mission */
#mission .image-container {
  height: 400px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

#mission .image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow) ease;
}

#mission .image-container:hover img {
  transform: scale(1.05);
}

/* Секция Features */
#features .card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

#features .card-image {
  overflow: hidden;
}

#features .image-container {
  height: 250px;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

#features .image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-medium) ease;
}

#features .card:hover .image-container img {
  transform: scale(1.05);
}

#features .card-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

#features .card-content h3 {
  margin-bottom: 15px;
}

/* Статистика */
.statistic-widget {
  text-align: center;
}

.statistic-widget h3 {
  color: var(--primary-color);
  margin-bottom: 5px;
}

/* Секция Process */
#process .process-step {
  margin-bottom: 30px;
}

.step-number {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--primary-color);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: bold;
  margin: 0 auto;
  box-shadow: 
    5px 5px 10px var(--nm-shadow-dark),
    -5px -5px 10px var(--nm-shadow-light);
}

/* Секция Workshops */
#workshops .card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

#workshops .image-container {
  height: 350px;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

#workshops .image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-medium) ease;
}

#workshops .card:hover .image-container img {
  transform: scale(1.05);
}

#workshops .card-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

/* Секция Webinars */
#webinars .card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

#webinars .image-container {
  height: 250px;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

#webinars .image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-medium) ease;
}

#webinars .card:hover .image-container img {
  transform: scale(1.05);
}

#webinars .card-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

/* Секция Media */
#media .media-item {
  margin-bottom: 30px;
}

#media .media-item img {
  border-radius: 5px;
  transition: transform var(--transition-medium) ease;
}

#media .media-item:hover img {
  transform: scale(1.05);
}

/* Секция Contact */
#contact .map-container {
  height: 300px;
  border-radius: 10px;
  overflow: hidden;
}

#contact .map-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Footer */
.footer {
  padding: 60px 0 30px;
}

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

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer ul li {
  margin-bottom: 10px;
}

.footer a {
  color: var(--text-dark);
  transition: color var(--transition-fast) ease;
}

.footer a:hover {
  color: var(--primary-color);
}

.social-links a {
  display: inline-block;
  margin-bottom: 10px;
  transition: transform var(--transition-fast) ease, color var(--transition-fast) ease;
}

.social-links a:hover {
  transform: translateX(5px);
  color: var(--primary-color);
}

/* Success Page */
.success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.success-content {
  max-width: 600px;
  padding: 40px;
}

/* Privacy & Terms Pages */
.privacy-page, .terms-page {
  padding-top: 100px;
}

/* Микроанимации */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

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

.fade-in {
  animation: fadeIn var(--transition-medium) ease-in;
}

.slide-up {
  animation: slideUp var(--transition-medium) ease-out;
}

.pulse {
  animation: pulse 2s infinite;
}

/* Медиа-запросы */
@media screen and (max-width: 1023px) {
  .navbar-menu {
    box-shadow: none;
  }
}

@media screen and (max-width: 768px) {
  .section {
    padding: 40px 0;
  }
  
  .hero-body {
    padding: 3rem 1rem;
  }
  
  .step-number {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
  
  #mission .image-container,
  #features .image-container,
  #workshops .image-container,
  #webinars .image-container {
    height: 200px;
  }
}

@media screen and (max-width: 576px) {
  h1.title.is-1 {
    font-size: 2rem !important;
  }
  
  h2.subtitle.is-3 {
    font-size: 1.5rem !important;
  }
  
  .step-number {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }
}

/* Утилиты */
.has-text-primary {
  color: var(--primary-color) !important;
}

.has-text-secondary {
  color: var(--secondary-color) !important;
}

.has-text-accent {
  color: var(--accent-color) !important;
}

.has-background-primary {
  background-color: var(--primary-color) !important;
}

.has-background-secondary {
  background-color: var(--secondary-color) !important;
}

.has-background-accent {
  background-color: var(--accent-color) !important;
}

/* Общие стили для карточек */
.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 100%;
  overflow: hidden;
}

/* Стили для .button, являющегося частью Bulma */
.button.is-primary {
  background-color: var(--primary-color);
  color: white;
}

.button.is-primary:hover {
  background-color: var(--primary-color-dark);
}

.button.is-light {
  background-color: var(--background-light);
  color: var(--text-dark);
}

.button.is-light:hover {
  background-color: var(--background-dark);
}

/* Читать далее */
.read-more {
  display: inline-block;
  color: var(--primary-color);
  font-weight: bold;
  text-decoration: none;
  position: relative;
  padding-right: 20px;
  transition: all var(--transition-fast) ease;
}

.read-more::after {
  content: "→";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  transition: transform var(--transition-fast) ease;
}

.read-more:hover {
  color: var(--primary-color-dark);
  padding-right: 25px;
}

.read-more:hover::after {
  transform: translateY(-50%) translateX(5px);
}

/* Script generated animations for Motion One */
[data-animate] {
  opacity: 0;
  transform: translateY(30px);
}

.animated {
  opacity: 1;
  transform: translateY(0);
  transition: opacity var(--transition-medium) ease, transform var(--transition-medium) ease;
}