:root {
  /* Основная цветовая палитра (пастельная) */
  --primary-color: #a3d9ff;
  --primary-dark: #7bc3ff;
  --secondary-color: #ffd6d6;
  --secondary-dark: #ffb8b8;
  --accent-color: #c9f7c9;
  --accent-dark: #a8e6a8;
  --text-color: #4a4a68;
  --text-light: #7a7a98;
  --text-dark: #2a2a38;
  --bg-light: #f7f7fc;
  --bg-dark: #e7e7ef;
  --bg-white: #ffffff;
  --shadow-light: rgba(180, 180, 200, 0.2);
  --shadow-dark: rgba(140, 140, 160, 0.3);
  --success-color: #a8e6a8;
  --warning-color: #ffe5a8;
  --error-color: #ffb8b8;
  
  /* Неоморфные переменные */
  --neomorph-bg: #f0f0f7;
  --neomorph-light: rgba(255, 255, 255, 0.7);
  --neomorph-shadow: rgba(163, 177, 198, 0.5);
  --neomorph-shadow-dark: rgba(163, 177, 198, 0.7);
  
  /* Переменные для скругления */
  --border-radius-sm: 8px;
  --border-radius-md: 12px;
  --border-radius-lg: 20px;
  --border-radius-xl: 30px;
  
  /* Переменные для переходов */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* Основные стили */
body {
  font-family: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-color);
  background-color: var(--bg-light);
  overflow-x: hidden;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-dark);
  font-weight: 600;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
  color: var(--text-color);
}

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

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

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

/* Контейнеры */
.container {
  max-width: 1200px;
  padding: 0 15px;
  margin: 0 auto;
}

section {
  padding: 80px 0;
  position: relative;
}

/* Неоморфный стиль */
.neomorphic-card {
  background: var(--neomorph-bg);
  border-radius: var(--border-radius-lg);
  box-shadow: 8px 8px 16px var(--neomorph-shadow),
              -8px -8px 16px var(--neomorph-light);
  padding: 25px;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}

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

.neomorphic-image {
  border-radius: var(--border-radius-md);
  box-shadow: 5px 5px 10px var(--neomorph-shadow),
              -5px -5px 10px var(--neomorph-light);
  transition: transform var(--transition-normal);
  overflow: hidden;
}

.neomorphic-image:hover {
  transform: scale(1.02);
}

/* Неоморфные кнопки */
.neomorphic-btn {
  border: none;
  border-radius: var(--border-radius-md);
  padding: 12px 24px;
  font-weight: 600;
  background: var(--primary-color);
  box-shadow: 5px 5px 10px var(--neomorph-shadow),
              -3px -3px 8px var(--neomorph-light);
  transition: all var(--transition-normal);
  display: inline-block;
  text-align: center;
  color: var(--text-dark);
  cursor: pointer;
}

.neomorphic-btn:hover, .neomorphic-btn:focus {
  transform: translateY(-2px);
  box-shadow: 6px 6px 12px var(--neomorph-shadow),
              -4px -4px 10px var(--neomorph-light);
  background: var(--primary-dark);
  color: var(--text-dark);
  text-decoration: none;
}

.neomorphic-btn:active {
  transform: translateY(1px);
  box-shadow: inset 3px 3px 7px var(--neomorph-shadow),
              inset -3px -3px 7px var(--neomorph-light);
}

.neomorphic-btn-secondary {
  background: transparent;
  border: 2px solid var(--bg-white);
  color: var(--bg-white);
  box-shadow: none;
}

.neomorphic-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  color: var(--bg-white);
  transform: translateY(-2px);
}

.neomorphic-btn-small {
  padding: 8px 16px;
  font-size: 0.9rem;
}

/* Неоморфные формы */
.neomorphic-input {
  background: var(--neomorph-bg);
  border: none;
  border-radius: var(--border-radius-md);
  padding: 12px 16px;
  box-shadow: inset 3px 3px 7px var(--neomorph-shadow),
              inset -3px -3px 7px var(--neomorph-light);
  transition: all var(--transition-normal);
  width: 100%;
  margin-bottom: 15px;
  color: var(--text-color);
}

.neomorphic-input:focus {
  outline: none;
  box-shadow: inset 4px 4px 8px var(--neomorph-shadow-dark),
              inset -4px -4px 8px var(--neomorph-light);
}

/* Хедер */
.neomorphic-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(240, 240, 247, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  padding: 15px 0;
}

.navbar-brand {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--primary-dark);
}

.navbar-nav .nav-link {
  color: var(--text-color);
  font-weight: 500;
  padding: 0.5rem 1rem;
  transition: color var(--transition-fast);
  position: relative;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-dark);
}

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

.navbar-nav .nav-link:hover:after {
  width: 80%;
}

/* Hero секция */
.hero-section {
  padding: 180px 0 120px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  background-attachment: fixed;
}

.hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--bg-white);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  color: var(--bg-white);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

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

.section-title {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  font-size: 1.2rem;
  margin-bottom: 3rem;
  color: var(--text-light);
}

.feature-card {
  height: 100%;
  transition: transform var(--transition-normal);
}

.feature-card:hover {
  transform: translateY(-10px);
}

.card-image {
  width: 100%;
  margin-bottom: 20px;
  text-align: center;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  height: 200px;
}

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

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

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

.card-content h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

/* Statistics секция */
.statistics-section {
  background-color: var(--bg-dark);
  padding: 100px 0;
}

.stat-card {
  text-align: center;
  padding: 30px 20px;
  height: 100%;
}

.stat-icon {
  margin-bottom: 15px;
}

.stat-icon img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  margin: 0 auto;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--primary-dark);
}

.stat-description {
  color: var(--text-light);
  font-size: 1.1rem;
}

/* Case Studies секция */
.case-studies-section {
  background-color: var(--bg-light);
}

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

.case-study-meta {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 15px;
}

/* Research секция */
.research-section {
  background-color: var(--bg-white);
}

.research-card {
  height: 100%;
}

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

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

.team-position {
  font-size: 1rem;
  color: var(--primary-dark);
  margin-bottom: 15px;
}

/* Sustainability секция */
.sustainability-section {
  background-color: var(--bg-white);
}

.sustainability-content {
  padding: 30px;
  height: 100%;
}

/* Success Stories секция */
.success-stories-section {
  background-color: var(--bg-light);
}

.testimonial-card {
  padding: 30px;
  text-align: center;
  height: 100%;
}

.testimonial-image {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 20px;
  box-shadow: 5px 5px 10px var(--neomorph-shadow),
              -5px -5px 10px var(--neomorph-light);
}

.testimonial-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-position {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 15px;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 20px;
}

.testimonial-rating {
  color: var(--warning-color);
  font-size: 1.2rem;
}

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

.contact-info {
  height: 100%;
}

.contact-map {
  border-radius: var(--border-radius-md);
  overflow: hidden;
}

.contact-form {
  height: 100%;
}

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

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

/* Footer секция */
.footer-section {
  background-color: var(--bg-dark);
  padding: 80px 0 20px;
  color: var(--text-color);
}

.footer-title {
  font-size: 1.3rem;
  margin-bottom: 20px;
  position: relative;
}

.footer-title:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 50px;
  height: 2px;
  background: var(--primary-color);
}

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

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

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

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

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 20px;
}

.social-links a {
  color: var(--text-color);
  transition: color var(--transition-fast);
  font-weight: 500;
}

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

.footer-subscribe-form {
  margin-top: 20px;
}

.footer-bottom {
  margin-top: 50px;
  padding-top: 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  text-align: center;
}

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

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

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

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

/* Media Queries */
@media (max-width: 992px) {
  .hero-title {
    font-size: 2.8rem;
  }
  
  .hero-subtitle {
    font-size: 1.3rem;
  }
  
  .section-title {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding: 150px 0 100px;
  }
  
  .hero-title {
    font-size: 2.3rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  section {
    padding: 60px 0;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .stat-number {
    font-size: 2rem;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  
  .hero-buttons .btn {
    width: 100%;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
  }
}

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

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

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

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

/* 3D эффекты */
.tilt-effect {
  transform-style: preserve-3d;
  transition: transform 0.5s ease;
}

.tilt-effect:hover {
  transform: perspective(1000px) rotateX(5deg) rotateY(5deg);
}

/* Дополнительные утилиты */
.text-center {
  text-align: center;
}

.rounded-circle {
  border-radius: 50%;
}

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

.w-100 {
  width: 100%;
}

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

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

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

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

/* ScrollReveal анимации */
[data-sr-id] {
  visibility: hidden;
}