:root {
  /* Основная монохромная схема */
  --primary-color: #0050c8;
  --primary-light: #4d8aff;
  --primary-dark: #003a8f;
  --primary-gradient: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  
  /* Дополнительные оттенки */
  --accent-color: #00c2ff;
  --accent-light: #7ee3ff;
  --accent-dark: #0095c2;
  
  /* Нейтральные цвета */
  --text-dark: #202030;
  --text-light: #ffffff;
  --text-medium: #707080;
  --bg-light: #f5f8ff;
  --bg-dark: #121220;
  --bg-medium: #e0e5f2;
  
  /* Структурные переменные */
  --header-height: 80px;
  --container-width: 1200px;
  --border-radius: 8px;
  --border-radius-lg: 16px;
  --card-shadow: 0 10px 30px rgba(0, 80, 200, 0.1);
  --hover-shadow: 0 15px 40px rgba(0, 80, 200, 0.2);
  --transition-speed: 0.3s;
  
  /* Типографика */
  --heading-font: 'Oswald', sans-serif;
  --body-font: 'Nunito', sans-serif;
}

/* Базовые стили */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--body-font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-light);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 0.5em;
  color: var(--text-dark);
}

h1 {
  font-size: 3.5rem;
  letter-spacing: 0.5px;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1.5rem;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: all var(--transition-speed) ease;
}

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

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

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

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

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: var(--primary-gradient);
  margin: 15px auto 30px;
  border-radius: 2px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-medium);
  font-size: 1.2rem;
  margin-bottom: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Кнопки */
.btn, 
button,
input[type='submit'] {
  display: inline-block;
  background: var(--primary-gradient);
  color: white;
  padding: 12px 28px;
  border-radius: var(--border-radius);
  font-family: var(--heading-font);
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 80, 200, 0.3);
  transition: all var(--transition-speed) cubic-bezier(0.215, 0.610, 0.355, 1);
  position: relative;
  overflow: hidden;
  z-index: 1;
  text-align: center;
}

.btn::before, 
button::before,
input[type='submit']::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
  opacity: 0;
  z-index: -1;
  transition: opacity var(--transition-speed) ease;
}

.btn:hover, 
button:hover,
input[type='submit']:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 80, 200, 0.4);
}

.btn:hover::before, 
button:hover::before,
input[type='submit']:hover::before {
  opacity: 1;
}

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

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

.btn-secondary:hover {
  background: var(--primary-color);
  color: white;
}

.read-more {
  display: inline-flex;
  align-items: center;
  color: var(--primary-color);
  font-weight: 600;
  position: relative;
  padding-bottom: 3px;
  transition: all var(--transition-speed) ease;
}

.read-more::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-gradient);
  transition: width var(--transition-speed) ease;
}

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

.read-more:hover::after {
  width: 100%;
}

/* Хедер и навигация */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  transition: all var(--transition-speed) ease;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.logo {
  font-family: var(--heading-font);
  font-size: 1.8rem;
  font-weight: 700;
}

.logo span {
  color: var(--primary-color);
}

.main-nav {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin-left: 30px;
}

.nav-links a {
  color: var(--text-dark);
  font-weight: 600;
  position: relative;
  padding: 5px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-gradient);
  transition: width var(--transition-speed) ease;
}

.nav-links a:hover {
  color: var(--primary-color);
}

.nav-links a:hover::after {
  width: 100%;
}

.burger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
}

.burger-menu span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--text-dark);
  border-radius: 3px;
  transition: all var(--transition-speed) ease;
}

/* Hero секция */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: white;
  margin-top: var(--header-height);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 58, 143, 0.8), rgba(0, 30, 80, 0.9));
  z-index: 1;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.8));
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 800px;
  padding: 0 20px;
}

.hero-content h1 {
  color: white;
  font-size: 3.5rem;
  margin-bottom: 20px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-content p {
  color: white;
  font-size: 1.3rem;
  margin-bottom: 40px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

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

/* Секция услуг */
.services {
  padding: 80px 0;
  background-color: var(--bg-light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.card {
  background: white;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.card-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
  position: relative;
}

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

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

.card-content {
  padding: 25px;
  text-align: center;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.card-content h3 {
  margin-bottom: 15px;
  color: var(--text-dark);
}

.card-content p {
  color: var(--text-medium);
  margin-bottom: 20px;
}

/* Секция историй успеха */
.success-stories {
  padding: 80px 0;
  background: linear-gradient(135deg, #f8f9ff, #e6ebf8);
}

.carousel-container {
  position: relative;
  margin-top: 40px;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}

.case-study {
  min-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  padding: 0 15px;
}

@media (min-width: 768px) {
  .case-study {
    flex-direction: row;
  }
}

.case-image {
  flex: 1;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  height: 350px;
}

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

.case-content {
  flex: 1;
  padding: 30px;
  background: white;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--card-shadow);
}

.case-content h3 {
  color: var(--text-dark);
  margin-bottom: 10px;
}

.industry {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 20px;
  display: inline-block;
  background: var(--bg-medium);
  padding: 5px 15px;
  border-radius: 20px;
}

.carousel-nav {
  display: flex;
  justify-content: center;
  margin-top: 30px;
  gap: 15px;
}

.carousel-nav button {
  background: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: all var(--transition-speed) ease;
}

.carousel-nav button span {
  color: var(--primary-color);
  font-size: 1.5rem;
  line-height: 1;
}

.carousel-nav button:hover {
  background: var(--primary-color);
}

.carousel-nav button:hover span {
  color: white;
}

/* Секция исследований */
.research {
  padding: 80px 0;
  background-color: white;
}

.research-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.research-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--bg-light);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: transform var(--transition-speed) ease;
}

.research-item:hover {
  transform: translateY(-10px);
}

.research-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
}

.research-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.research-content {
  padding: 25px;
  text-align: center;
}

/* Внешние ресурсы */
.external-resources {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
  color: white;
}

.external-resources .section-title,
.external-resources .section-subtitle {
  color: white;
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.resource-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--border-radius-lg);
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: transform var(--transition-speed) ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.resource-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.15);
}

.resource-card h3 {
  color: white;
  margin-bottom: 15px;
  font-size: 1.4rem;
}

.resource-card p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 20px;
  flex-grow: 1;
}

.resource-link {
  display: inline-block;
  color: white;
  background: rgba(255, 255, 255, 0.2);
  padding: 8px 20px;
  border-radius: 30px;
  font-weight: 600;
  transition: all var(--transition-speed) ease;
}

.resource-link:hover {
  background: white;
  color: var(--primary-color);
}

/* Секция медиа */
.media {
  padding: 80px 0;
  background-color: var(--bg-light);
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.media-card {
  background: white;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: transform var(--transition-speed) ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.media-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.media-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.media-content {
  padding: 25px;
  text-align: center;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.media-date {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 15px;
  font-size: 0.9rem;
}

/* Секция событий */
.events {
  padding: 80px 0;
  background: white;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.event-card {
  display: flex;
  background: var(--bg-light);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: transform var(--transition-speed) ease;
}

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

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

.day {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.month {
  font-weight: 600;
  margin-top: 5px;
}

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

.event-location {
  color: var(--text-medium);
  margin-bottom: 15px;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 5px;
}

.event-register {
  display: inline-block;
  margin-top: 15px;
  color: var(--primary-color);
  font-weight: 600;
  position: relative;
  padding-bottom: 3px;
}

.event-register::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-gradient);
  transition: width var(--transition-speed) ease;
}

.event-register:hover::after {
  width: 100%;
}

/* Секция контактов */
.contact {
  padding: 80px 0;
  background: linear-gradient(135deg, #f8f9ff, #e6ebf8);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 50px;
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-info {
  padding-right: 30px;
}

.contact-info h2 {
  margin-bottom: 20px;
  color: var(--text-dark);
}

.contact-info p {
  color: var(--text-medium);
  margin-bottom: 30px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
}

.icon {
  font-size: 1.5rem;
  margin-right: 15px;
  color: var(--primary-color);
}

.contact-form {
  background: white;
  padding: 40px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--card-shadow);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--text-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
  font-family: var(--body-font);
  font-size: 1rem;
  transition: border-color var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(0, 80, 200, 0.1);
}

.submit-btn {
  width: 100%;
  padding: 14px;
  font-size: 1rem;
  margin-top: 10px;
}

/* Футер */
.footer {
  background: var(--bg-dark);
  color: white;
  padding: 80px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer h3 {
  color: white;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}

.footer h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--primary-gradient);
}

.footer-about p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
}

.footer-links ul,
.footer-legal ul,
.social-links {
  list-style: none;
}

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

.footer-links a,
.footer-legal a,
.social-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-speed) ease;
  display: inline-block;
  position: relative;
  padding-left: 15px;
}

.footer-links a::before,
.footer-legal a::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--primary-color);
}

.social-links a {
  padding-left: 0;
  margin-right: 15px;
}

.footer-links a:hover,
.footer-legal a:hover,
.social-links a:hover {
  color: white;
}

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

.footer-bottom p {
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}

/* Страница успеха */
.success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 50px 20px;
  background: linear-gradient(135deg, #f5f8ff, #e6ebf8);
}

.success-container {
  max-width: 600px;
  background: white;
  padding: 50px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--card-shadow);
}

.success-icon {
  width: 100px;
  height: 100px;
  background: var(--primary-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 30px;
  color: white;
  font-size: 3rem;
}

.success-title {
  color: var(--text-dark);
  margin-bottom: 20px;
}

.success-message {
  color: var(--text-medium);
  margin-bottom: 30px;
}

.back-to-home {
  display: inline-block;
}

/* Страницы Terms и Privacy */
.content-page {
  padding: 160px 0 80px;
}

.content-container {
  max-width: 800px;
  margin: 0 auto;
}

.content-container h1 {
  margin-bottom: 30px;
}

.content-container h2 {
  margin-top: 40px;
  margin-bottom: 20px;
}

.content-container p {
  margin-bottom: 20px;
}

.content-container ul, 
.content-container ol {
  margin-left: 20px;
  margin-bottom: 20px;
}

.content-container li {
  margin-bottom: 10px;
}

/* Адаптивность */
@media (max-width: 992px) {
  h1 {
    font-size: 3rem;
  }
  
  h2 {
    font-size: 2.2rem;
  }
  
  .hero-content h1 {
    font-size: 3rem;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .header-content {
    position: relative;
  }
  
  .main-nav {
    position: absolute;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 20px 0;
    display: none;
  }
  
  .nav-links {
    flex-direction: column;
    width: 100%;
  }
  
  .nav-links li {
    margin: 0;
    text-align: center;
    padding: 10px 0;
  }
  
  .burger-menu {
    display: flex;
  }
  
  .main-nav.active {
    display: block;
  }
  
  .hero-content {
    max-width: 100%;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-content p {
    font-size: 1.1rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  
  .btn {
    width: 100%;
  }
  
  .case-study {
    flex-direction: column;
  }
  
  .contact-info {
    padding-right: 0;
  }
}

@media (max-width: 576px) {
  .section-title {
    font-size: 1.8rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
  }
  
  .contact-form {
    padding: 25px;
  }
  
  .success-container {
    padding: 30px;
  }
}

/* Анимации при прокрутке */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* 3D эффекты */
.card, 
.research-item, 
.media-card, 
.event-card,
.resource-card {
  transform-style: preserve-3d;
  perspective: 1000px;
}

/* Стили для куки уведомления */
#cookieConsent {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 20px;
  text-align: center;
  z-index: 9999;
}

#acceptCookies {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 8px 16px;
  margin-top: 10px;
  cursor: pointer;
  border-radius: 4px;
}