:root {
  /* Триадная цветовая схема */
  --primary-color: #6A3DE8; /* Основной пурпурный */
  --secondary-color: #3DE89F; /* Зеленый аквамарин */
  --tertiary-color: #E83D7A; /* Розово-красный */
  
  /* Темные варианты для эффектов наведения */
  --primary-dark: #5530C9;
  --secondary-dark: #30C988;
  --tertiary-dark: #C9306A;
  
  /* Светлые варианты для фонов и акцентов */
  --primary-light: #B298FF;
  --secondary-light: #98FFD9;
  --tertiary-light: #FF98BB;
  
  /* Нейтральные цвета */
  --gray-dark: #333333;
  --gray-medium: #666666;
  --gray-light: #E0E0E0;
  --white: #FFFFFF;
  
  /* Градиенты */
  --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  --gradient-secondary: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
  --gradient-tertiary: linear-gradient(135deg, var(--tertiary-color), var(--tertiary-dark));
  
  /* Тени */
  --shadow-small: 0 2px 5px rgba(0, 0, 0, 0.1);
  --shadow-medium: 0 4px 10px rgba(0, 0, 0, 0.15);
  --shadow-large: 0 8px 20px rgba(0, 0, 0, 0.2);
  
  /* Скругления */
  --border-radius-small: 4px;
  --border-radius-medium: 8px;
  --border-radius-large: 16px;
  --border-radius-xl: 24px;
  --border-radius-circle: 50%;
  
  /* Переходы */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s ease;
  --transition-slow: 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

/* Общие стили */
html, body {
  font-family: 'Work Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-dark);
  scroll-behavior: smooth;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .title, .subtitle {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
}

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

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

/* Биоморфные формы */
.biomorphic-shape {
  position: absolute;
  z-index: -1;
  opacity: 0.6;
  filter: blur(2px);
  transform: rotate(-10deg) scale(1.2);
  transition: var(--transition-slow);
}

.biomorphic-shape:hover {
  transform: rotate(5deg) scale(1.3);
  opacity: 0.8;
}

.biomorphic-shape-contact {
  position: absolute;
  bottom: -50px;
  left: -30px;
  z-index: -1;
  opacity: 0.3;
  transform: rotate(15deg) scale(0.8);
}

/* Кнопки */
.button {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  border-radius: var(--border-radius-medium);
  transition: var(--transition-medium);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: var(--shadow-small);
}

.button:hover {
  box-shadow: var(--shadow-medium);
  transform: translateY(-2px);
}

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

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

.button.is-outlined.is-light:hover {
  background-color: rgba(255, 255, 255, 0.2);
  color: var(--white);
}

/* Навигация */
.navbar {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-small);
  transition: var(--transition-medium);
}

.navbar.is-fixed-top {
  padding: 10px 0;
}

.navbar-item {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  color: var(--gray-dark);
  transition: var(--transition-fast);
}

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

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

/* Hero Секция */
.hero {
  position: relative;
  overflow: hidden;
}

.hero.is-fullheight-with-navbar {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

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

.hero-body .title,
.hero-body .subtitle {
  margin-bottom: 1.5rem;
}

.hero-foot {
  padding-bottom: 20px;
}

.progress-indicators {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
}

.progress-indicator {
  width: 12px;
  height: 12px;
  border-radius: var(--border-radius-circle);
  background-color: rgba(255, 255, 255, 0.3);
  transition: var(--transition-medium);
  cursor: pointer;
}

.progress-indicator.active {
  background-color: var(--white);
  transform: scale(1.2);
}

/* Mission Section */
.mission-section {
  position: relative;
  overflow: hidden;
  padding: 5rem 1.5rem;
}

.mission-section .content p {
  margin-bottom: 1.5rem;
}

/* Timeline */
.history-section {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 5rem 1.5rem;
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50px;
  width: 3px;
  background: var(--tertiary-color);
}

.timeline-item {
  display: flex;
  margin-bottom: 40px;
  position: relative;
}

.timeline-marker {
  width: 20px;
  height: 20px;
  border-radius: var(--border-radius-circle);
  background: var(--tertiary-color);
  flex-shrink: 0;
  margin-right: 20px;
  margin-left: 40px;
  box-shadow: var(--shadow-medium);
}

.timeline-content {
  flex-grow: 1;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  padding: 20px;
  border-radius: var(--border-radius-medium);
  box-shadow: var(--shadow-medium);
}

.timeline-content .heading {
  color: var(--tertiary-light);
  font-weight: bold;
  font-size: 0.9rem;
  margin-bottom: 10px;
}

/* Services Section */
.services-section {
  padding: 5rem 1.5rem;
  background-color: var(--white);
}

.card {
  height: 100%;
  border-radius: var(--border-radius-medium);
  box-shadow: var(--shadow-medium);
  overflow: hidden;
  transition: var(--transition-medium);
  display: flex;
  flex-direction: column;
}

.card:hover {
  box-shadow: var(--shadow-large);
  transform: translateY(-5px);
}

.card-image {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  border-top-left-radius: var(--border-radius-medium);
  border-top-right-radius: var(--border-radius-medium);
  height: 200px;
}

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

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

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

.card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-content h3 {
  margin-bottom: 1rem;
}

.card-content p {
  margin-bottom: 1.2rem;
  flex-grow: 1;
}

/* Case Studies Section */
.case-studies-section {
  padding: 5rem 1.5rem;
}

.custom-slider {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius-medium);
  box-shadow: var(--shadow-large);
}

.slider-container {
  position: relative;
}

.slider-item {
  display: none;
  padding: 2rem;
  background-color: var(--white);
  border-radius: var(--border-radius-medium);
}

.slider-item.active {
  display: block;
}

.slider-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem 0;
  background-color: var(--gray-light);
  border-bottom-left-radius: var(--border-radius-medium);
  border-bottom-right-radius: var(--border-radius-medium);
}

.slider-prev, .slider-next {
  background: transparent;
  border: none;
  font-size: 2rem;
  color: var(--primary-color);
  cursor: pointer;
  transition: var(--transition-fast);
}

.slider-prev:hover, .slider-next:hover {
  color: var(--primary-dark);
  transform: scale(1.2);
}

.slider-dots {
  display: flex;
  gap: 10px;
  margin: 0 20px;
}

.slider-dot {
  width: 10px;
  height: 10px;
  background-color: var(--gray-medium);
  border-radius: var(--border-radius-circle);
  cursor: pointer;
  transition: var(--transition-fast);
}

.slider-dot.active {
  background-color: var(--primary-color);
  transform: scale(1.2);
}

.progress-bar {
  height: 25px;
  background-color: var(--gray-light);
  border-radius: var(--border-radius-small);
  overflow: hidden;
  margin: 15px 0;
  position: relative;
}

.progress-text {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray-dark);
  font-size: 0.8rem;
  font-weight: bold;
  z-index: 2;
}

.progress-value {
  background: var(--gradient-secondary);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 10px;
  color: var(--white);
  font-weight: bold;
  transition: width 1s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

/* Team Section */
.team-section {
  padding: 5rem 1.5rem;
}

.team-section .card {
  text-align: center;
}

.team-section .card-image {
  height: 300px;
}

.team-section .image-container {
  width: 100%;
  height: 100%;
}

.team-section .image-container img {
  border-radius: 0;
}

.team-section .card-content {
  text-align: center;
}

/* Events Calendar */
.events-section {
  padding: 5rem 1.5rem;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.event-card {
  display: flex;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: var(--border-radius-medium);
  overflow: hidden;
  box-shadow: var(--shadow-medium);
  margin-bottom: 1.5rem;
  transition: var(--transition-medium);
}

.event-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-large);
}

.event-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 80px;
  background: var(--gradient-primary);
  color: var(--white);
  padding: 15px;
}

.event-date .day {
  font-size: 1.8rem;
  font-weight: bold;
  line-height: 1;
}

.event-date .month {
  font-size: 1rem;
  text-transform: uppercase;
}

.event-content {
  padding: 20px;
  flex-grow: 1;
}

.location {
  color: var(--gray-medium);
  margin-bottom: 10px;
}

/* Blog Section */
.blog-section {
  padding: 5rem 1.5rem;
}

.post-date {
  color: var(--gray-medium);
  font-size: 0.85rem;
  margin-bottom: 10px;
}

.blog-section .card-content {
  display: flex;
  flex-direction: column;
}

.blog-section .button {
  align-self: flex-start;
  margin-top: auto;
}

/* Webinars Section */
.webinars-section {
  padding: 5rem 1.5rem;
}

.webinar-card {
  background-color: var(--white);
  border-radius: var(--border-radius-medium);
  box-shadow: var(--shadow-medium);
  padding: 20px;
  margin-bottom: 1.5rem;
  transition: var(--transition-medium);
}

.webinar-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-large);
}

.webinar-meta {
  color: var(--gray-medium);
  font-size: 0.9rem;
  margin-bottom: 10px;
}

/* Customer Stories */
.customer-stories-section {
  padding: 5rem 1.5rem;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.testimonial-card {
  position: relative;
  background-color: rgba(255, 255, 255, 0.95);
  border-radius: var(--border-radius-medium);
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: var(--shadow-medium);
}

.quote-icon {
  position: absolute;
  top: -15px;
  left: 20px;
  font-size: 4rem;
  color: var(--primary-light);
  opacity: 0.3;
  font-family: serif;
}

.testimonial-text {
  position: relative;
  z-index: 1;
  margin-bottom: 20px;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: var(--border-radius-circle);
  object-fit: cover;
  margin-right: 15px;
  box-shadow: var(--shadow-small);
}

.author-info {
  flex-grow: 1;
}

.author-name {
  font-weight: bold;
  margin-bottom: 5px;
}

.author-position {
  color: var(--gray-medium);
  font-size: 0.85rem;
}

/* External Resources */
.external-resources-section {
  padding: 5rem 1.5rem;
}

.resource-card {
  background-color: var(--gray-light);
  padding: 20px;
  border-radius: var(--border-radius-medium);
  height: 100%;
}

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

.resource-list li {
  margin-bottom: 10px;
  padding-left: 20px;
  position: relative;
}

.resource-list li:before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--primary-color);
}

.resource-list a {
  color: var(--gray-dark);
  transition: var(--transition-fast);
}

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

/* Contact Section */
.contact-section {
  padding: 5rem 1.5rem;
  position: relative;
  overflow: hidden;
}

.contact-info {
  position: relative;
  padding: 20px;
  border-radius: var(--border-radius-medium);
  background-color: var(--gray-light);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.contact-item .icon {
  margin-right: 10px;
  color: var(--primary-color);
}

.contact-form {
  background-color: var(--white);
  padding: 30px;
  border-radius: var(--border-radius-medium);
  box-shadow: var(--shadow-medium);
}

.contact-form .button {
  margin-top: 10px;
}

/* Footer */
.footer {
  background-color: var(--gray-dark);
  color: var(--white);
  padding: 4rem 1.5rem 2rem;
}

.footer-links, .social-links {
  list-style: none;
  padding: 0;
}

.footer-links li, .social-links li {
  margin-bottom: 10px;
}

.footer-links a, .social-links a {
  color: var(--gray-light);
  transition: var(--transition-fast);
}

.footer-links a:hover, .social-links a:hover {
  color: var(--secondary-light);
  padding-left: 5px;
}

.social-links a {
  display: flex;
  align-items: center;
}

.social-links a::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-right: 8px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.social-links a[href*="facebook"]::before {
  background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512" fill="%23b0b0b0"><path d="M279.14 288l14.22-92.66h-88.91v-60.13c0-25.35 12.42-50.06 52.24-50.06h40.42V6.26S260.43 0 225.36 0c-73.22 0-121.08 44.38-121.08 124.72v70.62H22.89V288h81.39v224h100.17V288z"/></svg>');
}

.social-links a[href*="twitter"]::before {
  background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" fill="%23b0b0b0"><path d="M459.37 151.716c.325 4.548.325 9.097.325 13.645 0 138.72-105.583 298.558-298.558 298.558-59.452 0-114.68-17.219-161.137-47.106 8.447.974 16.568 1.299 25.34 1.299 49.055 0 94.213-16.568 130.274-44.832-46.132-.975-84.792-31.188-98.112-72.772 6.498.974 12.995 1.624 19.818 1.624 9.421 0 18.843-1.3 27.614-3.573-48.081-9.747-84.143-51.98-84.143-102.985v-1.299c13.969 7.797 30.214 12.67 47.431 13.319-28.264-18.843-46.781-51.005-46.781-87.391 0-19.492 5.197-37.36 14.294-52.954 51.655 63.675 129.3 105.258 216.365 109.807-1.624-7.797-2.599-15.918-2.599-24.04 0-57.828 46.782-104.934 104.934-104.934 30.213 0 57.502 12.67 76.67 33.137 23.715-4.548 46.456-13.32 66.599-25.34-7.798 24.366-24.366 44.833-46.132 57.827 21.117-2.273 41.584-8.122 60.426-16.243-14.292 20.791-32.161 39.308-52.628 54.253z"/></svg>');
}

.social-links a[href*="instagram"]::before {
  background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512" fill="%23b0b0b0"><path d="M224.1 141c-63.6 0-114.9 51.3-114.9 114.9s51.3 114.9 114.9 114.9S339 319.5 339 255.9 287.7 141 224.1 141zm0 189.6c-41.1 0-74.7-33.5-74.7-74.7s33.5-74.7 74.7-74.7 74.7 33.5 74.7 74.7-33.6 74.7-74.7 74.7zm146.4-194.3c0 14.9-12 26.8-26.8 26.8-14.9 0-26.8-12-26.8-26.8s12-26.8 26.8-26.8 26.8 12 26.8 26.8zm76.1 27.2c-1.7-35.9-9.9-67.7-36.2-93.9-26.2-26.2-58-34.4-93.9-36.2-37-2.1-147.9-2.1-184.9 0-35.8 1.7-67.6 9.9-93.9 36.1s-34.4 58-36.2 93.9c-2.1 37-2.1 147.9 0 184.9 1.7 35.9 9.9 67.7 36.2 93.9s58 34.4 93.9 36.2c37 2.1 147.9 2.1 184.9 0 35.9-1.7 67.7-9.9 93.9-36.2 26.2-26.2 34.4-58 36.2-93.9 2.1-37 2.1-147.8 0-184.8zM398.8 388c-7.8 19.6-22.9 34.7-42.6 42.6-29.5 11.7-99.5 9-132.1 9s-102.7 2.6-132.1-9c-19.6-7.8-34.7-22.9-42.6-42.6-11.7-29.5-9-99.5-9-132.1s-2.6-102.7 9-132.1c7.8-19.6 22.9-34.7 42.6-42.6 29.5-11.7 99.5-9 132.1-9s102.7-2.6 132.1 9c19.6 7.8 34.7 22.9 42.6 42.6 11.7 29.5 9 99.5 9 132.1s2.7 102.7-9 132.1z"/></svg>');
}

.social-links a[href*="linkedin"]::before {
  background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512" fill="%23b0b0b0"><path d="M100.28 448H7.4V148.9h92.88zM53.79 108.1C24.09 108.1 0 83.5 0 53.8a53.79 53.79 0 0 1 107.58 0c0 29.7-24.1 54.3-53.79 54.3zM447.9 448h-92.68V302.4c0-34.7-.7-79.2-48.29-79.2-48.29 0-55.69 37.7-55.69 76.7V448h-92.78V148.9h89.08v40.8h1.3c12.4-23.5 42.69-48.3 87.88-48.3 94 0 111.28 61.9 111.28 142.3V448z"/></svg>');
}

.footer-bottom {
  margin-top: 3rem;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
}

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

.success-card {
  background-color: var(--white);
  padding: 3rem;
  border-radius: var(--border-radius-large);
  box-shadow: var(--shadow-large);
  max-width: 600px;
}

.success-icon {
  font-size: 4rem;
  color: var(--secondary-color);
  margin-bottom: 1.5rem;
}

/* Terms & Privacy Pages */
.terms-content, .privacy-content {
  padding-top: 100px;
  max-width: 800px;
  margin: 0 auto;
  padding-bottom: 3rem;
}

/* Анимации */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

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

.animate-float {
  animation: float 4s ease-in-out infinite;
}

.animate-pulse {
  animation: pulse 3s cubic-bezier(0.68, -0.55, 0.27, 1.55) infinite;
}

/* Медиа запросы */
@media screen and (max-width: 768px) {
  .navbar {
    padding: 5px 0;
  }
  
  .hero-body {
    padding: 2rem 1rem;
  }
  
  .section {
    padding: 3rem 1rem;
  }
  
  .timeline::before {
    left: 30px;
  }
  
  .timeline-marker {
    margin-left: 20px;
  }
  
  .testimonial-card, .event-card, .webinar-card {
    padding: 15px;
  }
  
  .event-date {
    width: 60px;
    padding: 10px;
  }
  
  .contact-info {
    margin-bottom: 2rem;
  }
}

/* Дополнительные утилиты */
.is-retro {
  text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.2);
  letter-spacing: 1px;
}

.has-shadow {
  box-shadow: var(--shadow-medium);
}

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

/* Ссылки "Читать далее" */
a.button.is-small {
  font-size: 0.8rem;
  height: auto;
  padding: 8px 16px;
}

a.button.is-small:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateX(3px);
}