/* Современный, красивый дизайн для статического сайта GOSTY */

/* Accessibility: Skip link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-gradient);
    color: white;
    padding: 8px 16px;
    z-index: 1000;
    transition: top 0.3s;
    text-decoration: none;
    border-radius: 0 0 8px 0;
    font-weight: 500;
}

.skip-link:focus {
    top: 0;
    color: white;
}

/* Accessibility: Focus visible */
:focus-visible {
    outline: 2px solid var(--light-blue);
    outline-offset: 2px;
}

/* Импорт шрифтов */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Montserrat:wght@300;400;500;600;700&family=Roboto:wght@300;400;500;700&display=swap');

/* Переменные для цветовой схемы */
:root {
  --primary-gradient: linear-gradient(135deg, #6e8efb, #a777e3);
  --secondary-gradient: linear-gradient(135deg, #42e695, #3bb2b8);
  --dark-blue: #2c3e50;
  --light-blue: #3498db;
  --accent-color: #e74c3c;
  --success-color: #2ecc71;
  --warning-color: #f39c12;
  --light-bg: #f8f9fa;
  --card-bg: rgba(255, 255, 255, 0.9);
  --shadow-color: rgba(0, 0, 0, 0.1);
  --text-color: #333;
  --text-light: #6c757d;
  --border-radius: 12px;
  --transition-speed: 0.3s;
}

/* ГЛОБАЛЬНЫЙ СТИЛЬ ДЛЯ ВСЕГО ТЕКСТА - ТЕХНОЛОГИЧНЫЙ СТАРТАП */

/* Основной стиль текста */
body, p, li, span, div, a, strong, em, h1, h2, h3, h4, h5, h6, input, textarea, button, select, label, caption, th, td, code, pre, blockquote {
    font-family: 'Inter', 'Montserrat', 'Roboto', sans-serif !important;
    font-weight: 400;
    line-height: 1.6;
    color: #2d3748;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Улучшения для заголовков */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    color: #1a202c;
    letter-spacing: -0.02em;
}

/* Улучшения для основного контента */
p {
    font-size: 1.05rem;
    margin-bottom: 1rem;
    color: #4a5568;
}

/* Улучшения для списков */
ul, ol {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

ul li, ol li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 0.5rem;
}

/* Улучшения для ссылок */
a {
    color: #667eea;
    text-decoration: none;
    transition: all 0.2s ease;
    font-weight: 500;
}

a:hover {
    color: #764ba2;
    text-decoration: underline;
}

/* Улучшения для кнопок */
button, .glow-button {
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: none;
}

/* Улучшения для карточек и блоков */
.info-card, .value-card, .category-card, .standard-item {
    text-rendering: optimizeLegibility;
}

/* Улучшения для акцентов */
strong, b {
    font-weight: 600;
    color: #1a202c;
}

/* Улучшения для технических элементов */
code, pre {
    font-family: 'Courier New', monospace;
    background: #f7fafc;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    padding: 0.2rem 0.4rem;
}

/* Улучшения для цитат */
blockquote {
    border-left: 4px solid #667eea;
    padding-left: 1rem;
    margin: 1rem 0;
    font-style: italic;
    color: #4a5568;
    background: #f7fafc;
    padding: 1rem;
    border-radius: 0 8px 8px 0;
}

/* Улучшения для иконок внутри текста */
i, .fas, .fab {
    vertical-align: middle;
    margin: 0 0.2rem;
}

/* Улучшения для выделенного текста */
.highlight-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white !important;
    font-weight: 500;
}

.highlight-box p {
    color: white !important;
}

/* Улучшения для списков с иконками */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.feature-list li {
    margin-bottom: 1rem;
    background: white;
    border-radius: 8px;
    padding: 1.2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.feature-list li:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(110, 142, 251, 0.2);
    border-left-color: var(--light-blue);
}

.feature-list li strong {
    color: var(--dark-blue);
    font-weight: 600;
}

/* Улучшения для заголовков секций */
h2 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.8rem;
}

h2 .animated-icon {
    font-size: 1.5rem;
}

/* Улучшения для подзаголовков */
h3 {
    font-size: 1.3rem;
    color: #2d3748;
    margin-bottom: 0.8rem;
}

/* Улучшения для описаний */
p, .value-card p, .category-card p, .standard-desc {
    color: #4a5568;
    line-height: 1.6;
}

/* Улучшения для заголовков карточек */
.value-title, .category-title, .standard-name {
    font-weight: 600;
    color: #1a202c;
    font-size: 1.1rem;
}

/* Улучшения для технических описаний */
.gosty-info p, .feature-content p {
    color: #4a5568;
}

/* Улучшения для акцентов в тексте */
strong, .value-title, .feature-content strong {
    color: #1a202c;
}

/* Улучшения для футера */
footer p {
    color: #718096;
}

/* Улучшения для навигации */
nav ul li a {
    font-weight: 500;
    letter-spacing: 0.3px;
}

/* Улучшения для заголовков страниц */
.main-heading h1 {
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.2;
}

/* Улучшения для подзаголовков в заголовке */
.main-heading p {
    font-size: 1.2rem;
    color: #4a5568;
    font-weight: 400;
}

/* Улучшения для статистики */
.counter {
    font-weight: 800;
    color: #667eea;
}

/* Улучшения для примеров кода */
.example-box {
    background: #f7fafc;
    border-left: 3px solid #667eea;
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 0 8px 8px 0;
}

.example-box p {
    margin-bottom: 0.5rem;
}

.example-box strong {
    color: #667eea;
}

/* Улучшения для FAQ */
.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 600;
}

.faq-answer p {
    color: #4a5568;
}

/* Улучшения для ссылок в тексте */
.gosty-info a, .highlight-box a {
    color: white;
    text-decoration: underline;
    font-weight: 600;
}

/* Улучшения для технических терминов */
.gosty-info strong {
    color: #667eea;
}

/* Улучшения для выделения в списках */
.feature-list li i {
    color: #667eea;
    font-size: 1.1rem;
}

/* Улучшения для заголовков с иконками */
h2 .animated-icon {
    filter: drop-shadow(0 2px 4px rgba(102, 126, 234, 0.3));
}

/* Улучшения для описаний в карточках */
.value-card p, .category-card p, .standard-desc {
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Улучшения для заголовков в карточках */
.value-title, .category-title, .standard-name {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}

/* Улучшения для технических описаний */
.gosty-intro p {
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Улучшения для списков в описаниях */
.gosty-intro ul {
    margin-top: 1rem;
}

.gosty-intro li {
    font-size: 1rem;
    line-height: 1.6;
}

/* Улучшения для заголовков в списках */
.gosty-intro strong {
    font-size: 1.05rem;
}

/* Улучшения для технических блоков */
.info-card p {
    font-size: 1rem;
}

/* Улучшения для акцентов в технических блоках */
.info-card strong {
    color: #1a202c;
}

/* Улучшения для футера */
.footer-brand {
    font-weight: 900;
    letter-spacing: -0.05em;
}

/* Улучшения для социальных ссылок */
.social-links a {
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

/* Улучшения для кнопок наверх */
.back-to-top {
    font-weight: 700;
}

/* Улучшения для всех текстовых элементов */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

/* Улучшения для выделенного текста */
mark {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.1rem 0.3rem;
    border-radius: 3px;
    font-weight: 600;
}

/* Улучшения для технических спецификаций */
.gosty-info ul li {
    font-family: 'Roboto Mono', monospace;
    font-size: 0.95rem;
}

/* Улучшения для заголовков с подчеркиванием */
h3::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    margin-top: 0.5rem;
    border-radius: 2px;
}

/* Улучшения для всех текстовых элементов в карточках */
.value-card, .category-card, .standard-item, .info-card {
    text-rendering: optimizeLegibility;
}

/* Улучшения для заголовков с иконками */
h2 .animated-icon {
    animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

/* Улучшения для всех текстовых элементов */
body {
    font-size: 16px;
}

/* Улучшения для мобильных устройств */
@media (max-width: 768px) {
    body {
        font-size: 15px;
    }
    
    p, .value-card p, .category-card p, .standard-desc {
        font-size: 0.95rem;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.2rem;
    }
}

/* Улучшения для очень маленьких экранов */
@media (max-width: 480px) {
    body {
        font-size: 14px;
    }
    
    p, .value-card p, .category-card p, .standard-desc {
        font-size: 0.9rem;
    }
}

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

body {
  font-family: 'Roboto', sans-serif;
  background-color: var(--light-bg);
  color: var(--text-color);
  line-height: 1.6;
  background-image: url('data:image/svg+xml;charset=utf8,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"%3E%3Cpath fill="%233498db" fill-opacity="0.05" d="M0,288L48,272C96,256,192,224,288,197.3C384,171,480,149,576,165.3C672,181,768,235,864,250.7C960,267,1056,245,1152,208C1248,171,1344,117,1392,90.7L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"%3E%3C/path%3E%3C/svg%3E');
  background-attachment: fixed;
  background-size: cover;
  overflow-x: hidden;
  font-size: 16px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  position: relative;
}

/* Адаптация контейнера и базовых стилей для мобильных устройств */
@media (max-width: 768px) {
  body {
    font-size: 15px;
  }
  
  .container {
    padding: 1rem;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 14px;
  }
  
  .container {
    padding: 0.5rem;
  }
}

/* Стилизация заголовков */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--dark-blue);
}

h1 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 2rem;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.5rem 2rem;
}

h1::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--primary-gradient);
  border-radius: 3px;
}

h2 {
  font-size: 1.8rem;
  color: var(--light-blue);
  display: flex;
  align-items: center;
}

h3 {
  font-size: 1.4rem;
  color: var(--dark-blue);
}

/* Адаптация заголовков для мобильных устройств */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  h3 {
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.8rem;
  }
  
  h2 {
    font-size: 1.3rem;
  }
  
  h3 {
    font-size: 1.1rem;
  }
}



.floating-element:nth-child(1) {
  width: 100px;
  height: 100px;
  top: 20%;
  left: 10%;
  animation-duration: 15s;
  animation-delay: 0s;
}

.floating-element:nth-child(2) {
  width: 60px;
  height: 60px;
  top: 40%;
  left: 70%;
  animation-duration: 18s;
  animation-delay: -5s;
}

.floating-element:nth-child(3) {
  width: 80px;
  height: 80px;
  top: 70%;
  left: 20%;
  animation-duration: 12s;
  animation-delay: -2s;
}

.floating-element:nth-child(4) {
  width: 50px;
  height: 50px;
  top: 80%;
  left: 80%;
  animation-duration: 20s;
  animation-delay: -7s;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) translateX(0);
  }
  25% {
    transform: translateY(-30px) translateX(15px);
  }
  50% {
    transform: translateY(0px) translateX(30px);
  }
  75% {
    transform: translateY(30px) translateX(15px);
  }
}

/* Частицы */
.particles-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
}

/* Стилизация шапки */
header {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 10px 30px var(--shadow-color);
  position: relative;
  overflow: visible;
  z-index: 10;
}

header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--primary-gradient);
}

.logo {
  display: flex;
  flex-direction: column;
}

.logo h1 {
  margin: 0;
  padding: 0;
  font-size: 2rem;
  left: 0;
  transform: none;
  display: block;
}

.logo h1::after {
  display: none;
}

.logo p {
  font-size: 0.9rem;
  color: var(--text-light);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0;
}

nav ul {
  display: flex;
  list-style: none;
  overflow: visible;
}

nav ul li {
  margin-left: 1.5rem;
  position: relative;
}

nav ul li a {
  color: var(--text-color);
  text-decoration: none;
  font-weight: 500;
  transition: all var(--transition-speed);
}

nav ul li a:hover {
  color: var(--light-blue);
}

nav ul li a.active {
  color: var(--light-blue);
  position: relative;
}

nav ul li a.active::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary-gradient);
  border-radius: 2px;
}

/* Hamburger Menu Styles */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 1rem;
  z-index: 1001;
  position: relative;
}

.nav-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--dark-blue);
  margin: 5px 0;
  transition: all 0.3s ease;
  border-radius: 2px;
}

/* Hamburger to X animation */
.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(-10px);
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Overlay for closing menu */
.nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.nav-overlay.active {
  display: block;
  opacity: 1;
}

/* Prevent body scroll when menu is open */
body.menu-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
  height: 100%;
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
  .nav-toggle {
    min-height: 44px;
    min-width: 44px;
  }
  
  nav ul li a {
    min-height: 44px;
    display: flex;
    align-items: center;
  }
}

/* Адаптация шапки для мобильных устройств */
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    position: relative;
  }

  .logo {
    text-align: left;
    margin-bottom: 0;
    flex: 1;
  }

  /* Show hamburger button on mobile */
  .nav-toggle {
    display: block;
    order: 2;
  }

  /* Mobile navigation - hidden by default */
  nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    max-width: 80vw;
    height: 100vh;
    background: var(--card-bg);
    box-shadow: -5px 0 30px var(--shadow-color);
    z-index: 1000;
    transition: right 0.3s ease;
    overflow-y: auto;
    padding-top: 80px;
  }

  nav.active {
    right: 0;
  }

  nav ul {
    flex-direction: column;
    margin: 0;
    padding: 1rem;
    list-style: none;
    overflow-y: auto;
  }

  nav ul li {
    margin: 0;
    width: 100%;
  }

  nav ul li a {
    display: block;
    padding: 1rem;
    font-size: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
  }

  nav ul li a:hover {
    background: rgba(110, 142, 251, 0.1);
    padding-left: 1.5rem;
  }

  nav ul li a.active::after {
    display: none;
  }

  /* Mobile dropdown handling */
  .dropdown {
    position: relative;
    width: 100%;
  }

  .dropdown-toggle {
    justify-content: space-between;
    padding: 1rem;
    width: 100%;
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: rgba(0, 0, 0, 0.02);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0;
    margin: 0;
    border-radius: 0;
  }

  .dropdown.expanded .dropdown-menu {
    max-height: 500px;
    padding: 0.5rem 0;
  }

  .dropdown-menu li a {
    padding: 0.8rem 1.5rem;
    font-size: 0.95rem;
    border-bottom: none;
  }

  .dropdown-menu li a:hover {
    padding-left: 2rem;
  }
}

@media (max-width: 480px) {
  header {
    padding: 1rem;
  }
  
  nav ul {
    flex-direction: column;
    align-items: center;
  }
  
  nav ul li {
    margin: 0.25rem;
  }
  
  nav ul li a {
    font-size: 0.9rem;
    padding: 0.5rem;
  }
}

/* Стили для выпадающего меню */
.dropdown {
  position: relative;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.dropdown-toggle i {
  font-size: 0.8rem;
  transition: transform 0.3s;
}

.dropdown:hover .dropdown-toggle i {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  border-radius: var(--border-radius);
  box-shadow: 0 10px 30px var(--shadow-color);
  padding: 0.5rem 0;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
  margin-top: 0.5rem;
  border: 1px solid #e9ecef;
  overflow-y: auto;
  max-height: 80vh;
  flex-direction: column;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li {
  margin: 0;
}

.dropdown-menu li a {
  display: block;
  padding: 0.8rem 1.2rem;
  color: var(--text-color);
  text-decoration: none;
  transition: all 0.3s;
  border-radius: 0;
}

.dropdown-menu li a:hover {
  background: var(--primary-gradient);
  color: white;
}

.dropdown-menu li a.active {
  background: var(--primary-gradient);
  color: white;
}

.dropdown-menu li a.active::after {
  display: none;
}

/* Адаптация выпадающего меню для мобильных устройств */
@media (max-width: 768px) {
  .dropdown {
    position: relative;
    width: 100%;
    text-align: center;
  }
  
  .dropdown-toggle {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.8rem;
    background: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px var(--shadow-color);
    cursor: pointer;
  }
  
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: transparent;
    margin-top: 0.5rem;
    border-radius: var(--border-radius);
    max-height: 0;
    overflow: hidden;
    padding: 0;
    transition: max-height 0.3s ease, padding 0.3s ease;
    display: block;
    flex-direction: column;
  }
  
  .dropdown-menu li {
    margin: 0.2rem 0;
  }
  
  .dropdown-menu li a {
    display: block;
    padding: 0.8rem;
    background: var(--card-bg);
    border-radius: var(--border-radius);
    margin: 0.2rem 0;
    text-align: center;
  }
  
  .dropdown.expanded .dropdown-menu {
    max-height: 500px;
    padding: 0.5rem 0;
  }
  
  .dropdown-toggle i {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
  }
  
  .dropdown.expanded .dropdown-toggle i {
    transform: rotate(180deg);
  }
}

/* Улучшенные стили для заголовков вместо typewriter */

/* Основной заголовок с плавным появлением и анимированной линией */
.main-heading {
  text-align: center;
  margin: 3rem 0 2rem;
  animation: fadeInUp 0.8s ease-out forwards;
}

.main-heading h1 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  position: relative;
  display: inline-block;
  padding-bottom: 0.5rem;
}

.main-heading h1::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 4px;
  background: var(--primary-gradient);
  border-radius: 2px;
  animation: lineGrow 1s ease-out 0.5s forwards;
  transform-origin: center;
  transform: translateX(-50%) scaleX(0);
}

@keyframes lineGrow {
  to {
    transform: translateX(-50%) scaleX(1);
  }
}

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

/* Заголовки секций с эффектом взмаха */
h2 {
  font-size: 1.8rem;
  color: var(--light-blue);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  padding-left: 1rem;
}

h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 0;
  background: var(--primary-gradient);
  border-radius: 2px;
  animation: barGrow 0.6s ease-out forwards;
}

@keyframes barGrow {
  to {
    height: 80%;
  }
}

/* Заголовки карточек с подчеркиванием */
h3 {
  font-size: 1.4rem;
  color: var(--dark-blue);
  position: relative;
  padding-bottom: 0.3rem;
  margin-bottom: 0.8rem;
}

h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--light-blue);
  transition: width 0.3s ease;
}

h3:hover::after {
  width: 100%;
}

/* Адаптация заголовков для мобильных */
@media (max-width: 768px) {
  .main-heading h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  h3 {
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .main-heading h1 {
    font-size: 1.8rem;
  }
  
  h2 {
    font-size: 1.3rem;
  }
  
  h3 {
    font-size: 1.1rem;
  }
}

/* Карточки с тенями */
.shadow-card {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  box-shadow: 0 10px 30px var(--shadow-color);
  padding: 2rem;
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
  animation: fadeInUp 0.8s ease-out;
}

.shadow-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--primary-gradient);
}

/* Анимированные иконки - УЛУЧШЕННЫЕ ЭФФЕКТЫ ПРИ НАВЕДЕНИИ */
.animated-icon {
  display: inline-block;
  margin-right: 10px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Улучшенные эффекты при наведении на иконки */
.standard-item:hover .standard-icon i,
.category-card:hover .category-icon,
.value-card:hover .value-icon {
  transform: scale(1.15) rotate(5deg);
  filter: drop-shadow(0 0 8px rgba(110, 142, 251, 0.6));
}

/* Плавное увеличение и свечение для всех иконок */
.animated-icon:hover {
  transform: scale(1.2) translateY(-3px);
  filter: drop-shadow(0 0 10px rgba(110, 142, 251, 0.8));
}

/* Специальные эффекты для разных типов иконок */
.standard-item:hover .standard-icon {
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(110, 142, 251, 0.3);
  background: rgba(110, 142, 251, 0.15);
}

.category-card:hover .category-icon {
  animation: iconBounce 0.6s ease-out;
}

.value-card:hover .value-icon {
  animation: iconPulse 0.8s ease-out;
}

@keyframes iconBounce {
  0%, 100% { transform: translateY(0) scale(1); }
  25% { transform: translateY(-8px) scale(1.1); }
  50% { transform: translateY(0) scale(1.05); }
  75% { transform: translateY(-4px) scale(1.08); }
}

@keyframes iconPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 rgba(110, 142, 251, 0); }
  50% { transform: scale(1.15); box-shadow: 0 0 20px rgba(110, 142, 251, 0.6); }
}

/* Для кнопок с иконками */
.glow-button:hover .animated-icon {
  transform: scale(1.3) rotate(10deg);
  filter: drop-shadow(0 0 5px white);
}

/* Стилизация информационных карточек */
.info-card {
  margin-bottom: 2.5rem;
}

.info-card p {
  margin-bottom: 1.5rem;
}

/* Поддерживаемые стандарты */
.supported-standards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.standard-item {
  background: white;
  border-radius: var(--border-radius);
  padding: 1rem;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.standard-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.standard-icon {
  width: 50px;
  height: 50px;
  background: var(--primary-gradient);
  border-radius: 50%;
  margin: 0 auto 1rem;
  position: relative;
}

.standard-icon::before {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-weight: bold;
  font-size: 0.7rem;
}

.standard-name {
  font-weight: 500;
}

/* Адаптация карточек стандартов для мобильных устройств */
@media (max-width: 768px) {
  .supported-standards {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 0.8rem;
  }
  
  .standard-item {
    padding: 0.8rem;
  }
  
  .standard-icon {
    width: 40px;
    height: 40px;
    margin: 0 auto 0.5rem;
  }
  
  .standard-name {
    font-size: 0.9rem;
  }
}

/* Шаги использования */
.usage-steps {
  margin: 2rem 0;
}

.step-item {
  display: flex;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}

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

.step-content h3 {
  margin-bottom: 0.5rem;
}

.step-content p {
  color: var(--text-light);
  margin-bottom: 0;
}

/* CTA кнопки - контейнер для выравнивания */
.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  margin-top: 2rem;
  flex-wrap: wrap;
}

/* CTA кнопки внутри контейнера - одинаковая ширина */
.cta-buttons .glow-button {
  min-width: 220px;
  text-align: center;
}

/* CTA кнопка */
.cta-button {
  text-align: center;
  margin-top: 2rem;
}

/* Анимированные кнопки с свечением */
.glow-button {
  background: white;
  border: none;
  color: var(--dark-blue);
  padding: 0.8rem 1.8rem;
  border-radius: 50px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  z-index: 1;
  overflow: hidden;
  display: inline-block;
  text-decoration: none;
  text-align: center;
  box-shadow: 0 5px 15px var(--shadow-color);
  transition: all var(--transition-speed);
}

.glow-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: var(--primary-gradient);
  transition: width var(--transition-speed);
  z-index: -1;
  border-radius: 50px;
}

.glow-button:hover {
  color: white;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.glow-button:hover::before {
  width: 100%;
}

.animated-button {
  transition: transform 0.3s, box-shadow 0.3s;
}

.animated-button:hover {
  transform: translateY(-3px);
}

.animated-button:active {
  transform: translateY(1px);
}

/* Эффект свечения при наведении */
.glow-on-hover {
  position: relative;
  overflow: hidden;
}

.glow-on-hover::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0) 70%);
  opacity: 0;
  transition: opacity var(--transition-speed);
  pointer-events: none;
  mix-blend-mode: overlay;
}

.glow-on-hover:hover::after {
  opacity: 0.5;
}

/* Стили для категорий пользователей */
.user-categories {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.category-card {
  background: white;
  border-radius: var(--border-radius);
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform var(--transition-speed), box-shadow var(--transition-speed);
  position: relative;
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

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

.person-icon::before {
  content: "👤";
}

.pro-icon::before {
  content: "👔";
}

.org-icon::before {
  content: "🏢";
}

.category-card h3 {
  margin-bottom: 0.5rem;
}

.category-card p {
  color: var(--text-light);
  margin-bottom: 1rem;
}

.category-card ul {
  list-style: none;
  text-align: left;
  margin-bottom: 1.5rem;
  padding-left: 1rem;
}

.category-card ul li {
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: 1.5rem;
}

.category-card ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success-color);
  font-weight: bold;
}

/* Блок разрешения */
.permission-card {
  background: linear-gradient(135deg, rgba(110, 142, 251, 0.1), rgba(167, 119, 227, 0.1));
}

.permission-info {
  margin-top: 1rem;
}

.individual-approach {
  background: white;
  border-radius: var(--border-radius);
  padding: 1.5rem;
  margin: 1.5rem 0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.individual-approach h3 {
  color: var(--light-blue);
  margin-bottom: 1rem;
}

.individual-approach ul {
  padding-left: 1.5rem;
  margin-bottom: 0;
}

.individual-approach li {
  margin-bottom: 0.5rem;
}

.telegram-contact {
  text-align: center;
  margin-top: 2rem;
}

.telegram-button {
  display: inline-flex;
  align-items: center;
  background: var(--primary-gradient);
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 500;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all var(--transition-speed);
}

.telegram-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.telegram-icon {
  margin-right: 0.5rem;
}

/* Продолжение стилей */

.category-card ul {
  list-style: none;
  text-align: left;
  margin-bottom: 1.5rem;
  padding-left: 1rem;
}

.category-card ul li {
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: 1.5rem;
}

.category-card ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--success-color);
  font-weight: bold;
}

/* Стилизация кнопок */
.glow-button {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background: var(--primary-gradient);
  color: white;
  border: none;
  border-radius: 50px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-speed);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
  min-width: 120px;
  text-align: center;
}

.glow-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(-100%);
  transition: transform var(--transition-speed);
  z-index: -1;
}

.glow-button:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}

.glow-button:hover::before {
  transform: translateX(0);
}

.animated-button {
  position: relative;
  overflow: hidden;
}

.animated-button::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    rgba(255, 255, 255, 0) 0%, 
    rgba(255, 255, 255, 0.2) 50%, 
    rgba(255, 255, 255, 0) 100%);
  transform: translateX(-100%);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.glow-on-hover {
  transition: box-shadow var(--transition-speed), transform var(--transition-speed);
}

.glow-on-hover:hover {
  box-shadow: 0 5px 15px rgba(110, 142, 251, 0.3);
  transform: translateY(-5px);
}

/* Блок с треованием разрешения */
.permission-info {
  padding: 1.5rem;
  border-radius: var(--border-radius);
  background-color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.5rem;
}

.individual-approach {
  margin-top: 1.5rem;
  padding: 1.5rem;
  background-color: rgba(110, 142, 251, 0.1);
  border-radius: var(--border-radius);
  border-left: 4px solid var(--light-blue);
}

.individual-approach h3 {
  margin-bottom: 0.8rem;
  color: var(--light-blue);
}

.telegram-contact {
  margin-top: 1.5rem;
  text-align: center;
}

.telegram-button {
  display: inline-flex;
  align-items: center;
  padding: 0.8rem 1.5rem;
  background: #0088cc;
  color: white;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 500;
  margin-top: 1rem;
  transition: all var(--transition-speed);
}

.telegram-button:hover {
  background: #0077b5;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 136, 204, 0.3);
}

.telegram-icon {
  margin-right: 0.5rem;
}

/* Адаптация кнопок для мобильных устройств */
@media (max-width: 768px) {
  .glow-button {
    padding: 0.7rem 1.2rem;
    font-size: 0.9rem;
    min-width: 100px;
  }
  
  .telegram-button {
    padding: 0.7rem 1.2rem;
    font-size: 0.9rem;
  }
  
  .cta-button .glow-button {
    width: 100%;
    margin-bottom: 0.5rem;
  }
}

/* Область загрузки файла */
.upload-area {
  border: 2px dashed #ccc;
  border-radius: var(--border-radius);
  padding: 3rem;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-speed);
  background-color: rgba(255, 255, 255, 0.5);
  margin-bottom: 1.5rem;
}

.upload-area:hover {
  border-color: var(--light-blue);
  background-color: rgba(110, 142, 251, 0.05);
}

.upload-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--light-blue);
}

.file-format {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-top: 1rem;
}

.file-label {
  display: inline-block;
  margin-top: 1rem;
}

.selected-file {
  margin-top: 1.5rem;
  padding: 1rem;
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: var(--border-radius);
  text-align: center;
}

/* Анимация загрузки */
.processing-animation {
  display: flex;
  justify-content: center;
  margin: 2rem 0;
}

.loader {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 5px solid rgba(110, 142, 251, 0.1);
  border-top: 5px solid var(--light-blue);
  animation: spin 1.5s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Информационные блоки */
.note-box {
  padding: 1rem;
  background-color: rgba(243, 156, 18, 0.1);
  border-left: 4px solid var(--warning-color);
  border-radius: var(--border-radius);
  margin-top: 1.5rem;
}

.important-info ul {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

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

/* Стилизация футера с волнами */
footer {
  position: relative;
  padding: 3rem 0 2rem;
  text-align: center;
  overflow: hidden;
  margin-top: 4rem;
}

.footer-brand {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
}

.wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%233498db" fill-opacity="0.5" d="M0,64L48,80C96,96,192,128,288,128C384,128,480,96,576,90.7C672,85,768,107,864,112C960,117,1056,107,1152,96C1248,85,1344,75,1392,69.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
  background-size: 1440px 100px;
  animation: wave 10s linear infinite;
  z-index: 1;
}

.wave:nth-child(2) {
  bottom: 0;
  animation: wave 8s linear reverse infinite;
  opacity: 0.5;
}

.wave:nth-child(3) {
  bottom: 15px;
  animation: wave 12s linear infinite;
  opacity: 0.2;
}

@keyframes wave {
  0% { background-position-x: 0; }
  100% { background-position-x: 1440px; }
}

footer p {
position: relative;
z-index: 2;
color: var(--text-light);
margin-bottom: 0;
}

/* Ссылки на соцсети в футере */
footer .social-links {
position: relative;
z-index: 2;
margin: 1rem 0;
}

footer .social-links a {
display: inline-flex;
align-items: center;
justify-content: center;
width: 44px;
height: 44px;
min-width: 44px;
line-height: 44px;
margin: 0 10px;
border-radius: 50%;
background: var(--primary-gradient);
color: white;
font-size: 1.2rem;
transition: all var(--transition-speed);
}

footer .social-links a:hover {
transform: translateY(-3px);
box-shadow: 0 5px 15px rgba(110, 142, 251, 0.4);
text-decoration: none;
}

/* B2B-продукты в футере */
.footer-b2b {
position: relative;
z-index: 2;
margin-top: 1rem;
font-size: 0.9rem;
}

.footer-b2b a {
color: var(--text-light);
transition: color var(--transition-speed);
}

.footer-b2b a:hover {
color: #667eea;
text-decoration: underline;
}

/* Кнопка "Наверх" */
.back-to-top {
position: fixed;
bottom: 30px;
right: 30px;
width: 44px;
height: 44px;
min-width: 44px;
background: var(--primary-gradient);
color: white;
border-radius: 50%;
display: flex;
justify-content: center;
align-items: center;
cursor: pointer;
opacity: 0;
visibility: hidden;
transition: all var(--transition-speed);
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
z-index: 100;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Адаптивность */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }
    h1 {
        font-size: 2rem;
    }
    h2 {
        font-size: 1.5rem;
    }
    header .container {
        flex-direction: column;
    }
    nav ul {
        margin-top: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    nav ul li {
        margin: 0.5rem;
    }
    .user-categories {
        grid-template-columns: 1fr;
    }
    .supported-standards {
        grid-template-columns: 1fr;
    }
    .controls {
        flex-direction: column;
        align-items: center;
    }
    #notification-container {
        left: 10px;
        right: 10px;
    }
    .inline-notification {
        max-width: 100%;
    }
}

/* Inline notifications - замена alert() */
.inline-notification {
    padding: 12px 16px;
    border-radius: 8px;
    background: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 400px;
    animation: slideIn 0.3s ease;
}
.inline-notification.error {
    border-left: 4px solid #e74c3c;
}
.inline-notification.success {
    border-left: 4px solid #2ecc71;
}
.inline-notification.warning {
    border-left: 4px solid #f39c12;
}
.inline-notification.info {
    border-left: 4px solid #3498db;
}
.notification-message {
    flex: 1;
}
.notification-close {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0.5;
}
.notification-close:hover {
    opacity: 1;
}
.inline-notification.fade-out {
    animation: slideOut 0.3s ease forwards;
}
@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}
@keyframes slideOut {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(100%); opacity: 0; }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  header .container {
    flex-direction: column;
  }
  
  nav ul {
    margin-top: 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  nav ul li {
    margin: 0.5rem;
  }
  
  .user-categories {
    grid-template-columns: 1fr;
  }
  
  .supported-standards {
    grid-template-columns: 1fr;
  }
  
  .controls {
    flex-direction: column;
    align-items: center;
  }
  
  .controls button {
    width: 100%;
    margin-bottom: 0.5rem;
  }
  
/* Дополнительная адаптация для очень маленьких экранов */
@media (max-width: 480px) {
.container {
padding: 0.5rem;
}

h1 {
font-size: 1.5rem;
}

h2 {
font-size: 1.3rem;
}

h3 {
font-size: 1.1rem;
}

header .container {
padding: 0.5rem;
}

nav ul {
margin-top: 0.5rem;
}

nav ul li {
margin: 0.25rem;
}

nav ul li a {
font-size: 0.9rem;
padding: 0.5rem;
}
}

/* Адаптация для экранов 360px и меньше (маленькие Android устройства) */
@media (max-width: 360px) {
body {
font-size: 13px;
}

h1 {
font-size: 1.4rem;
}

h2 {
font-size: 1.1rem;
}

.nav-toggle {
padding: 0.5rem;
}

nav {
width: 100%;
max-width: 100vw;
}

.glow-button {
padding: 0.6rem 1rem;
font-size: 0.85rem;
min-height: 44px; /* сохранить touch target */
}

.container {
padding: 0.5rem;
}

nav ul li a {
padding: 0.75rem 1rem;
min-height: 44px;
font-size: 0.9rem;
}
}
}

/* JavaScript функционал */
.js-active {
  display: block !important;
}

/* Стили для частиц на фоне */
.particle {
  position: absolute;
  background: radial-gradient(circle, rgba(110, 142, 251, 0.6), rgba(110, 142, 251, 0));
  border-radius: 50%;
  opacity: 0.5;
  animation: float-particle 15s infinite ease-in-out;
}

@keyframes float-particle {
  0%, 100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.5;
  }
  25% {
    transform: translate(50px, -30px) scale(1.2);
    opacity: 0.7;
  }
  50% {
    transform: translate(100px, 0) scale(0.8);
    opacity: 0.3;
  }
  75% {
    transform: translate(50px, 30px) scale(1.1);
    opacity: 0.6;
  }
}

/* Добавление эффекта параллакса для фона */
.parallax-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    url('data:image/svg+xml;charset=utf8,%3Csvg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"%3E%3Ccircle cx="50" cy="50" r="40" fill="%236e8efb" fill-opacity="0.05"/%3E%3C/svg%3E'),
    url('data:image/svg+xml;charset=utf8,%3Csvg xmlns="http://www.w3.org/2000/svg" width="150" height="150" viewBox="0 0 150 150"%3E%3Crect x="25" y="25" width="100" height="100" rx="20" fill="%23a777e3" fill-opacity="0.05"/%3E%3C/svg%3E');
  background-position: 0 0, 50px 50px;
  background-size: 100px 100px, 150px 150px;
  z-index: -2;
  pointer-events: none;
  will-change: transform;
}

/* Дополнительные стили для волн в футере */
.wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%236e8efb" fill-opacity="0.2" d="M0,192L48,197.3C96,203,192,213,288,229.3C384,245,480,267,576,250.7C672,235,768,181,864,181.3C960,181,1056,235,1152,234.7C1248,235,1344,181,1392,154.7L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
  background-size: 1440px 100px;
  animation: wave 15s linear infinite;
}

.wave:nth-child(2) {
  bottom: 10px;
  opacity: 0.5;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23a777e3" fill-opacity="0.2" d="M0,64L48,80C96,96,192,128,288,128C384,128,480,96,576,106.7C672,117,768,171,864,197.3C960,224,1056,224,1152,197.3C1248,171,1344,117,1392,90.7L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
  animation: wave 20s linear infinite;
  animation-delay: -5s;
}

.wave:nth-child(3) {
  bottom: 20px;
  opacity: 0.2;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%2342e695" fill-opacity="0.2" d="M0,256L48,261.3C96,267,192,277,288,261.3C384,245,480,203,576,202.7C672,203,768,245,864,261.3C960,277,1056,267,1152,240C1248,213,1344,171,1392,149.3L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
  animation: wave 30s linear infinite;
  animation-delay: -2s;
}

/* Добавление эффекта свечения для кнопок */
.glow-button {
  position: relative;
  overflow: hidden;
}

.glow-button::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0) 70%);
  transform: rotate(45deg);
  opacity: 0;
  transition: opacity 0.3s;
}

.glow-button:hover::before {
  opacity: 1;
  animation: glow 1.5s infinite;
}

@keyframes glow {
  0% {
    transform: rotate(45deg) translateX(-100%) translateY(-100%);
  }
  100% {
    transform: rotate(45deg) translateX(100%) translateY(100%);
  }
}

/* Стили для футера с большой надписью */
footer {
  width: 100%;
  padding: 10px 0;
  background: transparent; /* Прозрачный фон */
  margin-top: 50px;
  overflow: hidden;
  position: relative;
  border: none; /* Убираем границу */
}

/* Стили для градиентной надписи в футере */
.footer-brand {
  font-size: 20vw; /* Размер шрифта в процентах от ширины окна */
  font-weight: 900;
  text-align: center;
  width: 100vw; /* Ширина на весь экран */
  margin: 0;
  padding: 0;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  background-image: linear-gradient(to right, #3498db, #9b59b6); /* Градиент от нежно-синего до фиолетового */
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  text-fill-color: transparent;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  line-height: 1;
  user-select: none; /* Запрет выделения текста */
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  display: block;
  z-index: 10; /* Убедимся, что текст поверх волн */
}

/* Медиа-запрос для очень широких экранов */
@media (min-width: 1200px) {
  .footer-brand {
    font-size: 270px; /* Фиксированный размер для широких экранов */
    opacity: 0.8;
    font-family: 'Roboto', sans-serif;
  }
}

/* Обновлённые стили для плавающих элементов (пузырьков) */
.floating-elements {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.floating-element {
  position: absolute;
  background: linear-gradient(135deg, rgba(110, 142, 251, 0.1), rgba(167, 119, 227, 0.1));
  border-radius: 50%;
  animation: float 15s infinite ease-in-out;
}

.floating-element:nth-child(1) {
  width: 300px;
  height: 300px;
  top: 10%;
  left: 10%;
  animation-duration: 25s;
}

.floating-element:nth-child(2) {
  width: 200px;
  height: 200px;
  top: 60%;
  left: 80%;
  animation-duration: 20s;
  animation-delay: 2s;
}

.floating-element:nth-child(3) {
  width: 150px;
  height: 150px;
  top: 30%;
  left: 60%;
  animation-duration: 18s;
  animation-delay: 1s;
}

.floating-element:nth-child(4) {
  width: 100px;
  height: 100px;
  top: 70%;
  left: 30%;
  animation-duration: 22s;
  animation-delay: 3s;
}

@keyframes float {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  25% {
    transform: translate(50px, 25px) rotate(5deg);
  }
  50% {
    transform: translate(0, 50px) rotate(0deg);
  }
  75% {
    transform: translate(-50px, 25px) rotate(-5deg);
  }
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
}

/* Волны в футере */
.wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%236e8efb" fill-opacity="0.2" d="M0,192L48,197.3C96,203,192,213,288,229.3C384,245,480,267,576,250.7C672,235,768,181,864,181.3C960,181,1056,235,1152,234.7C1248,235,1344,181,1392,154.7L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
  background-size: 1440px 100px;
  animation: wave 15s linear infinite;
  z-index: 1;
}

.wave:nth-child(2) {
  bottom: 10px;
  opacity: 0.5;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23a777e3" fill-opacity="0.2" d="M0,64L48,80C96,96,192,128,288,128C384,128,480,96,576,106.7C672,117,768,171,864,197.3C960,224,1056,224,1152,197.3C1248,171,1344,117,1392,90.7L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
  animation: wave 20s linear infinite;
  animation-delay: -5s;
}

.wave:nth-child(3) {
  bottom: 20px;
  opacity: 0.2;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%2342e695" fill-opacity="0.2" d="M0,256L48,261.3C96,267,192,277,288,261.3C384,245,480,203,576,202.7C672,203,768,245,864,261.3C960,277,1056,267,1152,240C1248,213,1344,171,1392,149.3L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
  animation: wave 30s linear infinite;
  animation-delay: -2s;
}

/* Обновленные стили для плавающих элементов (пузырьков) - более точные */


/* Стили для анимации появления элементов */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Анимация для статистических карт */
.document-card {
  animation: fadeInUp 0.5s ease-out;
  animation-fill-mode: both;
}

.document-card:nth-child(1) { animation-delay: 0.1s; }
.document-card:nth-child(2) { animation-delay: 0.2s; }
.document-card:nth-child(3) { animation-delay: 0.3s; }
.document-card:nth-child(4) { animation-delay: 0.4s; }
.document-card:nth-child(5) { animation-delay: 0.5s; }

/* УДАЛЕНЫ: roadmap стили, лишние дубликаты, неиспользуемые эффекты */

/* УДАЛЕНЫ: стили для roadmap таймлайна */
/* УДАЛЕНЫ: дубликаты стилей для floating-elements */
/* УДАЛЕНЫ: неиспользуемые эффекты (neomorphic, glass-effect, tooltip) */
/* УДАЛЕНЫ: pay-per-check и check-packages стили */
/* УДАЛЕНЫ: дубликаты стилей для social-links */

/* Стили для соцсетей в футере */
.social-links {
  margin: 15px 0;
  position: relative;
  z-index: 10;
}

.social-links a {
  display: inline-block;
  margin: 0 10px;
  font-size: 24px;
  color: var(--dark-blue);
  transition: transform 0.3s, color 0.3s;
}

.social-links a:hover {
  transform: translateY(-5px);
  color: var(--light-blue);
}

/* Стили для fancy-нумерации 123! - квадратная форма, голубой hover */
.fancy-number {
  width: 50px;
  height: 50px;
  background: var(--primary-gradient);
  border-radius: 8px;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.3rem;
  margin-right: 1rem;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(110, 142, 251, 0.3);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.fancy-number:hover {
  background: var(--light-blue);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
  border-color: #2980b9;
}

/* Стили для анимации чисел в статистике */
.counter {
  display: inline-block;
  min-width: 60px;
  font-weight: bold;
  color: var(--light-blue);
}

.value-title .counter {
  font-size: 1.5em;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Стили для email кнопки в контактах - фиолетово-голубой градиент */
.contact-email {
  text-align: center;
  margin: 1.5rem 0;
}

.email-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2.5rem;
  background: var(--primary-gradient);
  color: white !important;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  box-shadow: 0 4px 15px rgba(110, 142, 251, 0.3);
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
}

.email-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(110, 142, 251, 0.5);
  border-color: rgba(255, 255, 255, 0.3);
}

.email-link:active {
  transform: translateY(-1px) scale(0.98);
}

.email-link i {
  font-size: 1.3rem;
}

/* Стили для GIF в секции "Как пользоваться" */
.gif-preview {
  width: 100%;
  max-width: 100%;
  max-height: 400px;
  object-fit: contain;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border: 2px solid transparent;
}

.gif-preview:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  border-color: var(--light-blue);
}

/* Модальное окно для просмотра GIF в полный размер */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  position: relative;
  background: white;
  border-radius: var(--border-radius);
  padding: 2rem;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  animation: modalSlideIn 0.3s ease-out;
}

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

.modal-image {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: var(--border-radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.modal-close {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 40px;
  height: 40px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  border: 2px solid #e9ecef;
}

.modal-close:hover {
  background: #f8f9fa;
  transform: scale(1.1);
}

.modal-caption {
  margin-top: 1rem;
  color: var(--text-light);
  font-size: 0.9rem;
  text-align: center;
}

/* УДАЛЕНЫ: все roadmap стили */
/* УДАЛЕНЫ: все дубликаты и устаревшие эффекты */

/* ОСТАВЛЕНЫ ТОЛЬКО НЕОБХОДИМЫЕ СТИЛИ ДЛЯ ИКОНОК И АНИМАЦИЙ */

/* Обновленные стили для карточек ГОСТов */
.standard-item {
  background: white;
  border-radius: var(--border-radius);
  padding: 1.5rem;
  text-align: left;
  display: flex;
  flex-direction: column;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform var(--transition-speed), box-shadow var(--transition-speed);
  border-left: 4px solid var(--primary-gradient);
}

.standard-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.standard-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(52, 152, 219, 0.1);
  border-radius: 12px;
  margin-bottom: 1rem;
}

.standard-icon i {
  font-size: 2rem;
  color: var(--light-blue);
}

.standard-name {
  font-weight: 600;
  color: var(--dark-blue);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.standard-desc {
  color: var(--text-light);
  margin-bottom: 1rem;
  font-size: 0.9rem;
  flex-grow: 1;
}

.gost-link {
  align-self: flex-start;
  color: var(--light-blue);
  text-decoration: none;
  font-weight: 500;
  display: flex;
  align-items: center;
  transition: color 0.3s;
}

.gost-link:hover {
  color: var(--dark-blue);
}

.gost-link i {
  margin-left: 0.5rem;
  font-size: 0.8rem;
}
/* Улучшение раздела "Что такое GOSTy?" */
.gosty-info {
  margin-bottom: 2rem;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.feature-list li {
  margin-bottom: 1rem;
  padding-left: 1.8rem;
  position: relative;
}

.feature-list li i {
  position: absolute;
  left: 0;
  top: 3px;
  color: var(--success-color);
}

.highlight-box {
  background: var(--primary-gradient);
  color: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 1.2rem;
  font-weight: 500;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Стили для секции проблем */
.problems-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin: 2rem 0;
}

.problem-card {
  background: linear-gradient(135deg, #fff5f5 0%, #ffe0e0 100%);
  border-radius: var(--border-radius);
  padding: 25px;
  border-left: 4px solid #dc3545;
  transition: all 0.3s ease;
}

.problem-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(220, 53, 69, 0.2);
}

.problem-icon {
  font-size: 2.5em;
  color: #dc3545;
  margin-bottom: 15px;
}

.problem-title {
  font-size: 1.2em;
  font-weight: 600;
  color: #333;
  margin-bottom: 10px;
}

.problem-card p {
  color: #666;
  margin: 0;
}

/* Стили для секции решений */
.solutions-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin: 2rem 0;
}

.solution-card {
  background: white;
  border-radius: var(--border-radius);
  padding: 25px;
  border-left: 4px solid #28a745;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.solution-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(40, 167, 69, 0.2);
}

.solution-icon {
  font-size: 2.5em;
  color: #28a745;
  margin-bottom: 15px;
}

.solution-title {
  font-size: 1.2em;
  font-weight: 600;
  color: #333;
  margin-bottom: 10px;
}

.solution-card p {
  color: #666;
  margin: 0;
}

/* Стили для FAQ */
.faq-section {
  margin: 2rem 0;
}

.faq-item {
  background: white;
  border-radius: var(--border-radius);
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.faq-question {
  padding: 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s;
  font-weight: 600;
  color: var(--dark-blue);
}

.faq-question:hover {
  background-color: rgba(110, 142, 251, 0.05);
}

.faq-toggle {
  transition: transform 0.3s;
  font-size: 1.2em;
  color: var(--light-blue);
}

.faq-item.active .faq-toggle {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s;
  background-color: #f8f9fa;
  color: #666;
}

.faq-item.active .faq-answer {
  padding: 20px;
  max-height: 500px;
}

/* Стили для карточек использования */
.usage-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin: 2rem 0;
}

.usage-card {
  background: white;
  border-radius: var(--border-radius);
  padding: 25px;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.usage-card:hover {
  border-color: var(--light-blue);
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(52, 152, 219, 0.2);
}

.usage-icon {
  font-size: 3em;
  color: var(--light-blue);
  margin-bottom: 15px;
}

.usage-title {
  font-size: 1.2em;
  font-weight: 600;
  color: var(--dark-blue);
  margin-bottom: 15px;
}

.usage-card p {
  color: #666;
  margin-bottom: 10px;
  font-size: 0.95em;
  line-height: 1.5;
}

.usage-card p strong {
  color: var(--dark-blue);
}

.usage-card .demo-gif-container {
  margin-top: 15px;
  margin-bottom: 0;
}

/* Стили для секции расширения под нужды */
.expansion-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin: 2rem 0;
}

.expansion-card {
  background: white;
  border-radius: var(--border-radius);
  padding: 25px;
  border-left: 4px solid var(--primary-gradient);
  transition: all 0.3s ease;
}

.expansion-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(110, 142, 251, 0.2);
}

.expansion-icon {
  font-size: 2.5em;
  color: var(--light-blue);
  margin-bottom: 15px;
}

.expansion-title {
  font-size: 1.2em;
  font-weight: 600;
  color: var(--dark-blue);
  margin-bottom: 10px;
}

.expansion-card p {
  color: #666;
  margin-bottom: 10px;
  font-size: 0.95em;
  line-height: 1.5;
}

.expansion-card p strong {
  color: var(--dark-blue);
}

.expansion-card ul {
  list-style: none;
  padding: 0;
  margin: 10px 0;
}

.expansion-card ul li {
  margin-bottom: 8px;
  padding-left: 1.5rem;
  position: relative;
  color: #666;
  font-size: 0.95em;
}

.expansion-card ul li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--light-blue);
  font-weight: bold;
}
/* Выравнивание кнопок в карточках */
.category-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.category-card ul {
  flex-grow: 1;
}

.category-card .price {
  margin: 1rem 0;
}

.category-card .glow-button {
  margin-top: auto;
}

/* FAQ стили */
.faq-container {
  margin-top: 2rem;
}

.faq-item {
  margin-bottom: 1rem;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.faq-question {
  padding: 1.2rem;
  background: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: background-color 0.3s;
}

.faq-question:hover {
  background-color: rgba(110, 142, 251, 0.05);
}

.faq-question h3 {
  margin: 0;
  font-size: 1.1rem;
}

.faq-toggle {
  transition: transform 0.3s;
}

.faq-item.active .faq-toggle {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s;
  background-color: #f8f9fa;
}

.faq-item.active .faq-answer {
  padding: 1.2rem;
  max-height: 500px; /* Adjusted based on expected content */
}

/* Стили для FAQ на отдельной странице */
.faq-item {
  margin-bottom: 1rem;
  border: 1px solid #e9ecef;
  border-radius: 10px;
  overflow: hidden;
}

.faq-question {
  background: #f8f9fa;
  padding: 1.5rem;
  cursor: pointer;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s;
}

.faq-question:hover {
  background: rgba(110, 142, 251, 0.05);
}

.faq-answer {
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s;
  background-color: white;
}

.faq-answer.active {
  padding: 1.5rem;
  max-height: 300px;
}
/* Переопределение стилей для карточек ГОСТов */
.supported-standards .standard-item {
    background: white;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    text-align: left;
    display: flex;
    flex-direction: column;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
    position: relative;
    border-left: 5px solid transparent;
    overflow: visible;
}

.supported-standards .standard-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -5px;
    width: 5px;
    height: 100%;
    background: var(--primary-gradient);
    border-top-left-radius: var(--border-radius);
    border-bottom-left-radius: var(--border-radius);
    z-index: 1;
}

.supported-standards .standard-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem; 
    background: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.supported-standards .standard-icon i {
    font-size: 2.2rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.standard-desc {
    margin: 0.5rem 0 1rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

.gost-link {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    font-weight: 500;
    color: var(--light-blue);
    text-decoration: none;
}

.gost-link i {
    margin-left: 0.5rem;
    font-size: 0.9rem;
}

/* Стили для секции значений */
.values-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin: 40px 0;
}

.value-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  padding: 25px;
  text-align: center;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: 
    0 6px 16px rgba(110, 142, 251, 0.2),
    0 12px 32px rgba(167, 119, 227, 0.15),
    0 0 20px rgba(110, 142, 251, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  animation: shadowPulse 3s ease-in-out infinite;
}

.value-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 
    0 12px 30px rgba(110, 142, 251, 0.35),
    0 24px 60px rgba(167, 119, 227, 0.25),
    0 0 40px rgba(110, 142, 251, 0.25);
  animation: none;
}

@keyframes shadowPulse {
  0%, 100% { 
    box-shadow: 0 6px 16px rgba(110, 142, 251, 0.2), 0 12px 32px rgba(167, 119, 227, 0.15), 0 0 20px rgba(110, 142, 251, 0.1); 
  }
  50% { 
    box-shadow: 0 8px 20px rgba(110, 142, 251, 0.25), 0 16px 40px rgba(167, 119, 227, 0.2), 0 0 25px rgba(110, 142, 251, 0.15); 
  }
}

.value-icon {
  font-size: 2.5em;
  margin-bottom: 15px;
  color: white;
  background: linear-gradient(135deg, #6e8efb, #a777e3);
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  box-shadow: 0 4px 10px rgba(110, 142, 251, 0.3);
}

.value-title {
  font-weight: 600;
  margin-bottom: 10px;
  color: #6e8efb;
  font-size: 1.3em;
}

.value-card p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.value-card .glow-button {
  margin-top: auto;
  align-self: center;
}

/* Стили для CTA блока */
.cta-block {
  background: linear-gradient(135deg, rgba(110, 142, 251, 0.1), rgba(167, 119, 227, 0.1));
  border-radius: var(--border-radius);
  padding: 2rem;
  text-align: center;
  margin-top: 3rem;
  border: 1px solid rgba(110, 142, 251, 0.2);
}

.cta-block h3 {
  color: var(--dark-blue);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.cta-block p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.cta-button {
  display: inline-block;
  background: var(--primary-gradient);
  color: white;
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all var(--transition-speed);
  box-shadow: 0 5px 15px rgba(110, 142, 251, 0.3);
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(110, 142, 251, 0.4);
  color: white;
}

/* Стили для статей */
.article-container {
  max-width: 800px;
  margin: 0 auto;
}

.article-header {
  text-align: center;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 2px solid rgba(110, 142, 251, 0.1);
}

.article-header h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.article-meta {
  color: var(--text-light);
  font-style: italic;
  margin-bottom: 0;
}

.article-content {
  line-height: 1.8;
}

.lead {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  text-align: center;
  font-style: italic;
}

/* Глобальное применение шрифтов ко всему тексту */
body, p, li, span, div, a, strong, em, h1, h2, h3, h4, h5, h6, input, textarea, button, select, label, caption, th, td, code, pre, blockquote {
    font-family: 'Inter', 'Montserrat', 'Roboto', sans-serif !important;
}

/* Заголовки - можно сделать немного крупнее */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', 'Montserrat', 'Roboto', sans-serif !important;
    font-weight: 700;
}

/* Минимальные стили для логотипа */
.logo h1 a {
    text-decoration: none;
    color: inherit;
    display: inline-block;
}

.logo h1 a:hover {
    color: inherit;
    text-decoration: none;
}

/* B2B бейдж */
.b2b-badge {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

/* Hero tagline */
.hero-tagline {
    font-size: 1.5rem;
    color: #6c757d;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

/* Secondary button */
.glow-button.secondary {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    color: #2c3e50;
}

.glow-button.secondary:hover {
    background: linear-gradient(135deg, #e9ecef, #dee2e6);
}

/* Адаптивность для hero-tagline */
@media (max-width: 768px) {
    .hero-tagline {
        font-size: 1.2rem;
    }
}
