:root {
  /* Основная цветовая схема (градиентная) */
  --primary-color: #6366f1;
  --primary-dark: #4f46e5;
  --primary-light: #818cf8;
  --secondary-color: #10b981;
  --secondary-dark: #059669;
  --secondary-light: #34d399;
  --accent-color: #f43f5e;
  --accent-dark: #e11d48;
  --accent-light: #fb7185;
  
  /* Нейтральные цвета */
  --dark: #1e293b;
  --dark-light: #334155;
  --light: #f1f5f9;
  --light-dark: #e2e8f0;
  
  /* Градиенты */
  --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  --gradient-secondary: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
  --gradient-accent: linear-gradient(135deg, var(--accent-color), var(--accent-dark));
  --gradient-light: linear-gradient(135deg, var(--light), var(--light-dark));
  --gradient-dark: linear-gradient(135deg, var(--dark), var(--dark-light));
  
  /* Тени для нейроморфизма */
  --shadow-small: 3px 3px 6px rgba(0, 0, 0, 0.1), -3px -3px 6px rgba(255, 255, 255, 0.7);
  --shadow-medium: 5px 5px 10px rgba(0, 0, 0, 0.1), -5px -5px 10px rgba(255, 255, 255, 0.7);
  --shadow-large: 10px 10px 20px rgba(0, 0, 0, 0.1), -10px -10px 20px rgba(255, 255, 255, 0.7);
  --shadow-inset: inset 3px 3px 6px rgba(0, 0, 0, 0.1), inset -3px -3px 6px rgba(255, 255, 255, 0.7);
  
  /* Скругления */
  --border-radius-small: 8px;
  --border-radius-medium: 12px;
  --border-radius-large: 20px;
  --border-radius-full: 9999px;
  
  /* Анимации */
  --transition-slow: all 0.5s ease;
  --transition-medium: all 0.3s ease;
  --transition-fast: all 0.15s ease;
}

/* Общие стили */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--dark);
  background-color: var(--light);
  overflow-x: hidden;
  min-height: 100vh;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6, .title, .subtitle {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.2;
}

.container {
  max-width: 1200px;
  padding: 0 1.5rem;
}

img {
  max-width: 100%;
  height: auto;
  border-radius: var(--border-radius-medium);
  transition: var(--transition-medium);
}

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

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

/* Кнопки */
.button {
  background: var(--gradient-primary);
  color: white !important;
  font-weight: 600;
  border: none;
  border-radius: var(--border-radius-full);
  padding: 0.75rem 1.5rem;
  cursor: pointer;
  transition: var(--transition-medium);
  box-shadow: var(--shadow-small);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
}

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

.button:active {
  transform: translateY(1px);
  box-shadow: var(--shadow-small);
}

.button::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.1);
  transform: scale(0);
  border-radius: 50%;
  transition: transform 0.5s ease;
  z-index: 1;
}

.button:hover::after {
  transform: scale(2);
}

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

.button.is-secondary {
  background: var(--gradient-secondary);
}

.button.is-accent {
  background: var(--gradient-accent);
}

.button.is-light {
  background: var(--gradient-light);
  color: var(--dark) !important;
}

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

.button.is-rounded {
  border-radius: var(--border-radius-full);
}

.button.is-large {
  font-size: 1.25rem;
  padding: 0.75rem 2rem;
}

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

/* Нейроморфизм для карточек */
.neumorph-card {
  background: var(--light);
  border-radius: var(--border-radius-medium);
  box-shadow: var(--shadow-medium);
  transition: var(--transition-medium);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

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

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

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

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

/* Навигация */
.navbar {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  transition: var(--transition-medium);
}

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

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

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

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

.hero-body {
  padding: 10rem 1.5rem;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  position: relative;
  width: 100%;
}

.hero .title,
.hero .subtitle,
.hero p {
  color: white !important;
  position: relative;
  z-index: 1;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* Секции */
.section {
  padding: 5rem 1.5rem;
  position: relative;
}

.section:nth-child(odd) {
  background-color: var(--light);
}

.section:nth-child(even) {
  background-color: var(--light-dark);
}

.section h2.title {
  margin-bottom: 3rem;
  position: relative;
  display: inline-block;
}

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

/* About секция */
.about-section {
  background-color: var(--light);
}

.about-section .image-container {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  border-radius: var(--border-radius-medium);
}

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

/* Features секция */
.features-section {
  background-color: var(--light-dark);
}

.features-section .card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.features-section .card-content {
  flex: 1;
}

/* Team секция */
.team-section {
  background-color: var(--light);
}

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

.team-section .card-image {
  width: 100%;
  height: 250px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.team-section .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Awards секция */
.awards-section {
  background-color: var(--light-dark);
}

.awards-section .card {
  text-align: center;
  height: 100%;
}

/* Contact секция */
.contact-section {
  background-color: var(--light);
}

.contact-section .card {
  height: 100%;
}

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

.contact-form .label {
  font-weight: 600;
  color: var(--dark);
}

.contact-form .input,
.contact-form .textarea {
  background-color: var(--light);
  border: 2px solid var(--light-dark);
  border-radius: var(--border-radius-medium);
  box-shadow: var(--shadow-inset);
  transition: var(--transition-fast);
}

.contact-form .input:focus,
.contact-form .textarea:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.2);
}

/* External Resources секция */
.external-resources-section {
  background-color: var(--light-dark);
}

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

.resource-list li {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--light-dark);
}

.resource-list li:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

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

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

.resource-list h4 {
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.resource-list p {
  color: var(--dark-light);
}

/* Footer */
.footer {
  background-color: var(--dark);
  color: var(--light);
  padding: 3rem 1.5rem;
}

.footer .title {
  color: var(--light);
}

.footer a {
  color: var(--light);
  transition: var(--transition-fast);
}

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

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

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

.social-links a {
  display: inline-block;
  margin-right: 1rem;
  font-weight: 600;
  color: var(--light);
  transition: var(--transition-fast);
}

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

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

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

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

.privacy-page .container,
.terms-page .container {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
}

/* Анимации */
.animate-element {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-element.animated {
  opacity: 1;
  transform: translateY(0);
}

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

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

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

/* Utility Classes */
.has-text-centered {
  text-align: center;
}

.has-text-white {
  color: white !important;
}

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

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

.image-container {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  border-radius: var(--border-radius-medium);
  width: 100%;
}

/* Медиа-запросы */
@media screen and (max-width: 1023px) {
  .navbar-menu {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  }
  
  .hero-body {
    padding: 8rem 1rem;
  }
  
  .section {
    padding: 4rem 1rem;
  }
  
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
  
  .cookie-content p {
    margin-right: 0;
    margin-bottom: 1rem;
  }
}

@media screen and (max-width: 768px) {
  .hero-body {
    padding: 6rem 1rem;
  }
  
  .section {
    padding: 3rem 1rem;
  }
  
  .card-image {
    height: 200px;
  }
  
  .section h2.title::after {
    width: 70%;
  }
}
*{
  opacity: 1 !important;
}
figure{
  width: 100%;
}