:root {
  /* Цветовая схема "Яркая" в неоморфном стиле */
  --primary-color: #3498db;
  --primary-color-dark: #2980b9;
  --primary-color-light: #5dade2;
  --secondary-color: #2ecc71;
  --secondary-color-dark: #27ae60;
  --secondary-color-light: #58d68d;
  --accent-color: #e74c3c;
  --accent-color-dark: #c0392b;
  --accent-color-light: #ec7063;
  
  /* Нейтральные цвета для неоморфизма */
  --neomorphic-bg: #f0f5f9;
  --neomorphic-light: #ffffff;
  --neomorphic-shadow-light: rgba(255, 255, 255, 0.8);
  --neomorphic-shadow-dark: rgba(174, 174, 192, 0.3);
  
  /* Текст */
  --text-primary: #2c3e50;
  --text-secondary: #34495e;
  --text-light: #7f8c8d;
  --text-white: #ffffff;
  
  /* Эко-минимализм акценты */
  --eco-green: #72b01d;
  --eco-blue: #3e92cc;
  
  /* Размеры и радиусы */
  --border-radius-sm: 8px;
  --border-radius-md: 12px;
  --border-radius-lg: 20px;
  --box-shadow: 10px 10px 20px var(--neomorphic-shadow-dark), 
                -10px -10px 20px var(--neomorphic-shadow-light);
  --box-shadow-inset: inset 5px 5px 10px var(--neomorphic-shadow-dark), 
                     inset -5px -5px 10px var(--neomorphic-shadow-light);
  --transition-speed: 0.3s;
}

/* Базовые стили */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Nunito', sans-serif;
  background-color: var(--neomorphic-bg);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

.section-header {
  margin-bottom: 50px;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 70px;
  height: 4px;
  background: var(--primary-color);
  border-radius: 2px;
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 800px;
  margin: 0 auto;
}

.text-center .section-title::after {
  left: 50%;
  transform: translateX(-50%);
}

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

/* Неоморфные элементы */
.neomorphic-card {
  background: var(--neomorphic-bg);
  border-radius: var(--border-radius-md);
  box-shadow: var(--box-shadow);
  padding: 25px;
  margin-bottom: 30px;
  transition: transform var(--transition-speed), box-shadow var(--transition-speed);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.neomorphic-card:hover {
  transform: translateY(-5px);
  box-shadow: 12px 12px 25px var(--neomorphic-shadow-dark), 
              -12px -12px 25px var(--neomorphic-shadow-light);
}

.neomorphic-image {
  border-radius: var(--border-radius-md);
  box-shadow: var(--box-shadow);
  overflow: hidden;
  margin: 0 auto 20px;
  transition: transform var(--transition-speed);
}

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

.neomorphic-input, .neomorphic-textarea {
  background: var(--neomorphic-bg);
  border: none;
  border-radius: var(--border-radius-sm);
  box-shadow: var(--box-shadow-inset);
  padding: 12px 15px;
  width: 100%;
  color: var(--text-primary);
  transition: all var(--transition-speed);
  margin-bottom: 15px;
}

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

.neomorphic-navbar {
  background: var(--neomorphic-bg) !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  padding: 15px 0;
}

.neomorphic-progress {
  height: 15px;
  border-radius: 10px;
  background-color: var(--neomorphic-bg);
  box-shadow: var(--box-shadow-inset);
  margin-bottom: 20px;
  overflow: hidden;
}

.neomorphic-progress .progress-bar {
  background-color: var(--primary-color);
  border-radius: 10px;
  box-shadow: none;
}

.neomorphic-checkbox {
  margin-right: 10px;
}

/* Глобальные стили для кнопок */
.btn, button, input[type='submit'] {
  display: inline-block;
  font-weight: 600;
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
  border: none;
  padding: 12px 25px;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: var(--border-radius-sm);
  transition: all var(--transition-speed);
  box-shadow: var(--box-shadow);
  background-color: var(--neomorphic-bg);
  color: var(--text-primary);
  text-decoration: none;
  margin: 5px;
}

.btn:hover, button:hover, input[type='submit']:hover {
  transform: translateY(-3px);
  box-shadow: 12px 12px 25px var(--neomorphic-shadow-dark), 
              -12px -12px 25px var(--neomorphic-shadow-light);
}

.btn:active, button:active, input[type='submit']:active {
  transform: translateY(1px);
  box-shadow: var(--box-shadow-inset);
}

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

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

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

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

/* Навигация */
.navbar-brand {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--primary-color);
}

.brand-text {
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.nav-link {
  color: var(--text-primary);
  font-weight: 600;
  padding: 0.5rem 1rem !important;
  position: relative;
  transition: all var(--transition-speed);
}

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

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

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

.header-area {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all var(--transition-speed);
}

/* Hero Section */
.hero-section {
  padding: 0;
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-overlay::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4));
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  animation: fadeInDown 1s ease-out;
}

.hero-subtitle {
  font-size: 1.5rem;
  color: var(--text-white);
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
  animation: fadeInUp 1s ease-out 0.3s;
  animation-fill-mode: both;
}

.hero-buttons {
  position: relative;
  z-index: 1;
  animation: fadeIn 1s ease-out 0.6s;
  animation-fill-mode: both;
}

.parallax-section {
  background-attachment: fixed;
  background-size: cover;
  background-repeat: no-repeat;
}

/* Методология */
.methodology-section {
  background-color: var(--neomorphic-bg);
}

.methodology-cards {
  margin-bottom: 50px;
}

.methodology-cards .card {
  height: 100%;
}

.card-image {
  width: 100%;
  height: 230px;
  overflow: hidden;
  border-radius: var(--border-radius-sm);
  margin-bottom: 20px;
}

.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 {
  text-align: center;
  padding: 0 10px;
}

.card-content h3 {
  margin-top: 0;
  font-size: 1.8rem;
  color: var(--primary-color);
}

.methodology-details {
  margin-top: 50px;
}

.methodology-content {
  padding: 20px;
}

.methodology-content h3 {
  color: var(--primary-color);
  margin-bottom: 20px;
}

.progress-container {
  margin-top: 30px;
}

.progress-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-weight: 600;
}

/* Процесс */
.process-section {
  background-color: var(--neomorphic-bg);
}

.process-timeline {
  margin-bottom: 50px;
}

.process-step {
  position: relative;
  text-align: center;
  height: 100%;
}

.step-number {
  width: 40px;
  height: 40px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
  font-weight: bold;
  margin: 0 auto 15px;
}

.step-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.step-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.process-details {
  margin-top: 50px;
}

.process-content {
  padding: 20px;
}

.process-content h3 {
  color: var(--primary-color);
  margin-bottom: 20px;
}

.process-features {
  margin-top: 30px;
}

.feature-item {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.feature-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 15px;
  box-shadow: var(--box-shadow);
  flex-shrink: 0;
}

.feature-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-text {
  flex-grow: 1;
}

.feature-text h4 {
  margin: 0 0 5px;
  font-size: 1.2rem;
  color: var(--text-primary);
}

.feature-text p {
  margin: 0;
  color: var(--text-light);
}

/* Инновации */
.innovation-section {
  background-color: var(--neomorphic-bg);
}

.innovation-content {
  padding: 20px;
}

.innovation-content h3 {
  color: var(--primary-color);
  margin-bottom: 20px;
}

.innovation-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.stat-item {
  text-align: center;
  padding: 20px 10px;
}

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

.stat-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.innovation-video-wrapper {
  margin-top: 30px;
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius-md);
}

.innovation-video-placeholder {
  width: 100%;
  height: 300px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
}

.play-button {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-speed);
}

.play-button img {
  width: 40px;
  height: 40px;
}

.innovation-video-placeholder:hover .play-button {
  transform: scale(1.1);
  background: rgba(255, 255, 255, 0.9);
}

.video-caption {
  text-align: center;
  padding: 15px;
  font-weight: 600;
}

.innovation-features {
  margin-top: 50px;
}

.feature-card {
  height: 100%;
}

/* Ресурсы */
.resources-section {
  background-color: var(--neomorphic-bg);
}

.resources-grid {
  margin-top: 30px;
}

.resource-card {
  height: 100%;
}

.resource-link {
  display: inline-block;
  color: var(--primary-color);
  font-weight: 600;
  margin-top: 15px;
  transition: all var(--transition-speed);
  text-decoration: none;
  position: relative;
}

.resource-link::after {
  content: '→';
  position: absolute;
  right: -20px;
  opacity: 0;
  transition: all var(--transition-speed);
}

.resource-link:hover {
  color: var(--primary-color-dark);
  padding-right: 25px;
}

.resource-link:hover::after {
  opacity: 1;
  right: 0;
}

/* Карьера */
.careers-section {
  padding: 0;
  position: relative;
}

.careers-overlay {
  padding: 80px 0;
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.careers-overlay::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5));
}

.careers-section .section-title,
.careers-section .section-subtitle {
  color: var(--text-white);
  position: relative;
  z-index: 1;
}

.careers-content {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--border-radius-md);
  padding: 30px;
}

.careers-content h3 {
  color: var(--primary-color);
}

.career-options {
  margin-top: 25px;
}

.option-item {
  margin-bottom: 20px;
}

.option-item h4 {
  font-size: 1.3rem;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.careers-testimonials {
  margin-top: 30px;
}

.testimonial {
  padding: 25px;
  margin-bottom: 25px;
  background: rgba(255, 255, 255, 0.9);
}

.testimonial-content p {
  font-style: italic;
  position: relative;
  padding: 0 20px;
}

.testimonial-content p::before,
.testimonial-content p::after {
  content: '"';
  font-size: 2rem;
  color: var(--primary-color);
  position: absolute;
}

.testimonial-content p::before {
  left: 0;
  top: -10px;
}

.testimonial-content p::after {
  right: 0;
  bottom: -20px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  margin-top: 15px;
}

.author-image {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-right: 15px;
  object-fit: cover;
}

.author-info h4 {
  margin: 0;
  font-size: 1.1rem;
}

.author-info p {
  margin: 0;
  color: var(--text-light);
  font-size: 0.9rem;
}

.career-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.stat-box {
  text-align: center;
  padding: 20px 15px;
  background: rgba(255, 255, 255, 0.9);
}

/* Контакты */
.contact-section {
  background-color: var(--neomorphic-bg);
}

.contact-info {
  height: 100%;
}

.contact-info h3 {
  color: var(--primary-color);
  margin-bottom: 20px;
}

.contact-details {
  margin-top: 25px;
}

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

.contact-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 15px;
  box-shadow: var(--box-shadow);
  flex-shrink: 0;
}

.contact-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-text {
  flex-grow: 1;
}

.contact-text h4 {
  margin: 0 0 5px;
  font-size: 1.1rem;
}

.contact-text p {
  margin: 0;
}

.working-hours {
  margin-top: 30px;
}

.working-hours h4 {
  color: var(--primary-color);
  margin-bottom: 15px;
}

.working-hours p {
  margin-bottom: 5px;
}

.contact-form {
  height: 100%;
}

.contact-form h3 {
  color: var(--primary-color);
  margin-bottom: 10px;
}

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

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

/* Футер */
.footer-section {
  background-color: var(--text-primary);
  color: var(--text-white);
  padding: 60px 0 0;
}

.footer-content {
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-info h3 {
  color: var(--text-white);
  font-size: 2rem;
  margin-bottom: 20px;
}

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

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

.social-links a {
  color: var(--text-white);
  text-decoration: none;
  transition: all var(--transition-speed);
  font-weight: 600;
  position: relative;
  padding-bottom: 5px;
}

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

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

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

.footer-links h4 {
  color: var(--text-white);
  margin-bottom: 20px;
  font-size: 1.3rem;
}

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

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

.footer-links ul li a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all var(--transition-speed);
}

.footer-links ul li a:hover {
  color: var(--primary-color-light);
  padding-left: 5px;
}

.footer-newsletter h4 {
  color: var(--text-white);
  margin-bottom: 20px;
  font-size: 1.3rem;
}

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

.footer-newsletter input {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: var(--text-white);
  padding: 10px 15px;
  width: 100%;
  border-radius: var(--border-radius-sm);
  margin-bottom: 15px;
}

.footer-newsletter input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom {
  padding: 20px 0;
}

.copyright p {
  margin: 0;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom-links {
  display: flex;
  justify-content: flex-end;
  gap: 20px;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: all var(--transition-speed);
}

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

/* Куки согласие */
.cookie-consent {
  position: fixed;
  bottom: 20px;
  left: 20px;
  max-width: 400px;
  background: var(--neomorphic-bg);
  border-radius: var(--border-radius-md);
  box-shadow: var(--box-shadow);
  padding: 20px;
  z-index: 1000;
}

.cookie-content p {
  margin-bottom: 15px;
}

.cookie-btn {
  background: var(--primary-color);
  color: var(--text-white);
  border: none;
  border-radius: var(--border-radius-sm);
  padding: 8px 15px;
  cursor: pointer;
  transition: all var(--transition-speed);
}

.cookie-btn:hover {
  background: var(--primary-color-dark);
}

/* Страница success.html */
.success-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  text-align: center;
  padding: 20px;
}

.success-container {
  max-width: 600px;
  padding: 40px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--box-shadow);
  background-color: var(--neomorphic-bg);
}

.success-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 30px;
  background-color: var(--secondary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
  font-size: 50px;
  animation: pulse 2s infinite;
}

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

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

/* Страницы privacy и terms */
.privacy-page, .terms-page {
  padding-top: 100px;
}

.content-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 30px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--box-shadow);
  background-color: var(--neomorphic-bg);
}

.content-title {
  color: var(--primary-color);
  margin-bottom: 30px;
}

/* Анимации */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.7);
  }
  70% {
    transform: scale(1.1);
    box-shadow: 0 0 0 15px rgba(46, 204, 113, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(46, 204, 113, 0);
  }
}

/* Адаптивность */
@media (max-width: 991px) {
  .section-title {
    font-size: 2.2rem;
  }
  
  .hero-title {
    font-size: 2.8rem;
  }
  
  .hero-subtitle {
    font-size: 1.3rem;
  }
  
  .innovation-stats {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  }
  
  .footer-bottom-links {
    justify-content: center;
    margin-top: 20px;
  }
  
  .footer-content {
    text-align: center;
  }
  
  .social-links {
    justify-content: center;
  }
}

@media (max-width: 767px) {
  section {
    padding: 60px 0;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .hero-title {
    font-size: 2.3rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .stat-value {
    font-size: 2rem;
  }
  
  .innovation-video-placeholder {
    height: 200px;
  }
  
  .play-button {
    width: 60px;
    height: 60px;
  }
  
  .play-button img {
    width: 30px;
    height: 30px;
  }
  
  .careers-content,
  .testimonial {
    padding: 20px 15px;
  }
  
  .footer-info,
  .footer-links,
  .footer-newsletter {
    margin-bottom: 30px;
  }
}

@media (max-width: 575px) {
  .section-title {
    font-size: 1.8rem;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  
  .contact-item,
  .feature-item {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .contact-icon,
  .feature-icon {
    margin-bottom: 10px;
  }
  
  .testimonial-author {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .author-image {
    margin-right: 0;
    margin-bottom: 10px;
  }
  
  .cookie-consent {
    left: 10px;
    right: 10px;
    max-width: none;
  }
}