:root {
  /* Раздельно-дополнительная цветовая схема */
  --primary-color: #4a6bff;
  --primary-dark: #3a56d9;
  --primary-light: #7b8fff;
  --secondary-color: #ff7b4a;
  --secondary-dark: #e16036;
  --secondary-light: #ff9c75;
  --accent-color: #6de8bf;
  --accent-dark: #4ac99f;
  --accent-light: #8fffdb;
  
  /* Нейтральные цвета */
  --dark: #222;
  --gray-dark: #444;
  --gray: #666;
  --gray-light: #ddd;
  --light: #f7f7f7;
  --white: #fff;
  
  /* Тени для нейроморфизма */
  --shadow-light: rgba(255, 255, 255, 0.8);
  --shadow-dark: rgba(0, 0, 0, 0.1);
  
  /* Размеры и радиусы */
  --border-radius: 12px;
  --border-radius-lg: 20px;
  --box-shadow: 8px 8px 16px var(--shadow-dark), -8px -8px 16px var(--shadow-light);
  --box-shadow-inset: inset 6px 6px 12px var(--shadow-dark), inset -6px -6px 12px var(--shadow-light);
  
  /* Переходы и анимации */
  --transition-speed: 0.3s;
  --transition-bounce: cubic-bezier(0.5, 1.8, 0.9, 0.8);
}

/* Базовые стили */
body {
  font-family: 'Work Sans', sans-serif;
  color: var(--dark);
  background-color: var(--light);
  overflow-x: hidden;
  position: relative;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: var(--gray-dark);
}

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

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

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

.section-title {
  margin-bottom: 3rem;
  position: relative;
}

.section-title h2 {
  position: relative;
  z-index: 1;
  display: inline-block;
}

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

.lead {
  font-weight: 300;
  font-size: 1.2rem;
  color: var(--gray);
}

/* Нейроморфные компоненты */
.neumorph-container {
  background-color: var(--light);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: all var(--transition-speed) ease;
}

.neumorph-container:hover {
  transform: translateY(-5px);
  box-shadow: 10px 10px 20px var(--shadow-dark), -10px -10px 20px var(--shadow-light);
}

.neumorph-card {
  background-color: var(--light);
  border: none;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: all var(--transition-speed) var(--transition-bounce);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.neumorph-card:hover {
  transform: translateY(-8px);
  box-shadow: 12px 12px 24px var(--shadow-dark), -12px -12px 24px var(--shadow-light);
}

.neumorph-button {
  background-color: var(--light);
  border: none;
  border-radius: var(--border-radius);
  padding: 10px 25px;
  font-weight: 500;
  box-shadow: var(--box-shadow);
  transition: all var(--transition-speed) var(--transition-bounce);
  text-align: center;
  text-decoration: none;
  color: var(--primary-color);
}

.neumorph-button:hover {
  box-shadow: 6px 6px 12px var(--shadow-dark), -6px -6px 12px var(--shadow-light);
  transform: translateY(-3px);
}

.neumorph-button:active {
  box-shadow: var(--box-shadow-inset);
  transform: translateY(0);
}

.neumorph-input {
  background-color: var(--light);
  border: none;
  border-radius: var(--border-radius);
  padding: 12px 20px;
  box-shadow: var(--box-shadow-inset);
  transition: all var(--transition-speed) ease;
}

.neumorph-input:focus {
  box-shadow: var(--box-shadow);
  outline: none;
}

.neumorph-header {
  background-color: var(--light);
  box-shadow: 0 4px 10px var(--shadow-dark);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all var(--transition-speed) ease;
}

/* Кнопки */
.btn {
  border-radius: var(--border-radius);
  padding: 10px 25px;
  font-weight: 500;
  transition: all var(--transition-speed) var(--transition-bounce);
  text-align: center;
  text-decoration: none;
}

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

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(74, 107, 255, 0.4);
}

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

.btn-secondary:hover {
  background-color: var(--secondary-dark);
  border-color: var(--secondary-dark);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 123, 74, 0.4);
}

.btn-outline-light {
  color: var(--white);
  border-color: var(--white);
}

.btn-outline-light:hover {
  background-color: var(--white);
  color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

/* Header & Navigation */
.header {
  padding: 15px 0;
}

.navbar-brand img {
  max-height: 60px;
}

.navbar-nav .nav-link {
  color: var(--gray-dark);
  font-weight: 500;
  padding: 10px 15px;
  margin: 0 5px;
  border-radius: var(--border-radius);
  transition: all var(--transition-speed) ease;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-color);
  background-color: rgba(74, 107, 255, 0.1);
  transform: translateY(-2px);
}

.navbar-toggler {
  border: none;
  padding: 10px;
}

.navbar-toggler:focus {
  outline: none;
  box-shadow: none;
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  padding-top: 100px;
  color: var(--white);
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.7), rgba(0,0,0,0.3));
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 30px;
  border-radius: var(--border-radius-lg);
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-content h1 {
  color: var(--white);
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.hero-content .lead {
  color: var(--white);
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 1;
}

/* Services Section */
.services-section {
  padding: 100px 0;
  position: relative;
}

.card-image {
  height: 250px;
  overflow: hidden;
  border-radius: var(--border-radius) var(--border-radius) 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

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

.card-body {
  padding: 1.5rem;
  flex: 1;
  width: 100%;
}

.card-title {
  color: var(--gray-dark);
  font-weight: 600;
  margin-bottom: 1rem;
}

.card-text {
  color: var(--gray);
  margin-bottom: 1.5rem;
}

.card-date {
  font-size: 0.9rem;
  margin-top: auto;
}

/* Features Section */
.features-section {
  padding: 100px 0;
  background-color: var(--light);
  position: relative;
}

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

.features-image img {
  width: 100%;
  height: auto;
  transform: scale(1);
  transition: transform var(--transition-speed) ease;
}

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

.feature-item {
  margin-bottom: 30px;
  transition: all var(--transition-speed) ease;
}

.feature-item h3 {
  margin-bottom: 15px;
  color: var(--primary-color);
}

.feature-item:hover {
  transform: translateY(-5px);
}

/* Blog Section */
.blog-section {
  padding: 100px 0;
  position: relative;
}

/* Clientele Section */
.clientele-section {
  padding: 100px 0;
  background-color: var(--light);
  position: relative;
}

.clients-carousel {
  margin-bottom: 50px;
}

.client-logo {
  padding: 20px;
  transition: all var(--transition-speed) ease;
  filter: grayscale(100%);
  opacity: 0.7;
}

.client-logo:hover {
  filter: grayscale(0);
  opacity: 1;
  transform: translateY(-5px);
}

.testimonial-item {
  margin-bottom: 30px;
}

.testimonial-text {
  font-style: italic;
  color: var(--gray);
  margin-bottom: 20px;
}

.testimonial-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

/* Gallery Section */
.gallery-section {
  padding: 100px 0;
  position: relative;
}

.gallery-item {
  margin-bottom: 30px;
  overflow: hidden;
}

.image-container {
  height: 300px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-speed) ease;
}

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

.gallery-caption {
  padding: 15px;
  background-color: var(--light);
}

.gallery-caption h3 {
  margin-bottom: 5px;
  color: var(--primary-color);
}

/* Media Section */
.media-section {
  padding: 100px 0;
  background-color: var(--light);
  position: relative;
}

.media-item {
  margin-bottom: 30px;
}

.media-logo img {
  max-height: 60px;
  margin: 0 auto;
}

.media-quote {
  font-style: italic;
  color: var(--gray);
  margin: 20px 0;
}

.video-container {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius);
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 30px;
  backdrop-filter: blur(5px);
  border: 2px solid var(--white);
  cursor: pointer;
  transition: all var(--transition-speed) ease;
}

.play-button:hover {
  transform: translate(-50%, -50%) scale(1.1);
  background-color: rgba(255, 255, 255, 0.3);
}

/* Pricing Section */
.pricing-section {
  padding: 100px 0;
  position: relative;
}

.pricing-card {
  text-align: center;
  transition: all var(--transition-speed) ease;
}

.pricing-card.featured {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 2px solid var(--primary-light);
  position: relative;
  z-index: 2;
}

.pricing-card.featured:hover {
  transform: scale(1.08);
}

.pricing-title {
  color: var(--gray-dark);
  font-weight: 600;
  margin-bottom: 10px;
}

.pricing-price {
  font-family: 'Poppins', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.pricing-price .currency {
  font-size: 1.5rem;
  vertical-align: super;
}

.pricing-price .period {
  font-size: 1rem;
  color: var(--gray);
  font-weight: 400;
}

.pricing-features {
  margin-bottom: 30px;
}

.pricing-features li {
  padding: 10px 0;
  border-bottom: 1px solid var(--gray-light);
}

.pricing-features .feature-check {
  color: var(--accent-color);
  font-weight: bold;
  margin-right: 5px;
}

.pricing-features .feature-x {
  color: var(--gray);
  margin-right: 5px;
}

/* Contact Section */
.contact-section {
  padding: 100px 0;
  position: relative;
}

.contact-info {
  margin-bottom: 30px;
}

.contact-icon {
  font-size: 1.5rem;
  color: var(--primary-color);
}

.social-media {
  margin-top: 30px;
}

.social-links a {
  display: inline-block;
  margin-right: 15px;
  color: var(--primary-color);
  transition: all var(--transition-speed) ease;
}

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

.contact-form {
  margin-bottom: 30px;
}

/* Footer */
.footer {
  padding: 100px 0 50px;
  background-color: var(--dark);
  color: var(--white);
  position: relative;
}

.footer a {
  color: var(--gray-light);
  transition: all var(--transition-speed) ease;
}

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

.footer-info {
  margin-bottom: 30px;
}

.footer-links h4 {
  color: var(--white);
  margin-bottom: 20px;
}

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

.footer-newsletter {
  margin-bottom: 30px;
}

.footer hr {
  border-color: rgba(255, 255, 255, 0.1);
}

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

.success-content {
  max-width: 700px;
  margin: 0 auto;
}

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

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

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

.content-page h2 {
  margin-top: 3rem;
  margin-bottom: 1.5rem;
}

.content-page p {
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

/* Cookie Consent */
#cookieConsent {
  background-color: rgba(33, 33, 33, 0.95);
  color: var(--white);
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  padding: 20px 0;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
}

/* Responsive styles */
@media (max-width: 991.98px) {
  .hero-section {
    padding-top: 80px;
  }
  
  .neumorph-header {
    padding: 10px 0;
  }
  
  .navbar-collapse {
    background-color: var(--light);
    padding: 20px;
    border-radius: var(--border-radius);
    margin-top: 10px;
    box-shadow: var(--box-shadow);
  }
  
  .navbar-nav .nav-link {
    padding: 12px 15px;
    margin: 5px 0;
  }
  
  .pricing-card.featured {
    transform: scale(1);
    margin: 30px 0;
  }
}

@media (max-width: 767.98px) {
  .hero-content {
    padding: 20px;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .btn {
    width: 100%;
    margin-bottom: 10px;
  }
  
  .section-title {
    margin-bottom: 2rem;
  }
  
  .section-title h2:after {
    width: 60px;
  }
  
  .feature-item, .media-item, .testimonial-item {
    margin-bottom: 20px;
  }
  
  .gallery-item .image-container {
    height: 250px;
  }
  
  .footer {
    padding: 50px 0 30px;
  }
}

@media (max-width: 575.98px) {
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .pricing-price {
    font-size: 2rem;
  }
  
  .gallery-item .image-container {
    height: 200px;
  }
  
  .contact-info, .contact-form {
    padding: 15px;
  }
  
  .video-container {
    margin-bottom: 20px;
  }
}

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

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-20px);
  }
  60% {
    transform: translateY(-10px);
  }
}

.fade-in {
  animation: fadeIn 1s var(--transition-bounce) forwards;
}

.bounce {
  animation: bounce 2s infinite;
}

/* Дополнительные стили для гиперреалистичных текстур */
.texture-bg {
  background-image: url('image/texture-bg.jpg');
  background-size: cover;
  background-blend-mode: overlay;
}

.glass-effect {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--border-radius);
}

/* Стили для "Читать далее" ссылок */
.read-more {
  display: inline-block;
  color: var(--primary-color);
  font-weight: 500;
  padding: 8px 0;
  position: relative;
  overflow: hidden;
}

.read-more::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary-color);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition-speed) ease;
}

.read-more:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

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