:root {
  /* Пастельная цветовая схема */
  --primary-color: #a786df;
  --primary-dark: #8a67c7;
  --primary-light: #c2a7ec;
  --secondary-color: #86dfcb;
  --secondary-dark: #67c7a7;
  --secondary-light: #a7ecdf;
  --accent-color: #dfb686;
  --accent-dark: #c79867;
  --accent-light: #ecdba7;
  
  /* Нейтральные цвета */
  --background-light: #f5f5f7;
  --background-dark: #2d2d30;
  --text-dark: #333333;
  --text-light: #ffffff;
  
  /* Ретро цвета */
  --retro-orange: #ff9e7d;
  --retro-yellow: #ffd07d;
  --retro-teal: #7de6ff;
  --retro-pink: #ff7dbd;
  
  /* Параметры анимации */
  --transition-slow: 0.5s ease;
  --transition-normal: 0.3s ease;
  --transition-fast: 0.2s ease;
  
  /* Параметры теней */
  --box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  --box-shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.12);
  --text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* Общие стили */
body {
  font-family: 'Nunito', sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  background-color: var(--background-light);
}

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

/* Фиксация хедера */
.navbar {
  transition: background-color var(--transition-normal);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
}

.navbar-item {
  font-family: 'Oswald', sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color var(--transition-normal);
}

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

/* Hero секция */
.hero {
  position: relative;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: var(--text-light);
}

.hero .title, 
.hero .subtitle, 
.hero p {
  color: var(--text-light);
  text-shadow: var(--text-shadow);
}

.hero .button {
  margin-right: 10px;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

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

/* Общие стили для кнопок */
.button {
  font-family: 'Oswald', sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 4px;
  transition: all var(--transition-normal);
}

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

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

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

.button.is-primary.is-outlined:hover {
  background-color: var(--primary-color);
  color: var(--text-light);
}

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

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

.section .title {
  position: relative;
  margin-bottom: 2.5rem;
  color: var(--text-dark);
}

.section .title:after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  border-radius: 3px;
}

.has-background-light {
  background-color: var(--background-light);
  background-image: linear-gradient(135deg, rgba(167, 134, 223, 0.05) 0%, rgba(134, 223, 203, 0.05) 100%);
}

/* Карточки */
.card {
  border-radius: 8px;
  overflow: hidden;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  margin-bottom: 20px;
  /* height: 100%; */
  display: flex;
  flex-direction: column;
  box-shadow: var(--box-shadow);
}

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

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

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

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

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

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

.card-content p {
  /* flex-grow: 1; */
  margin-bottom: 1.5rem;
}

.card-content .button {
  align-self: flex-start;
}

/* Сервисы */
.service-card .card-image {
  height: 220px;
}

.service-card .card-image img {
  height: 100%;
}

/* Trust блоки */
.trust-block {
  text-align: center;
  padding: 2rem;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.95));
  border-radius: 8px;
  box-shadow: var(--box-shadow);
  transition: transform var(--transition-normal);
}

.trust-block:hover {
  transform: translateY(-5px);
}

.trust-block .title {
  color: var(--primary-color);
}

.trust-block .title:after {
  left: 50%;
  transform: translateX(-50%);
}

/* Case Studies */
.case-study-card .card-image {
  height: 250px;
}

.case-study-card .card-image img {
  height: 100%;
}

/* Ресурсы */
.resource-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.8));
  height: 100%;
}

.resource-card .card-content {
  height: 100%;
}

/* Портфолио */
.portfolio-card .card-image {
  height: 180px;
}

.portfolio-card .card-image img {
  height: 100%;
}

/* Вижн */
.vision-card .card-image {
  height: 300px;
}

.vision-card .card-image img {
  height: 100%;
}

/* Вебинары */
.webinar-card .card-image {
  height: 250px;
}

.webinar-card .card-image img {
  height: 100%;
}

/* Пресс */
.press-card .card-image {
  height: 200px;
}

.press-card .card-image img {
  height: 100%;
}

/* Карьера */
.career-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.8));
  /* height: 100%; */
}

/* FAQ */
.faq-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.8));
  /* height: 100%; */
}

.faq-card .title {
  color: var(--primary-color);
}

/* Контакты */
.contact-info-card,
.contact-form-card {
  /* height: 100%; */
}

.contact-form-card form {
  margin-bottom: 0;
}

.contact-form-card .input,
.contact-form-card .textarea,
.contact-form-card .select select {
  border-radius: 4px;
  border: 1px solid #ddd;
  transition: border-color var(--transition-normal);
}

.contact-form-card .input:focus,
.contact-form-card .textarea:focus,
.contact-form-card .select select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 1px var(--primary-light);
}

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

.social-links a {
  color: var(--primary-color);
  font-weight: 600;
  transition: color var(--transition-normal);
}

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

/* Футер */
.footer {
  background-color: var(--background-dark);
  color: var(--text-light);
  padding: 4rem 1.5rem;
}

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

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

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

.footer a {
  color: var(--text-light);
  opacity: 0.8;
  transition: opacity var(--transition-normal);
}

.footer a:hover {
  opacity: 1;
  color: var(--secondary-light);
}

/* Cookie Consent */
#cookie-consent {
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(5px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

#cookie-consent p {
  max-width: 800px;
  margin: 0 auto;
  margin-bottom: 1rem;
}

#accept-cookies {
  font-size: 0.9rem;
  padding: 0.5rem 1.5rem;
}

/* 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(--primary-color);
  margin-bottom: 2rem;
}

/* Privacy & Terms Pages */
.content-page {
  padding-top: 100px;
  padding-bottom: 3rem;
}

.content-page .container {
  max-width: 800px;
}

.content-page h1 {
  margin-bottom: 2rem;
}

.content-page h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

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

/* Responsive Adjustments */
@media screen and (max-width: 768px) {
  .hero-body {
    padding: 6rem 1.5rem;
  }
  
  .section {
    padding: 3rem 1.5rem;
  }
  
  .card-image {
    height: auto !important;
  }
  
  .card-image img {
    height: auto !important;
  }
  
  .navbar-menu {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
  }
  
  .navbar-burger {
    color: var(--text-dark);
  }
  
  .footer {
    padding: 3rem 1.5rem;
  }
}

/* Animation Classes */
.fade-in {
  animation: fadeIn 1s ease-in-out;
}

.slide-up {
  animation: slideUp 0.8s ease-in-out;
}

.slide-right {
  animation: slideRight 0.8s ease-in-out;
}

/* Animation Keyframes */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

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

/* Retro Elements */
.retro-gradient {
  background: linear-gradient(45deg, var(--retro-orange), var(--retro-yellow), var(--retro-teal), var(--retro-pink));
  background-size: 400% 400%;
  animation: gradient 15s ease infinite;
}

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

.retro-border {
  border: 2px solid;
  border-image-slice: 1;
  border-image-source: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

.retro-card {
  position: relative;
  overflow: hidden;
}

.retro-card::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color), var(--accent-color));
  z-index: -1;
  border-radius: 10px;
}

/* Read More Links */
a.read-more {
  color: var(--primary-color);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  transition: color var(--transition-normal);
}

a.read-more::after {
  content: '→';
  margin-left: 5px;
  transition: transform var(--transition-normal);
}

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

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