:root {
  /* Основная цветовая палитра (аналоговая схема) */
  --primary-color: #3273dc;
  --primary-dark: #2160c4;
  --primary-light: #5e8ee4;
  --secondary-color: #3287dc;
  --accent-color: #32a8dc;
  --accent-light: #5ec2e4;
  
  /* Нейтральные цвета */
  --dark: #333333;
  --darker: #222222;
  --light: #f5f5f5;
  --light-gray: #e8e8e8;
  --medium-gray: #ccc;
  --white: #ffffff;
  
  /* Тени и эффекты для нейроморфизма */
  --shadow-light: rgba(255, 255, 255, 0.8);
  --shadow-dark: rgba(0, 0, 0, 0.1);
  --shadow-medium: rgba(0, 0, 0, 0.2);
  --neuro-radius: 20px;
  --transition-speed: 0.3s;
  
  /* Градиенты */
  --gradient-primary: linear-gradient(145deg, var(--primary-color), var(--primary-dark));
  --gradient-accent: linear-gradient(145deg, var(--accent-color), var(--secondary-color));
  --gradient-dark: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.4));
  --gradient-overlay: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
}

/* Базовые стили */
body {
  font-family: 'Merriweather', serif;
  color: var(--dark);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .title, .subtitle {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  color: var(--darker);
}

p {
  margin-bottom: 1.5rem;
}

section {
  padding: 4rem 0;
  position: relative;
}

img {
  max-width: 100%;
  object-fit: cover;
}

a {
  color: var(--primary-color);
  transition: all var(--transition-speed);
}

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

/* Нейроморфный стиль */
.neuromorphic {
  background: var(--light);
  border-radius: var(--neuro-radius);
  box-shadow: 
    8px 8px 16px var(--shadow-dark),
    -8px -8px 16px var(--shadow-light);
  transition: all var(--transition-speed);
}

.neuromorphic:hover {
  box-shadow: 
    12px 12px 20px var(--shadow-dark),
    -12px -12px 20px var(--shadow-light);
}

.neuromorphic-inset {
  background: var(--light);
  border-radius: var(--neuro-radius);
  box-shadow: 
    inset 6px 6px 12px var(--shadow-dark),
    inset -6px -6px 12px var(--shadow-light);
}

/* Заголовки */
.title.is-1, .title.is-2, .title.is-3 {
  margin-bottom: 2rem;
  position: relative;
}

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

.has-text-centered .title::after {
  left: 50%;
  transform: translateX(-50%);
}

/* Кнопки - глобальные стили */
.button {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  border-radius: 30px;
  padding: 0.5rem 1.5rem;
  transition: all var(--transition-speed);
  border: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.button.is-primary {
  background: var(--gradient-primary);
  color: var(--white);
}

.button.is-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 7px 14px var(--shadow-medium);
}

.button.is-light {
  background: var(--light);
  color: var(--primary-color);
  box-shadow: 
    4px 4px 8px var(--shadow-dark),
    -4px -4px 8px var(--shadow-light);
}

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

.button.is-large {
  font-size: 1.2rem;
  padding: 0.7rem 2rem;
}

.button.is-rounded {
  border-radius: 50px;
}

.button::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(-100%);
  transition: transform 0.6s;
  z-index: -1;
}

.button:hover::before {
  transform: translateX(0);
}

/* Карточки */
.card {
  border-radius: var(--neuro-radius);
  overflow: hidden;
  transition: all var(--transition-speed);
  margin-bottom: 2rem;
  box-shadow: 
    8px 8px 16px var(--shadow-dark),
    -8px -8px 16px var(--shadow-light);
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--white);
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 
    10px 10px 20px var(--shadow-dark),
    -10px -10px 20px var(--shadow-light);
}

.card-image {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  position: relative;
}

.card-image img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.5s;
}

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

.card-content {
  padding: 1.5rem;
  width: 100%;
  text-align: center;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 2px 10px var(--shadow-dark);
  transition: all var(--transition-speed);
}

.header.scrolled {
  box-shadow: 0 5px 20px var(--shadow-medium);
  padding: 0.5rem 0;
}

.navbar {
  background: transparent;
}

.navbar-item {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  color: var(--dark);
  position: relative;
  transition: all var(--transition-speed);
}

.navbar-item::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  transition: width var(--transition-speed);
}

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

.navbar-item:hover::after {
  width: 50%;
}

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

/* Hero Section */
.hero {
  position: relative;
  margin-top: 3.5rem;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-body {
  padding: 6rem 1.5rem;
}

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

.hero .button {
  margin: 0.5rem;
}

.arrow-down {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

.arrow-down span {
  font-size: 2rem;
  color: var(--white);
}

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

/* Vision Section */
.vision-section {
  background: var(--light);
  position: relative;
  overflow: hidden;
}

.vision-content {
  position: relative;
  z-index: 2;
}

.vision-image-container {
  margin: 2rem 0;
  border-radius: var(--neuro-radius);
  overflow: hidden;
  box-shadow: 
    8px 8px 16px var(--shadow-dark),
    -8px -8px 16px var(--shadow-light);
}

.vision-image-container img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s;
}

.vision-image-container:hover img {
  transform: scale(1.03);
}

/* Workshops Section */
.workshops-section {
  background: var(--white);
}

.workshop-card {
  height: 100%;
}

.workshop-card .card-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

/* Team Section */
.team-section {
  background: var(--light);
}

.team-card {
  height: 100%;
}

.team-card .card-image img {
  height: 300px;
  border-top-left-radius: var(--neuro-radius);
  border-top-right-radius: var(--neuro-radius);
}

/* Events Calendar Section */
.events-section {
  background: var(--white);
}

.timeline {
  position: relative;
  padding: 2rem 0;
}

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

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

.timeline-marker {
  position: absolute;
  left: 42px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary-color);
  box-shadow: 0 0 0 4px var(--white), 0 0 0 8px var(--primary-light);
  transform: translateX(-50%);
}

.timeline-content {
  position: relative;
  padding: 1.5rem;
  border-radius: var(--neuro-radius);
  background: var(--white);
  box-shadow: 
    6px 6px 12px var(--shadow-dark),
    -6px -6px 12px var(--shadow-light);
}

.timeline-content::before {
  content: '';
  position: absolute;
  top: 20px;
  left: -10px;
  width: 20px;
  height: 20px;
  background: var(--white);
  transform: rotate(45deg);
  box-shadow: -3px 3px 6px var(--shadow-dark);
}

/* Testimonials Section */
.testimonials-section {
  background: var(--light);
}

.testimonial-card {
  height: 100%;
}

.testimonial-card .card-content {
  text-align: left;
}

.testimonial-card .media {
  align-items: center;
  margin-bottom: 1rem;
}

/* Resources Section */
.resources-section {
  background: var(--white);
}

.resources-list {
  padding: 2rem;
  border-radius: var(--neuro-radius);
  background: var(--light);
  box-shadow: 
    8px 8px 16px var(--shadow-dark),
    -8px -8px 16px var(--shadow-light);
}

.resource-item {
  margin-bottom: 2rem;
}

.resource-item:last-child {
  margin-bottom: 0;
}

.resource-item ul {
  list-style: none;
  padding-left: 0;
}

.resource-item ul li {
  margin-bottom: 0.5rem;
  padding-left: 1.5rem;
  position: relative;
}

.resource-item ul li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-size: 1.2rem;
}

.resource-item a {
  color: var(--primary-dark);
  text-decoration: none;
  transition: all var(--transition-speed);
}

.resource-item a:hover {
  color: var(--accent-color);
  text-decoration: underline;
}

/* News Section */
.news-section {
  background: var(--light);
}

.news-card {
  height: 100%;
}

.news-card .card-content {
  text-align: left;
}

.news-card a {
  display: inline-block;
  color: var(--primary-color);
  font-weight: 600;
  position: relative;
  padding-right: 20px;
  transition: all var(--transition-speed);
}

.news-card a::after {
  content: '→';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  transition: transform var(--transition-speed);
}

.news-card a:hover {
  color: var(--accent-color);
}

.news-card a:hover::after {
  transform: translate(5px, -50%);
}

/* Partners Section */
.partners-section {
  background: var(--white);
}

.partner-logo {
  text-align: center;
  padding: 1.5rem;
  border-radius: var(--neuro-radius);
  background: var(--light);
  box-shadow: 
    6px 6px 12px var(--shadow-dark),
    -6px -6px 12px var(--shadow-light);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: all var(--transition-speed);
}

.partner-logo:hover {
  transform: translateY(-5px);
  box-shadow: 
    8px 8px 16px var(--shadow-dark),
    -8px -8px 16px var(--shadow-light);
}

.partner-logo img {
  max-width: 120px;
  height: auto;
  margin-bottom: 1rem;
}

/* FAQ Section */
.faq-section {
  background: var(--light);
}

.accordion-container {
  padding: 2rem;
  border-radius: var(--neuro-radius);
  background: var(--white);
  box-shadow: 
    8px 8px 16px var(--shadow-dark),
    -8px -8px 16px var(--shadow-light);
}

.accordion-item {
  margin-bottom: 1rem;
}

.accordion-header {
  position: relative;
}

.accordion-button {
  width: 100%;
  text-align: left;
  padding: 1rem;
  background: var(--light);
  border: none;
  border-radius: var(--neuro-radius);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  color: var(--dark);
  cursor: pointer;
  transition: all var(--transition-speed);
  box-shadow: 
    4px 4px 8px var(--shadow-dark),
    -4px -4px 8px var(--shadow-light);
}

.accordion-button:hover, .accordion-button.is-active {
  color: var(--primary-color);
}

.accordion-button.is-active {
  box-shadow: 
    inset 4px 4px 8px var(--shadow-dark),
    inset -4px -4px 8px var(--shadow-light);
}

.accordion-button::after {
  content: '+';
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  transition: transform var(--transition-speed);
}

.accordion-button.is-active::after {
  content: '−';
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-speed);
  padding: 0 1rem;
}

.accordion-content p {
  padding: 1rem 0;
}

/* Contact Form Section */
.contact-section {
  background: var(--light);
}

.contact-form-container {
  padding: 2rem;
  border-radius: var(--neuro-radius);
  background: var(--white);
  box-shadow: 
    8px 8px 16px var(--shadow-dark),
    -8px -8px 16px var(--shadow-light);
}

.contact-form-container .field {
  margin-bottom: 1.5rem;
}

.contact-form-container .label {
  color: var(--dark);
  font-family: 'Montserrat', sans-serif;
}

.contact-form-container .input, 
.contact-form-container .textarea, 
.contact-form-container .select select {
  border-radius: 10px;
  border: none;
  background: var(--light);
  box-shadow: 
    inset 4px 4px 8px var(--shadow-dark),
    inset -4px -4px 8px var(--shadow-light);
  transition: all var(--transition-speed);
}

.contact-form-container .input:focus, 
.contact-form-container .textarea:focus, 
.contact-form-container .select select:focus {
  outline: none;
  box-shadow: 
    inset 6px 6px 10px var(--shadow-dark),
    inset -6px -6px 10px var(--shadow-light);
}

/* Footer */
.footer {
  background: var(--darker);
  color: var(--white);
  padding: 3rem 0;
}

.footer .title, .footer .subtitle {
  color: var(--white);
}

.footer p {
  color: var(--medium-gray);
}

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

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

.footer a {
  color: var(--medium-gray);
  transition: all var(--transition-speed);
}

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

.social-links a {
  display: inline-block;
  margin-right: 1rem;
  color: var(--medium-gray);
  transition: all var(--transition-speed);
}

.social-links a:hover {
  color: var(--white);
  transform: translateY(-3px);
}

.copyright {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--medium-gray);
}

/* Cookie Consent */
.cookie-consent {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.8);
  color: var(--white);
  padding: 1rem;
  z-index: 9999;
}

.cookie-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.cookie-content p {
  margin: 0;
  padding-right: 1rem;
}

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

.success-content {
  text-align: center;
  padding: 3rem;
  border-radius: var(--neuro-radius);
  background: var(--white);
  box-shadow: 
    8px 8px 16px var(--shadow-dark),
    -8px -8px 16px var(--shadow-light);
  max-width: 600px;
}

.success-icon {
  font-size: 4rem;
  color: #4caf50;
  margin-bottom: 1.5rem;
}

/* About, Privacy, Terms Pages */
.page-content {
  padding-top: 100px;
  min-height: calc(100vh - 200px);
}

.page-content .container {
  padding: 2rem;
  border-radius: var(--neuro-radius);
  background: var(--white);
  box-shadow: 
    8px 8px 16px var(--shadow-dark),
    -8px -8px 16px var(--shadow-light);
}

/* Utilities */
.mb-4 {
  margin-bottom: 1rem;
}

.mb-5 {
  margin-bottom: 1.5rem;
}

.mb-6 {
  margin-bottom: 2rem;
}

.mt-3 {
  margin-top: 0.75rem;
}

.mt-4 {
  margin-top: 1rem;
}

.mt-5 {
  margin-top: 1.5rem;
}

.mt-6 {
  margin-top: 2rem;
}

/* Responsive Adjustments */
@media screen and (max-width: 768px) {
  .hero-body {
    padding: 4rem 1rem;
  }
  
  .title.is-1 {
    font-size: 2rem;
  }
  
  .title.is-2 {
    font-size: 1.75rem;
  }
  
  .title.is-3 {
    font-size: 1.5rem;
  }
  
  .timeline::before {
    left: 30px;
  }
  
  .timeline-item {
    padding-left: 60px;
  }
  
  .timeline-marker {
    left: 22px;
  }
  
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
  
  .cookie-content p {
    margin-bottom: 1rem;
    padding-right: 0;
  }
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.8s ease forwards;
}

.fade-in-delay-1 {
  animation: fadeIn 0.8s ease 0.2s forwards;
  opacity: 0;
}

.fade-in-delay-2 {
  animation: fadeIn 0.8s ease 0.4s forwards;
  opacity: 0;
}

/* Parallax effect */
.parallax {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* Additional Styles for Content Pages */
.about-page, .terms-page, .privacy-page, .contacts-page {
  padding-top: 100px;
}