/* Базовые стили и CSS переменные для тем */
:root {
    /* Светлая тема (по умолчанию) */
    --primary: #6C63FF;
    --primary-dark: #554fd8;
    --secondary: #FF6584;
    --text: #1a1a2e;
    --text-light: #4a5568;
    --bg: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-card: #ffffff;
    --border: #e2e8f0;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-hover: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --success: #10b981;
    --transition: all 0.3s ease;
}

[data-theme="dark"] {
    /* Тёмная тема */
    --primary: #6C63FF;
    --primary-dark: #554fd8;
    --secondary: #FF6584;
    --text: #f8f9fa;
    --text-light: #a0aec0;
    --bg: #1a1a2e;
    --bg-secondary: #16213e;
    --bg-card: rgba(255, 255, 255, 0.05);
    --border: #2d3748;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
    --shadow-hover: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -2px rgba(0, 0, 0, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

body {
    font-family: "Montserrat", sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--bg);
    transition: var(--transition);
    overflow-x: hidden;
}
a { text-decoration: none; }
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Переключатель тем */
.theme-switcher {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 1000;
}

#themeToggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    box-shadow: var(--shadow);
    transition: var(--transition);
    font-family: "Montserrat", sans-serif;
}

#themeToggle:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

#themeToggle i {
    font-size: 1.2rem;
}

/* Навигация */
.navbar {
    background-color: var(--bg);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo {
    display: flex;
    align-items: center;
    color: var(--text);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
}
.logo-img{
    margin-right:15px;
}
.logo i {
    color: var(--primary);
    margin-right: 10px;
    font-size: 1.5rem;
}

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

.nav-menu li {
    margin-left: 2rem;
}

.nav-menu a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    padding: 0.5rem 0;
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary);
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Герой-секция */
.hero {
    padding: 150px 0 80px;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg) 100%);
    overflow: hidden;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-content {
    flex: 1;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    max-width: 600px;
}

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

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

.tech-circle {
    width: 300px;
    height: 300px;
    position: relative;
    animation: float 6s ease-in-out infinite;
}

.tech-circle i {
    position: absolute;
    font-size: 3rem;
    color: var(--primary);
}
/* Стили для карусели новостей */
/* Стили для карусели новостей */
.news-carousel {
    position: relative;
    width: 100%;
    max-width: 500px;
    height: 300px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: var(--shadow);
    background: var(--bg-secondary);
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    text-align: center;
}

.carousel-slide.active {
    opacity: 1;
}

.slide-image {
    font-size: 4rem;
    color: var(--primary); /* Используем переменную primary */
    margin-bottom: 20px;
    animation: float 6s ease-in-out infinite;
}

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

.slide-caption h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--text); /* Используем переменную text */
}

.slide-caption p {
    color: var(--text-light); /* Используем переменную text-light */
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Стрелки навигации */
.carousel-prev,
.carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--bg-card); /* Используем переменную bg-card с прозрачностью */
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text); /* Используем переменную text */
    font-size: 1rem;
    z-index: 10;
    border: 1px solid var(--border); /* Используем переменную border */
    opacity: 0.8;
}

.carousel-prev:hover,
.carousel-next:hover {
    background: var(--primary); /* Используем переменную primary */
    color: white;
    transform: translateY(-50%) scale(1.1);
    opacity: 1;
}

.carousel-prev {
    left: 15px;
}

.carousel-next {
    right: 15px;
}
/* Индикаторы слайдов - исправленные для обеих тем */
/* Индикаторы слайдов - исправленные для обеих тем */
.carousel-indicators {
    position: absolute;
    bottom: 15px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    /* Для светлой темы - темные точки */
    background-color: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

/* Для темной темы переопределяем стили */
[data-theme="dark"] .indicator {
    background-color: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.1);
}

.indicator.active {
    background-color: var(--primary); /* Используем вашу переменную primary */
    transform: scale(1.2);
    border-color: var(--primary);
}

.indicator:hover {
    background-color: rgba(108, 117, 125, 0.5);
    transform: scale(1.1);
}

[data-theme="dark"] .indicator:hover {
    background-color: rgba(255, 255, 255, 0.5);
}

/* Адаптивность */
@media (max-width: 768px) {
    .news-carousel {
        height: 250px;
        max-width: 100%;
    }
    
    .slide-image {
        font-size: 3rem;
        margin-bottom: 15px;
    }
    
    .slide-caption h3 {
        font-size: 1.1rem;
    }
    
    .slide-caption p {
        font-size: 0.85rem;
    }
}

/* Адаптивность */
@media (max-width: 768px) {
    .news-carousel {
        height: 250px;
        max-width: 100%;
    }
    
    .slide-image {
        font-size: 3rem;
        margin-bottom: 15px;
    }
    
    .slide-caption h3 {
        font-size: 1.1rem;
    }
    
    .slide-caption p {
        font-size: 0.85rem;
    }
}

.tech-circle i:nth-child(1) { top: 0; left: 50%; transform: translateX(-50%); }
.tech-circle i:nth-child(2) { top: 50%; right: 0; transform: translateY(-50%); }
.tech-circle i:nth-child(3) { bottom: 0; left: 50%; transform: translateX(-50%); }
.tech-circle i:nth-child(4) { top: 50%; left: 0; transform: translateY(-50%); }

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

/* Кнопки */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

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

.btn-secondary:hover {
    background-color: rgba(108, 99, 255, 0.1);
    transform: translateY(-2px);
}

.btn-large {
    padding: 15px 40px;
    font-size: 1.2rem;
}

.btn-block {
    width: 100%;
    text-align: center;
}

/* Сферы деятельности */
.domains {
    padding: 80px 0;
}

.domains h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--text);
}

.domains-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.domain-card {
    background: var(--bg-card);
    border-radius: 15px;
    padding: 30px;
    transition: var(--transition);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

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

.domain-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.domain-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text);
}

.domain-card p {
    color: var(--text-light);
}

/* Почему выбирают нас */
.why-us {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.why-us h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--text);
}

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

.why-card {
    background: var(--bg-card);
    border-radius: 15px;
    padding: 30px;
    transition: var(--transition);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.why-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: var(--shadow-hover);
}

.why-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    opacity: 0.3;
    min-width: 50px;
}

.why-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--text);
}

.why-content p {
    color: var(--text-light);
}

/* Для кого мы работаем */
.for-whom {
    padding: 80px 0;
}

.for-whom h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--text);
}

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

.client-card {
    background: var(--bg-card);
    border-radius: 15px;
    padding: 30px;
    transition: var(--transition);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.client-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: var(--shadow-hover);
}

.client-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.client-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--text);
}

.client-card ul {
    list-style: none;
    padding-left: 0;
}

.client-card li {
    color: var(--text-light);
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.client-card li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary);
}

/* Форма и контактная страница */
.contact-page {
    padding: 150px 0 80px;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    margin-top: 40px;
}

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

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--bg-card);
    color: var(--text);
    font-size: 1rem;
    transition: border 0.3s;
}

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

.checkbox {
    display: flex;
    align-items: flex-start;
}

.checkbox input {
    width: auto;
    margin-right: 10px;
    margin-top: 5px;
}

.checkbox label {
    margin-bottom: 0;
    font-size: 0.9rem;
}

.checkbox a {
    color: var(--primary);
}

.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    display: none;
}

.form-message.success {
    display: block;
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid var(--success);
    color: var(--success);
}

.form-message.error {
    display: block;
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid #ef4444;
    color: #ef4444;
}

.contact-info {
    background: var(--bg-card);
    border-radius: 15px;
    padding: 30px;
    border: 1px solid var(--border);
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: var(--text);
}

.info-item {
    display: flex;
    margin-bottom: 25px;
}

.info-item i {
    font-size: 1.2rem;
    color: var(--primary);
    margin-right: 15px;
    margin-top: 5px;
}

.info-item h4 {
    font-size: 1rem;
    color: var(--text);
    margin-bottom: 5px;
}

.info-item p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Призыв к действию */
.cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    text-align: center;
}

.cta h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 30px;
}

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

.cta .btn-large:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-3px);
}

/* Подвал */
.footer {
    background-color: var(--bg-secondary);
    padding: 60px 0 30px;
    margin-top: 80px;
    border-top: 1px solid var(--border);
}

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

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
}

.footer-about p {
    color: var(--text-light);
    margin-top: 15px;
}

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

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

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

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s;
}

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

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

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--bg-card);
    border-radius: 50%;
    color: var(--text);
    font-size: 1.2rem;
    transition: var(--transition);
    border: 1px solid var(--border);
}

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

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-light);
    font-size: 0.9rem;
    flex-wrap: wrap;
}

.footer-bottom a {
    color: var(--text-light);
    text-decoration: none;
}

.footer-bottom a:hover {
    color: var(--primary);
}
/* Стили для страницы "О компании" */

.page-hero {
    padding: 150px 0 60px;
    text-align: center;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg) 100%);
}

.page-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.page-hero .subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* История компании */
.story {
    padding: 80px 0;
}

.story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

@media (max-width: 768px) {
    .story-content {
        grid-template-columns: 1fr;
    }
}

.story-text h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: var(--text);
}

.story-text p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
    line-height: 1.8;
}

/* Таймлайн */
.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--primary), var(--secondary));
    border-radius: 3px;
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-year {
    position: absolute;
    left: -40px;
    top: 0;
    background: var(--primary);
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9rem;
}

.timeline-content {
    background: var(--bg-card);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.timeline-content h4 {
    margin-bottom: 5px;
    color: var(--text);
}

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

/* Миссия и ценности */
.mission-values {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.mission {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.mission h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: var(--text);
}

.mission-statement {
    font-size: 1.3rem;
    line-height: 1.8;
    color: var(--text-light);
    font-style: italic;
    padding: 0 20px;
}

.values h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 50px;
    color: var(--text);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.value-card {
    text-align: center;
    padding: 30px;
    background: var(--bg-card);
    border-radius: 15px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.value-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.value-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--text);
}

.value-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Команда */
.team {
    padding: 80px 0;
}

.team h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text);
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 50px;
    font-size: 1.1rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.team-member {
    text-align: center;
    padding: 30px;
    background: var(--bg-card);
    border-radius: 15px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: var(--shadow-hover);
}

.member-avatar {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
}

.team-member h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
    color: var(--text);
}

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

.member-bio {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Достижения */
.achievements {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.achievements h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--text);
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.achievement-card {
    text-align: center;
    padding: 30px;
    background: var(--bg-card);
    border-radius: 15px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.achievement-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 10px;
}

.achievement-card p {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* Технологии */
.technologies {
    padding: 80px 0;
}

.technologies h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--text);
}

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

.tech-category {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.tech-category h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    color: var(--text);
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary);
}

.tech-list {
    list-style: none;
    padding: 0;
}

.tech-list li {
    margin-bottom: 12px;
    color: var(--text-light);
    display: flex;
    align-items: center;
}

.tech-list i {
    color: var(--primary);
    margin-right: 10px;
    font-size: 0.9rem;
}

/* Стили для страницы "Продукты" */

.product-filter {
    padding: 30px 0;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
}

.filter-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.filter-btn {
    padding: 12px 25px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 30px;
    color: var(--text);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: "Montserrat", sans-serif;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateY(-2px);
}

/* Категории продуктов */
.product-category {
    padding: 80px 0;
    border-bottom: 1px solid var(--border);
}

.product-category:last-child {
    border-bottom: none;
}

.category-title {
    font-size: 2.2rem;
    margin-bottom: 50px;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 15px;
}

.category-title i {
    color: var(--primary);
}

/* Карточки продуктов */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--bg-card);
    border-radius: 15px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
}

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

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--secondary);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 1;
}

.product-image {
    height: 200px;
    background: linear-gradient(135deg, rgba(108, 99, 255, 0.1), rgba(255, 101, 132, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--primary);
}

.product-content {
    padding: 30px;
}

.product-content h3 {
    font-size: 1.6rem;
    margin-bottom: 5px;
    color: var(--text);
}

.product-subtitle {
    color: var(--text-light);
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.product-features span {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.product-features i {
    color: var(--primary);
    font-size: 0.8rem;
}

.product-description {
    color: var(--text);
    margin-bottom: 20px;
    line-height: 1.6;
}

.product-specs h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--text);
}

.product-specs ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 25px;
}

.product-specs li {
    color: var(--text-light);
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
    font-size: 0.9rem;
}

.product-specs li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-size: 1.2rem;
}

.product-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

/* Кейсы успеха */
.case-studies {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.case-studies h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--text);
}

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

.case-card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.case-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: var(--shadow-hover);
}

.case-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.case-logo {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.case-info h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
    color: var(--text);
}

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

.case-description {
    color: var(--text);
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 0.95rem;
}

.case-result {
    margin-top: 15px;
}

.result-badge {
    display: inline-block;
    padding: 5px 15px;
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Анимации */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

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

.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Кнопки CTA на странице "О компании" */
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}
/* Секция новостей */
.news {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 50px;
    flex-wrap: wrap;
    gap: 20px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--text);
    margin-bottom: 10px;
}

.section-subtitle {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 600px;
}

.btn-view-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    padding: 10px 20px;
    border: 2px solid var(--primary);
    border-radius: 30px;
    transition: var(--transition);
}

.btn-view-all:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

/* Сетка новостей */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

@media (min-width: 1200px) {
    .news-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .news-card.featured {
        grid-column: span 2;
        grid-row: span 2;
        display: flex;
        flex-direction: column;
    }
}

.news-card {
    background: var(--bg-card);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary);
}

.news-card.featured {
    position: relative;
}

.news-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--secondary);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 1;
}

.news-image {
    height: 200px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.news-card.featured .news-image {
    height: 300px;
    font-size: 6rem;
}

.news-image i {
    opacity: 0.9;
}

.news-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.news-date {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.85rem;
    color: var(--text-light);
}

.news-date i {
    font-size: 0.9rem;
    color: var(--primary);
}

.news-category {
    background: rgba(108, 99, 255, 0.1);
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.news-title {
    font-size: 1.4rem;
    line-height: 1.4;
    margin-bottom: 15px;
    color: var(--text);
    flex-grow: 1;
}

.news-card.featured .news-title {
    font-size: 1.8rem;
}

.news-excerpt {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95rem;
    flex-grow: 1;
}

.news-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.news-read-more {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
}

.news-read-more:hover {
    gap: 10px;
    color: var(--primary-dark);
}

.news-stats {
    display: flex;
    gap: 15px;
    font-size: 0.85rem;
    color: var(--text-light);
}

.news-stats span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.news-stats i {
    font-size: 0.9rem;
}

/* Форма подписки на новости */
.news-cta {
    text-align: center;
    padding: 40px;
    background: var(--bg-card);
    border-radius: 15px;
    border: 2px dashed var(--border);
    margin-top: 30px;
}

.news-cta p {
    font-size: 1.2rem;
    margin-bottom: 25px;
    color: var(--text);
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.newsletter-form input {
    flex-grow: 1;
    min-width: 250px;
    padding: 12px 20px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--bg);
    color: var(--text);
    font-size: 1rem;
    transition: var(--transition);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.1);
}

.newsletter-form button {
    padding: 12px 30px;
}

/* Анимация карточек новостей */
.news-card {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.6s ease forwards;
}
/* Стили для сообщений формы подписки */
.newsletter-message {
    margin-top: 20px;
    padding: 15px 20px;
    border-radius: 8px;
    font-weight: 500;
    text-align: center;
    animation: slideDown 0.3s ease;
    transition: opacity 0.3s ease;
}

.newsletter-message.success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid var(--success);
    color: var(--success);
}

.newsletter-message.error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid #ef4444;
    color: #ef4444;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.news-card:nth-child(1) { animation-delay: 0.1s; }
.news-card:nth-child(2) { animation-delay: 0.2s; }
.news-card:nth-child(3) { animation-delay: 0.3s; }
.news-card:nth-child(4) { animation-delay: 0.4s; }
.news-card:nth-child(5) { animation-delay: 0.5s; }
.news-card:nth-child(6) { animation-delay: 0.6s; }

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* Стили для страницы всех новостей */
.news-page {
    padding-top: 100px;
}

/* Фильтры новостей */
.news-filters {
    background: var(--bg-secondary);
    padding: 40px 0;
    border-bottom: 1px solid var(--border);
}

.filters-wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.news-search {
    width: 100%;
}

.search-box {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
    border-radius: 50px;
    overflow: hidden;
    border: 2px solid var(--border);
    background: var(--bg-card);
}

.search-box i {
    padding: 15px 20px;
    color: var(--text-light);
    font-size: 1.1rem;
}

.search-box input {
    flex: 1;
    border: none;
    background: transparent;
    color: var(--text);
    font-size: 1rem;
    padding: 0 10px;
}

.search-box input:focus {
    outline: none;
}

.search-box button {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0 30px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.search-box button:hover {
    background: var(--primary-dark);
}

.categories h3 {
    margin-bottom: 15px;
    color: var(--text);
    font-size: 1.2rem;
}

.categories-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.category-btn {
    padding: 8px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    color: var(--text);
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
}

.category-btn:hover,
.category-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.sorting {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sorting label {
    color: var(--text);
    font-weight: 500;
}

.sorting select {
    padding: 8px 15px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--bg-card);
    color: var(--text);
    cursor: pointer;
}

/* Список всех новостей */
.all-news {
    padding: 60px 0;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.news-article {
    display: flex;
    gap: 30px;
    background: var(--bg-card);
    border-radius: 15px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
}

.news-article:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary);
}

.news-article.large {
    flex-direction: column;
}

@media (min-width: 768px) {
    .news-article.large {
        flex-direction: row;
    }
    
    .news-article.large .article-image {
        flex: 0 0 40%;
    }
}

.article-image {
    flex: 0 0 250px;
    position: relative;
}

.news-article.large .article-image {
    flex: 0 0 40%;
}

.image-placeholder {
    height: 100%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
}

.news-article.large .image-placeholder {
    font-size: 4rem;
}

.article-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--secondary);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.article-content {
    flex: 1;
    padding: 30px;
    display: flex;
    flex-direction: column;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.85rem;
}

.article-date,
.article-author {
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 5px;
}

.article-category {
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.article-category.vr {
    background: rgba(108, 99, 255, 0.1);
    color: var(--primary);
}

.article-category.web {
    background: rgba(255, 101, 132, 0.1);
    color: #FF6584;
}

.article-category.desktop {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

.article-category.updates {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.article-category.events {
    background: rgba(139, 92, 246, 0.1);
    color: #8b5cf6;
}

.article-category.analytics {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.article-category.tutorials {
    background: rgba(236, 72, 153, 0.1);
    color: #ec4899;
}

.article-title {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: var(--text);
    line-height: 1.4;
}

.news-article.large .article-title {
    font-size: 2rem;
}

.article-excerpt {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(108, 99, 255, 0.1);
    color: var(--primary);
    border-radius: 15px;
    font-size: 0.8rem;
    text-decoration: none;
    transition: var(--transition);
}

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

.article-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.article-stats {
    display: flex;
    gap: 20px;
    color: var(--text-light);
    font-size: 0.85rem;
}

.article-stats span {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Пагинация */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 50px;
    padding: 30px 0;
    border-top: 1px solid var(--border);
}

.page-btn {
    padding: 10px 20px;
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.page-btn:hover:not(.disabled) {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.page-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.page-numbers {
    display: flex;
    gap: 10px;
}

.page-number {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: var(--text);
    text-decoration: none;
    transition: var(--transition);
}

.page-number:hover,
.page-number.active {
    background: var(--primary);
    color: white;
}

.page-dots {
    color: var(--text-light);
}

/* Боковая панель */
.news-sidebar {
    background: var(--bg-secondary);
    padding: 60px 0;
    border-top: 1px solid var(--border);
}

.sidebar-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

@media (min-width: 1024px) {
    .news-page {
        display: grid;
        grid-template-columns: 1fr 300px;
    }
    
    .news-sidebar {
        grid-column: 2;
        grid-row: 2 / span 2;
        background: transparent;
        padding-top: 0;
        border: none;
    }
    
    .sidebar-content {
        position: sticky;
        top: 120px;
        display: block;
    }
    
    .sidebar-widget {
        margin-bottom: 40px;
    }
}

.sidebar-widget {
    background: var(--bg-card);
    padding: 25px;
    border-radius: 15px;
    border: 1px solid var(--border);
}

.sidebar-widget h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-widget h3 i {
    color: var(--primary);
}

.popular-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.popular-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px;
    border-radius: 8px;
    text-decoration: none;
    transition: var(--transition);
}

.popular-item:hover {
    background: rgba(108, 99, 255, 0.1);
}

.popular-rank {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    font-weight: bold;
    font-size: 0.9rem;
}

.popular-item:nth-child(2) .popular-rank {
    background: var(--secondary);
}

.popular-item:nth-child(3) .popular-rank {
    background: var(--success);
}

.popular-content h4 {
    font-size: 0.95rem;
    margin-bottom: 5px;
    color: var(--text);
}

.popular-meta {
    font-size: 0.8rem;
    color: var(--text-light);
}

.archive-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.archive-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    border-radius: 8px;
    text-decoration: none;
    color: var(--text);
    transition: var(--transition);
}

.archive-item:hover {
    background: rgba(108, 99, 255, 0.1);
}

.archive-count {
    background: var(--bg);
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    color: var(--text-light);
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.sidebar-newsletter {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.sidebar-newsletter input {
    padding: 12px 15px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--bg);
    color: var(--text);
    font-size: 1rem;
}

.sidebar-newsletter input:focus {
    outline: none;
    border-color: var(--primary);
}

/* Сообщение "ничего не найдено" */
.no-results-message {
    text-align: center;
    padding: 60px 20px;
    grid-column: 1 / -1;
}

.no-results-message i {
    font-size: 4rem;
    color: var(--text-light);
    margin-bottom: 20px;
}

.no-results-message h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--text);
}

.no-results-message p {
    color: var(--text-light);
    margin-bottom: 30px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Стили для страницы отдельной статьи */
.single-article-page {
    padding-top: 100px;
}

/* Хлебные крошки */
.breadcrumbs {
    background: var(--bg-secondary);
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
}

.breadcrumbs-nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 0.9rem;
}

.breadcrumbs-nav a {
    color: var(--text);
    text-decoration: none;
    transition: var(--transition);
}

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

.breadcrumbs-nav i {
    color: var(--text-light);
    font-size: 0.8rem;
}

.breadcrumbs-nav .current {
    color: var(--text-light);
}

/* Полная статья */
.article-full {
    padding: 60px 0;
}

.article-header {
    margin-bottom: 40px;
}

.article-header .article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.article-title {
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text);
}

.article-subtitle {
    font-size: 1.3rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 30px;
}

.article-share {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.article-share span {
    color: var(--text);
    font-weight: 500;
}

.share-buttons {
    display: flex;
    gap: 10px;
}

.share-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border-radius: 50%;
    color: var(--text);
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid var(--border);
}

.share-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateY(-3px);
}

.article-hero {
    margin-bottom: 40px;
}

.hero-image .image-placeholder.large {
    height: 400px;
    font-size: 6rem;
    border-radius: 15px;
    overflow: hidden;
}

.article-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media (min-width: 1024px) {
    .article-content {
        grid-template-columns: 250px 1fr;
    }
}

.article-toc {
    background: var(--bg-card);
    padding: 25px;
    border-radius: 15px;
    border: 1px solid var(--border);
    align-self: start;
    position: sticky;
    top: 120px;
}

.article-toc h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 10px;
}

.toc-list {
    list-style: none;
    padding: 0;
}

.toc-list li {
    margin-bottom: 10px;
}

.toc-list a {
    color: var(--text);
    text-decoration: none;
    transition: var(--transition);
    display: block;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
}

.toc-list a:hover,
.toc-list a.active {
    color: var(--primary);
    border-color: var(--primary);
}

.article-body {
    line-height: 1.8;
    color: var(--text);
}

.article-body p {
    margin-bottom: 1.5rem;
}

.article-body .lead {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text);
}

.article-body h2 {
    font-size: 2rem;
    margin: 2.5rem 0 1.5rem;
    color: var(--text);
    padding-top: 20px;
    border-top: 2px solid var(--border);
}

.article-body h2:first-of-type {
    border-top: none;
    padding-top: 0;
}

.article-body h3 {
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
    color: var(--text);
}

.article-feature {
    background: rgba(108, 99, 255, 0.05);
    padding: 25px;
    border-radius: 10px;
    border-left: 4px solid var(--primary);
    margin: 2rem 0;
}

.article-feature ul {
    list-style: none;
    padding: 0;
}

.article-feature li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.article-feature li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.article-quote {
    border-left: 4px solid var(--primary);
    padding-left: 25px;
    margin: 2rem 0;
    font-style: italic;
    color: var(--text);
}

.article-quote cite {
    display: block;
    margin-top: 10px;
    font-style: normal;
    color: var(--text-light);
    font-size: 0.9rem;
}

.article-image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 2rem 0;
}

.gallery-item {
    text-align: center;
}

.gallery-image {
    height: 200px;
    background: linear-gradient(135deg, rgba(108, 99, 255, 0.1), rgba(255, 101, 132, 0.1));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 15px;
}

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

.article-table {
    overflow-x: auto;
    margin: 2rem 0;
}

.article-table table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-card);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.article-table th {
    background: var(--primary);
    color: white;
    padding: 15px;
    text-align: left;
    font-weight: 600;
}

.article-table td {
    padding: 15px;
    border-bottom: 1px solid var(--border);
    color: var(--text);
}

.article-table tr:last-child td {
    border-bottom: none;
}

.article-table tr:hover {
    background: rgba(108, 99, 255, 0.05);
}

.article-testimonial {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid var(--border);
    margin: 2rem 0;
}

.testimonial-content p {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 20px;
}

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

.author-avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.testimonial-author .author-info h4 {
    margin-bottom: 5px;
    color: var(--text);
}

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

.article-conclusion {
    background: linear-gradient(135deg, rgba(108, 99, 255, 0.1), rgba(255, 101, 132, 0.1));
    padding: 30px;
    border-radius: 15px;
    margin: 2.5rem 0;
}

.article-conclusion h3 {
    color: var(--text);
    margin-top: 0;
}

.article-tags {
    margin: 2rem 0;
}

.article-tags h3 {
    margin-bottom: 15px;
    color: var(--text);
}

/* Действия со статьёй */
.article-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin: 40px 0;
    flex-wrap: wrap;
    gap: 20px;
}

.article-stats {
    display: flex;
    gap: 30px;
}

.stat {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text);
    font-weight: 500;
}

.stat i {
    color: var(--primary);
}

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

.btn-small {
    padding: 10px 20px;
    font-size: 0.9rem;
}

/* Карточка автора */
.article-author-card {
    display: flex;
    gap: 30px;
    background: var(--bg-card);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid var(--border);
    margin: 40px 0;
    align-items: center;
}

.author-avatar.large {
    width: 100px;
    height: 100px;
    font-size: 2.5rem;
}

.author-info {
    flex: 1;
}

.author-info h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
    color: var(--text);
}

.author-title {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 15px;
}

.author-bio {
    color: var(--text);
    line-height: 1.6;
    margin-bottom: 15px;
}

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

.author-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg);
    border-radius: 50%;
    color: var(--text);
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid var(--border);
}

.author-social a:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* Навигация между статьями */
.article-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 40px 0;
}

.prev-article,
.next-article {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background: var(--bg-card);
    border-radius: 15px;
    border: 1px solid var(--border);
    text-decoration: none;
    transition: var(--transition);
}

.prev-article:hover,
.next-article:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

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

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

.nav-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 5px;
}

.nav-content h4 {
    font-size: 1.1rem;
    color: var(--text);
    line-height: 1.4;
}

/* Похожие статьи */
.related-articles {
    margin: 60px 0;
}

.related-articles h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--text);
}

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

.related-card {
    background: var(--bg-card);
    border-radius: 15px;
    border: 1px solid var(--border);
    overflow: hidden;
    transition: var(--transition);
}

.related-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: var(--shadow-hover);
}

.related-image {
    height: 150px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
}

.related-content {
    padding: 25px;
}

.related-category {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.related-content h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--text);
    line-height: 1.4;
}

/* Комментарии */
.article-comments {
    margin: 60px 0;
}

.article-comments h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--text);
}

.comments-count {
    color: var(--text-light);
    font-weight: normal;
}

.comment-form {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    background: var(--bg-card);
    padding: 25px;
    border-radius: 15px;
    border: 1px solid var(--border);
}

.comment-avatar {
    width: 50px;
    height: 50px;
    background: var(--bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--text-light);
    flex-shrink: 0;
}

.comment-input {
    flex: 1;
}

.comment-input textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--bg);
    color: var(--text);
    font-size: 1rem;
    resize: vertical;
    min-height: 100px;
}

.comment-input textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.comment-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 15px;
}

.comments-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.comment {
    display: flex;
    gap: 20px;
}

.comment.reply {
    margin-left: 70px;
}

@media (max-width: 768px) {
    .comment.reply {
        margin-left: 20px;
    }
}

.comment-header {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
}

.comment-header h4 {
    font-size: 1rem;
    color: var(--text);
    margin: 0;
}

.comment-date {
    font-size: 0.85rem;
    color: var(--text-light);
}

.comment-text {
    color: var(--text);
    line-height: 1.6;
    margin-bottom: 15px;
}

.comment-footer {
    display: flex;
    gap: 20px;
}

.comment-like,
.comment-reply {
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
}

.comment-like:hover,
.comment-reply:hover {
    color: var(--primary);
}

.comment-like i {
    font-size: 0.9rem;
}

/* Уведомления и меню */
.notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--success);
    color: white;
    padding: 15px 25px;
    border-radius: 10px;
    box-shadow: var(--shadow-hover);
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 10000;
    max-width: 300px;
}

.notification.show {
    transform: translateY(0);
    opacity: 1;
}

.share-menu {
    position: absolute;
    background: var(--bg-card);
    border-radius: 15px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-hover);
    padding: 20px;
    z-index: 1000;
    min-width: 200px;
}

.share-menu h4 {
    margin-bottom: 15px;
    color: var(--text);
    font-size: 1rem;
}

.share-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.share-options a,
.share-options button {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    border-radius: 8px;
    text-decoration: none;
    color: var(--text);
    background: none;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-align: left;
    font-size: 0.9rem;
}

.share-options a:hover,
.share-options button:hover {
    background: rgba(108, 99, 255, 0.1);
}

.share-options i {
    width: 20px;
    text-align: center;
}
/* Дополнения для страницы продуктов */

/* Заголовок секции с кнопкой */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
    flex-wrap: wrap;
    gap: 20px;
}

.section-header .category-title {
    margin-bottom: 0;
}

.section-actions {
    display: flex;
    gap: 15px;
}

/* Кнопка контурная */
.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 10px 25px;
}

.btn-outline:hover {
    background-color: var(--primary);
    color: white;
    transform: translateY(-2px);
}

/* Секция ITR ID */
.itr-id-section {
    padding: 100px 0;
    background: linear-gradient(135deg, 
        rgba(108, 99, 255, 0.05) 0%, 
        rgba(255, 101, 132, 0.05) 100%);
    position: relative;
    overflow: hidden;
}

.itr-id-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--primary) 50%, 
        transparent 100%);
}

.itr-id-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

@media (max-width: 1024px) {
    .itr-id-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Бейдж ITR ID */
.itr-id-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary);
    color: white;
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 30px;
}

.itr-id-badge i {
    font-size: 1.1rem;
}

/* Заголовок и описание */
.itr-id-info h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--text);
    line-height: 1.3;
}

.itr-id-description {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 40px;
}

/* Особенности ITR ID */
.itr-id-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

@media (max-width: 768px) {
    .itr-id-features {
        grid-template-columns: 1fr;
    }
}

.feature-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.feature-item i {
    font-size: 1.3rem;
    color: var(--primary);
    background: rgba(108, 99, 255, 0.1);
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    flex-shrink: 0;
    margin-top: 3px;
}

.feature-item h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--text);
}

.feature-item p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.5;
}

/* Кнопки ITR ID */
.itr-id-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.itr-id-actions .btn-large {
    padding: 14px 35px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.itr-id-actions .btn-large i {
    font-size: 1.1rem;
}

/* Визуальная часть ITR ID */
.itr-id-visual {
    position: relative;
    min-height: 400px;
}

.platforms-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    position: relative;
    z-index: 2;
}

.platform-item {
    background: var(--primary);
    color: white;
    padding: 20px;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
    min-height: 120px;
}

.platform-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.platform-item i {
    font-size: 2rem;
    margin-bottom: 10px;
}

.platform-item span {
    font-size: 0.9rem;
    font-weight: 500;
}

/* Центральная карточка ITR ID */
.itr-id-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    text-align: center;
}

.id-card {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 10px 30px rgba(108, 99, 255, 0.3);
    animation: pulse 2s infinite;
}

.id-card i {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.id-card span {
    font-weight: 700;
    font-size: 1.1rem;
}

/* Анимированные линии соединения */
.connecting-lines {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.connecting-lines::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    height: 90%;
    border-radius: 50%;
    border: 2px dashed rgba(108, 99, 255, 0.3);
    animation: rotate 20s linear infinite;
}

.connecting-lines::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70%;
    height: 70%;
    border-radius: 50%;
    border: 2px dashed rgba(255, 101, 132, 0.3);
    animation: rotate 15s linear infinite reverse;
}
/* ===== СЕКЦИЯ "ПОЧЕМУ МЫ" ===== */
.why-us {
    padding: 100px 0;
    background: linear-gradient(135deg, 
        var(--light-bg, #f8f9fa) 0%,
        var(--section-bg, #ffffff) 50%,
        var(--light-bg, #f8f9fa) 100%);
    position: relative;
    overflow: hidden;
}

/* Фоновый декоративный элемент */
.why-us::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, 
        rgba(var(--primary-rgb, 100, 92, 187), 0.05) 0%, 
        transparent 70%);
    top: -150px;
    left: -150px;
    z-index: 0;
}

.why-us > .container {
    position: relative;
    z-index: 1;
}

.why-us h2 {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 1rem;
    color: var(--heading-color, #1a1a1a);
    background: linear-gradient(90deg, 
        var(--primary-color, #645cbb), 
        var(--accent-color, #a084dc));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-muted, #666);
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Сетка преимуществ */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 3rem;
}

.advantage-card {
    background: var(--card-bg, #ffffff);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

/* Эффект свечения при наведении */
.advantage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(var(--primary-rgb, 100, 92, 187), 0.03), 
        rgba(var(--accent-rgb, 160, 132, 220), 0.03));
    opacity: 0;
    transition: opacity 0.3s;
    z-index: -1;
}

.advantage-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-color, #645cbb);
}

.advantage-card:hover::before {
    opacity: 1;
}

/* Иконки в заголовках */
.advantage-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1.2rem;
    color: var(--heading-color, #1a1a1a);
    display: flex;
    align-items: center;
    gap: 12px;
}

.advantage-card h3 i {
    color: var(--primary-color, #645cbb);
    font-size: 1.6rem;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--primary-rgb, 100, 92, 187), 0.1);
    border-radius: 10px;
}

.advantage-card:hover h3 i {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, 
        var(--primary-color, #645cbb), 
        var(--accent-color, #a084dc));
    color: white;
}

.advantage-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-color, #555);
    margin: 0;
    padding-left: 52px; /* Отступ под иконкой */
}

/* Декоративные номерки (опционально) */
.advantage-card::after {
    content: attr(data-number);
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 4rem;
    font-weight: 900;
    color: rgba(var(--primary-rgb, 100, 92, 187), 0.05);
    line-height: 1;
    z-index: -1;
    transition: all 0.3s ease;
}

.advantage-card:hover::after {
    color: rgba(var(--primary-rgb, 100, 92, 187), 0.08);
    transform: scale(1.1);
}

/* Адаптивность */
@media (max-width: 1200px) {
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .why-us {
        padding: 80px 0;
    }
    
    .why-us h2 {
        font-size: 2.4rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
        margin-bottom: 3rem;
    }
}

@media (max-width: 768px) {
    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .why-us h2 {
        font-size: 2.2rem;
    }
    
    .advantage-card {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 576px) {
    .why-us h2 {
        font-size: 1.9rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2.5rem;
    }
    
    .advantage-card h3 {
        font-size: 1.3rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .advantage-card p {
        padding-left: 0;
        margin-top: 10px;
    }
    
    .advantage-card h3 i {
        width: 50px;
        height: 50px;
        font-size: 1.8rem;
    }
}
/* Тёмная тема для "Почему мы" */
body.dark-theme .why-us {
    background: linear-gradient(135deg, 
        var(--dark-section-bg, #0f0f1a) 0%,
        var(--dark-bg, #1a1a2e) 50%,
        var(--dark-section-bg, #0f0f1a) 100%);
}

body.dark-theme .why-us h2 {
    background: linear-gradient(90deg, 
        var(--primary-color, #7a73d4), 
        var(--accent-color, #b8a9ff));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.dark-theme .section-subtitle {
    color: var(--dark-text-muted, #aaa);
}

body.dark-theme .advantage-card {
    background: var(--dark-card-bg, #25253d);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: transparent;
}

body.dark-theme .advantage-card:hover {
    border-color: var(--primary-color, #7a73d4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

body.dark-theme .advantage-card::before {
    background: linear-gradient(135deg, 
        rgba(var(--primary-rgb, 122, 115, 212), 0.08), 
        rgba(var(--accent-rgb, 184, 169, 255), 0.05));
}

body.dark-theme .advantage-card h3 {
    color: var(--dark-heading-color, #f0f0f0);
}

body.dark-theme .advantage-card h3 i {
    background: rgba(var(--primary-rgb, 122, 115, 212), 0.15);
    color: var(--primary-color, #7a73d4);
}

body.dark-theme .advantage-card p {
    color: var(--dark-text-color, #cccccc);
}

body.dark-theme .advantage-card::after {
    color: rgba(var(--primary-rgb, 122, 115, 212), 0.07);
}

body.dark-theme .advantage-card:hover::after {
    color: rgba(var(--primary-rgb, 122, 115, 212), 0.1);
}
/* Анимации */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 10px 30px rgba(108, 99, 255, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 15px 40px rgba(108, 99, 255, 0.4);
    }
}

@keyframes rotate {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Адаптивность для ITR ID секции */
@media (max-width: 768px) {
    .itr-id-section {
        padding: 60px 0;
    }
    
    .itr-id-info h2 {
        font-size: 2rem;
    }
    
    .itr-id-description {
        font-size: 1rem;
    }
    
    .platforms-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .platform-item {
        min-height: 100px;
        padding: 15px;
    }
    
    .platform-item i {
        font-size: 1.5rem;
        margin-bottom: 8px;
    }
    
    .platform-item span {
        font-size: 0.8rem;
    }
    
    .id-card {
        width: 90px;
        height: 90px;
        border-radius: 20px;
    }
    
    .id-card i {
        font-size: 2rem;
        margin-bottom: 8px;
    }
    
    .id-card span {
        font-size: 0.9rem;
    }
}

/* Темная тема для секции ITR ID */
[data-theme="dark"] .itr-id-section {
    background: linear-gradient(135deg, 
        rgba(108, 99, 255, 0.08) 0%, 
        rgba(255, 101, 132, 0.08) 100%);
}

[data-theme="dark"] .platform-item {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .id-card {
    box-shadow: 0 10px 30px rgba(108, 99, 255, 0.2);
}

[data-theme="dark"] .connecting-lines::before {
    border-color: rgba(108, 99, 255, 0.2);
}

[data-theme="dark"] .connecting-lines::after {
    border-color: rgba(255, 101, 132, 0.2);
}
/* Адаптивность */
@media (max-width: 768px) {
    .article-title {
        font-size: 2rem;
    }
    
    .article-subtitle {
        font-size: 1.1rem;
    }
    
    .article-hero .image-placeholder.large {
        height: 250px;
        font-size: 4rem;
    }
    
    .article-author-card {
        flex-direction: column;
        text-align: center;
    }
    
    .article-navigation {
        grid-template-columns: 1fr;
    }
    
    .comment-form {
        flex-direction: column;
    }
    
    .article-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .article-buttons {
        justify-content: center;
    }
    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .news-card.featured {
        grid-column: auto;
        grid-row: auto;
    }
    
    .news-card.featured .news-image {
        height: 200px;
        font-size: 4rem;
    }
    
    .news-card.featured .news-title {
        font-size: 1.4rem;
    }
    
    .news-footer {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .newsletter-form {
        flex-direction: column;
        width: 100%;
    }
    
    .newsletter-form input {
        min-width: 100%;
    }
    .theme-switcher {
        top: 80px;
        right: 10px;
    }
    
    #themeToggle {
        margin-top: 25px;
        padding: 8px 12px;
    }
    
    .theme-text {
        display: none;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 100px;
        left: -100%;
        flex-direction: column;
        background-color: var(--bg);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 20px 0;
        border-top: 1px solid var(--border);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 15px 0;
    }
    
    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .tech-circle {
        width: 200px;
        height: 200px;
        margin-top: 30px;
    }
    
    .why-card,
    .client-card {
        padding: 20px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    .story-content,
    .tech-grid {
        grid-template-columns: 1fr;
    }
    
    .values-grid,
    .team-grid,
    .achievements-grid,
    .products-grid,
    .cases-grid {
        grid-template-columns: 1fr;
    }
    
    .filter-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .filter-btn {
        width: 200px;
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
}