:root {
    --primary-blue: #0066ff;
    --primary-blue-light: #3d85ff;
    --primary-blue-dark: #0047b3;
    --black: #000000;
    --white: #ffffff;
    --gray-100: #f5f5f5;
    --gray-200: #e0e0e0;
    --gray-800: #2d2d2d;
    --gray-900: #1a1a1a;
    
    --bg-primary: var(--white);
    --bg-secondary: var(--gray-100);
    --text-primary: var(--black);
    --text-secondary: var(--gray-800);
    --border-color: var(--gray-200);
}

/* System theme detection */
@media (prefers-color-scheme: dark) {
    :root {
        --bg-primary: var(--black);
        --bg-secondary: var(--gray-900);
        --text-primary: var(--white);
        --text-secondary: var(--gray-200);
        --border-color: var(--gray-800);
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    transition: all 0.3s ease;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Theme Toggle */
.theme-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.theme-btn {
    background: rgba(0, 102, 255, 0.1);
    border: 2px solid var(--primary-blue);
    border-radius: 50px;
    padding: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.theme-btn:hover {
    transform: scale(1.1);
    background: rgba(0, 102, 255, 0.2);
}

.sun-icon,
.moon-icon {
    display: inline-block;
    font-size: 20px;
    transition: opacity 0.3s ease;
}

[data-theme="dark"] .sun-icon {
    display: none;
}

[data-theme="light"] .moon-icon {
    display: none;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    z-index: 100;
    transition: all 0.3s ease;
    animation: slideInDown 0.8s ease-out;
}

@keyframes slideInDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@media (prefers-color-scheme: dark) {
    .nav {
        background: rgba(0, 0, 0, 0.95);
    }
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.logo a {
    display: block;
}

.logo {
    position: relative;
}

.logo-img {
    height: 40px;
    width: auto; 
    display: block;
    transition: transform 0.3s ease;
    
    /* Правильное позиционирование логотипа */
    position: relative;
    left: 70px;
    top: -12px; /* Поднимаем выше без влияния на родителя */
    transform: scale(4);
    z-index: 10;
}

.logo-img:hover {
    transform: scale(4.2); /* Немного увеличиваем при ховере, сохраняя базовый масштаб */
}

@keyframes glow {
    from { 
        text-shadow: 0 0 10px rgba(0, 102, 255, 0.5);
        filter: brightness(1);
    }
    to { 
        text-shadow: 0 0 20px rgba(0, 102, 255, 0.8), 0 0 30px rgba(0, 102, 255, 0.4);
        filter: brightness(1.2);
    }
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-blue);
    transition: width 0.3s ease;
}

.nav-link:hover::before {
    width: 100%;
}

.nav-link:hover {
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 100px 20px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.hero-grid {
    position: absolute;
    width: 200%;
    height: 200%;
    background-image: 
        linear-gradient(rgba(0, 102, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 102, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: grid-move 30s linear infinite;
}

@keyframes grid-move {
    0% { transform: translateX(-50%) translateY(-50%) rotate(0deg); }
    100% { transform: translateX(0) translateY(0) rotate(360deg); }
}

.hero-particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.hero-particles::before,
.hero-particles::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-blue);
    border-radius: 50%;
    box-shadow: 
        0 0 20px var(--primary-blue),
        100px 100px 0 var(--primary-blue),
        200px 50px 0 var(--primary-blue),
        300px 150px 0 var(--primary-blue),
        400px 80px 0 var(--primary-blue),
        500px 200px 0 var(--primary-blue),
        600px 120px 0 var(--primary-blue),
        700px 180px 0 var(--primary-blue);
    animation: float 15s infinite linear;
}

@keyframes float {
    0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-100vh) rotate(360deg); opacity: 0; }
}

.hero-orbital {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 400px;
    height: 400px;
    border: 1px solid rgba(0, 102, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: rotate 60s linear infinite;
}

.hero-orbital::before,
.hero-orbital::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border: 1px solid rgba(0, 102, 255, 0.1);
    border-radius: 50%;
    animation: rotate 40s linear infinite reverse;
}

.hero-orbital::after {
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    animation-duration: 30s;
}

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

.hero-content {
    text-align: center;
    z-index: 1;
    animation: fadeInUp 1s ease-out;
}

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

.hero-title {
    font-size: clamp(2.2rem, 7vw, 4.3rem);
    font-weight: 900;
    background: linear-gradient(135deg, var(--text-primary), var(--primary-blue), var(--primary-blue-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 15px rgba(0, 102, 255, 0.2);
    animation: titleGlow 3s ease-in-out infinite alternate;
}

@keyframes titleGlow {
    from {
        filter: brightness(1) drop-shadow(0 0 10px rgba(0, 102, 255, 0.2));
    }
    to {
        filter: brightness(1.1) drop-shadow(0 0 20px rgba(0, 102, 255, 0.35));
    }
}

.title-line {
    display: block;
    animation: slideInUp 1s ease-out forwards;
    opacity: 0;
    background: linear-gradient(135deg, var(--text-primary), var(--primary-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title-line:nth-child(1) { animation-delay: 0.2s; }
.title-line:nth-child(2) { animation-delay: 0.4s; }
.title-line:nth-child(3) { animation-delay: 0.6s; }

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

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.4;
    margin-top: 50;
}

.subtitle-line {
    display: block;
    animation: fadeIn 1s ease-out 0.8s forwards;
    opacity: 0;
}

.subtitle-line:nth-child(2) {
    animation-delay: 1s;
}

.hero-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
    animation: fadeIn 1s ease-out 1.2s forwards;
    opacity: 0;
}

.meta-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.meta-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    opacity: 0.8;
}

.meta-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-blue);
    transition: all 0.3s ease;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeIn 1s ease-out 1.4s forwards;
    opacity: 0;
}

.cta-button {
    position: relative;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
    font-weight: 600;
    text-decoration: none;
}

.cta-button.primary {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-light));
    color: white;
}

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

.cta-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 102, 255, 0.4);
}

.cta-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: all 0.5s ease;
}

.cta-button:hover .cta-glow {
    width: 300px;
    height: 300px;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border-right: 2px solid var(--primary-blue);
    border-bottom: 2px solid var(--primary-blue);
    transform: rotate(45deg);
    animation: pulse-arrow 2s infinite;
}

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

@keyframes pulse-arrow {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Features Section */
.features {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.section-title {
    font-size: 3.8rem;
    text-align: left !important;
    margin-bottom: 3rem;
    position: relative;
    background: linear-gradient(135deg, var(--text-primary), var(--primary-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titlePulse 3s ease-in-out infinite;
}

@keyframes titlePulse {
    0%, 100% {
        filter: brightness(1);
    }
    50% {
        filter: brightness(1.2);
    }
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 4%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-blue), transparent);
    animation: glow-line 2s ease-in-out infinite alternate;
}

@keyframes glow-line {
    from {
        box-shadow: 0 0 10px rgba(0, 102, 255, 0.5);
    }
    to {
        box-shadow: 0 0 20px rgba(0, 102, 255, 0.8);
    }
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--primary-blue) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover::before {
    opacity: 0.05;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 102, 255, 0.1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.icon-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--primary-blue);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.5; }
    100% { transform: scale(1); opacity: 1; }
}

/* Stats Section */
.stats {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-dark));
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

/* Stats Highlight Section with Liquid Glass Effect */
.stats-highlight {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 3rem 0;
    margin-top: 4rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.stats-highlight::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: linear-gradient(135deg, 
        rgba(0, 102, 255, 0.05) 0%, 
        rgba(0, 102, 255, 0.02) 25%,
        rgba(26, 35, 126, 0.04) 50%,
        rgba(0, 102, 255, 0.02) 75%,
        rgba(0, 102, 255, 0.05) 100%);
    border-radius: 30px;
    backdrop-filter: blur(15px);
    z-index: 0;
    animation: liquidGlassPulse 6s ease-in-out infinite;
}

.stat-card {
    background: linear-gradient(135deg, 
        rgba(0, 102, 255, 0.1) 0%, 
        rgba(0, 102, 255, 0.05) 25%,
        rgba(26, 35, 126, 0.08) 50%,
        rgba(0, 102, 255, 0.05) 75%,
        rgba(0, 102, 255, 0.1) 100%);
    border: 1px solid rgba(0, 102, 255, 0.2);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    backdrop-filter: blur(20px);
    box-shadow: 
        0 8px 32px rgba(0, 102, 255, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        inset 0 -1px 0 rgba(0, 102, 255, 0.1);
    position: relative;
    overflow: hidden;
    z-index: 2;
    transition: all 0.3s ease;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        from 0deg,
        transparent 0deg,
        rgba(0, 102, 255, 0.1) 60deg,
        transparent 120deg,
        rgba(26, 35, 126, 0.1) 180deg,
        transparent 240deg,
        rgba(0, 102, 255, 0.1) 300deg,
        transparent 360deg
    );
    animation: liquidGlassRotate 10s linear infinite;
    opacity: 0.5;
    z-index: 0;
}

.stat-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(0, 102, 255, 0.03) 0%, 
        rgba(26, 35, 126, 0.02) 50%,
        rgba(0, 102, 255, 0.03) 100%);
    border-radius: 20px;
    z-index: 1;
    pointer-events: none;
}

/* Добавляем эффект мерцания для stat-card */
.stat-card:nth-child(1)::before {
    animation: liquidGlassRotate 10s linear infinite, liquidGlassWave 4s ease-in-out infinite;
}

.stat-card:nth-child(2)::before {
    animation: liquidGlassRotate 12s linear infinite reverse, liquidGlassWave 5s ease-in-out infinite 1s;
}

.stat-card:nth-child(3)::before {
    animation: liquidGlassRotate 8s linear infinite, liquidGlassWave 6s ease-in-out infinite 2s;
}

.stat-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 
        0 15px 40px rgba(0, 102, 255, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        inset 0 -1px 0 rgba(0, 102, 255, 0.15);
}

@keyframes liquidGlassPulse {
    0%, 100% { 
        opacity: 0.3;
        transform: scale(1);
    }
    50% { 
        opacity: 0.6;
        transform: scale(1.02);
    }
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: -0.8rem;
    display: inline-block;
    transition: all 0.3s ease;
    position: relative;
    z-index: 3;
    text-shadow: 0 2px 4px rgba(0, 102, 255, 0.3);
}

.stat-number.animated {
    animation: counterGlow 2s ease-out;
}

@keyframes counterGlow {
    0% {
        transform: scale(0.5);
        opacity: 0;
        filter: brightness(0.5);
    }
    50% {
        transform: scale(1.2);
        filter: brightness(1.5);
        text-shadow: 0 0 30px rgba(0, 102, 255, 0.8);
    }
    100% {
        transform: scale(1);
        opacity: 1;
        filter: brightness(1);
    }
}

.stat-number:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 0 20px rgba(0, 102, 255, 0.6));
}

.stat-label {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-top: 1rem; /* Увеличиваем отступ сверху для текста */
    position: relative;
    z-index: 3;
    font-weight: 500;
}

/* Enhanced TOC Section */
.toc {
    padding: 50px 0; /* Уменьшаем вертикальные отступы */
    min-height: 60vh; /* Задаем минимальную высоту в 3/4 экрана */
    display: flex; /* Добавляем flex для вертикального выравнивания */
    align-items: center; /* Центрируем контент по вертикали */
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.toc-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.toc-orbital-1,
.toc-orbital-2,
.toc-orbital-3 {
    position: absolute;
    border: 1px solid rgba(0, 102, 255, 0.1);
    border-radius: 50%;
    animation: rotate 30s linear infinite;
}

.toc-orbital-1 {
    width: 200px;
    height: 200px;
    top: 20%;
    left: 10%;
    animation-duration: 40s;
}

.toc-orbital-2 {
    width: 300px;
    height: 300px;
    bottom: 20%;
    right: 15%;
    animation-duration: 60s;
    animation-direction: reverse;
}

.toc-orbital-3 {
    width: 150px;
    height: 150px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-duration: 50s;
}

.toc-particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.toc-particles::before,
.toc-particles::after {
    content: '';
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--primary-blue);
    border-radius: 50%;
    box-shadow: 
        0 0 15px var(--primary-blue),
        50px 100px 0 var(--primary-blue),
        150px 50px 0 var(--primary-blue),
        250px 150px 0 var(--primary-blue),
        350px 80px 0 var(--primary-blue),
        450px 200px 0 var(--primary-blue),
        550px 120px 0 var(--primary-blue),
        650px 180px 0 var(--primary-blue),
        750px 90px 0 var(--primary-blue),
        850px 160px 0 var(--primary-blue),
        950px 110px 0 var(--primary-blue),
        100px 300px 0 var(--primary-blue),
        200px 250px 0 var(--primary-blue),
        300px 350px 0 var(--primary-blue),
        400px 280px 0 var(--primary-blue),
        500px 400px 0 var(--primary-blue),
        600px 320px 0 var(--primary-blue),
        700px 450px 0 var(--primary-blue),
        800px 380px 0 var(--primary-blue);
    animation: float-particles 25s infinite linear;
}

@keyframes float-particles {
    0% { transform: translateY(100vh) translateX(0); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-100vh) translateX(100px); opacity: 0; }
}

.toc-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.6rem; /* Уменьшаем отступ между элементами */
    max-width: 1200px; /* Сильно уменьшаем ширину всего блока */
    margin: 0 auto; /* Убираем центрирование, прижимаем влево */
    position: relative;
    z-index: 1;
}

.toc-list .toc-item:nth-child(13) {
    /* Размещаем элемент со 2-й по 4-ю колонку (занимает 2 и 3) */
    grid-column: 2 / span 2;
    /* Центрируем содержимое элемента */
    justify-content: center;
    margin-top: 1rem; /* Небольшой отступ сверху */
}

.toc-item {
    display: flex;
    align-items: center;
    gap: 0.6rem; /* Уменьшаем расстояние до номера */
    padding: 0.6rem 1rem; /* Уменьшаем внутренние отступы */
    background: rgba(26, 26, 26, 0.7);
    border: 1px solid rgba(0, 102, 255, 0.3);
    border-radius: 10px; /* Можно сделать скругление чуть меньше */
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 102, 255, 0.1);
    opacity: 0;
    transform: translateX(-100px);
}

/* Светлая тема для кнопок TOC */
@media (prefers-color-scheme: light) {
    .toc-item {
        background: rgba(255, 255, 255, 0.9);
        border: 1px solid rgba(0, 102, 255, 0.2);
        box-shadow: 0 4px 20px rgba(0, 102, 255, 0.05);
    }
    
    .toc-item:hover {
        background: rgba(255, 255, 255, 1);
        box-shadow: 0 15px 40px rgba(0, 102, 255, 0.15);
    }
}

.toc-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 102, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.toc-item:hover::before {
    left: 100%;
}

.toc-item:hover {
    transform: translateX(15px) translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 102, 255, 0.2);
    border-color: var(--primary-blue);
}

.toc-item.slide-in {
    opacity: 1;
    transform: translateX(0);
}

.toc-number {
    font-size: 1.1rem; /* Уменьшаем цифру */
    font-weight: 700;
    color: var(--primary-blue);
    min-width: 40px; /* Уменьшаем минимальную ширину */
    position: relative;
}

.toc-number::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px; /* Уменьшаем кружок */
    height: 20px; /* Уменьшаем кружок */
    border: 2px solid var(--primary-blue);
    border-radius: 50%;
    opacity: 0.3;
    transition: all 0.3s ease;
}

.toc-item:hover .toc-number::before {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.2);
}

.toc-text {
    font-size: 1rem; /* Уменьшаем основной текст */
    font-weight: 500;
    line-height: 1.4;
}

/* Staggered animation delays */
.toc-item:nth-child(1) { transition-delay: 0.1s; }
.toc-item:nth-child(2) { transition-delay: 0.2s; }
.toc-item:nth-child(3) { transition-delay: 0.3s; }
.toc-item:nth-child(4) { transition-delay: 0.4s; }
.toc-item:nth-child(5) { transition-delay: 0.5s; }
.toc-item:nth-child(6) { transition-delay: 0.6s; }
.toc-item:nth-child(7) { transition-delay: 0.7s; }
.toc-item:nth-child(8) { transition-delay: 0.8s; }
.toc-item:nth-child(9) { transition-delay: 0.9s; }
.toc-item:nth-child(10) { transition-delay: 1.0s; }
.toc-item:nth-child(11) { transition-delay: 1.1s; }
.toc-item:nth-child(12) { transition-delay: 1.2s; }

/* Research Section */
.research-section {
    padding: 100px 0;
    background: var(--bg-primary);
}

.content-block {
    margin: 0 auto;
    text-align: left;
}

.research-text {
    font-size: 1.3rem;
    line-height: 1.3;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.highlight {
    color: var(--primary-blue);
    font-weight: 600;
    background: linear-gradient(120deg, rgba(0, 102, 255, 0.1) 0%, rgba(0, 102, 255, 0.1) 100%);
    background-repeat: no-repeat;
    background-size: 100% 0.2em;
    background-position: 0 88%;
    transition: all 0.3s ease;
}

.stats-highlight {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* Старый стиль удален - используется новый стиль с жидким стеклом выше */

/* Старые стили удалены - используются новые стили с жидким стеклом выше */

/* Partners Section */
.partners {
    padding: 80px 0;
    background: var(--bg-secondary);
    text-align: center;
}

.section-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--text-secondary);
}

.partners-grid {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.partner-logo {
    padding: 1rem 2rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.partner-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 102, 255, 0.2);
    border-color: var(--primary-blue);
    color: var(--primary-blue);
}

/* Partners Section */
.partners-section {
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
    padding: 6rem 0;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 3rem 0;
    margin-top: 4rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.partner-card {
    background: linear-gradient(135deg, 
        rgba(0, 102, 255, 0.1) 0%, 
        rgba(0, 102, 255, 0.05) 25%,
        rgba(26, 35, 126, 0.1) 50%,
        rgba(0, 102, 255, 0.05) 75%,
        rgba(0, 102, 255, 0.1) 100%);
    border: 2px solid transparent;
    background-clip: padding-box;
    border-radius: 25px;
    padding: 2rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    animation-play-state: paused;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 
        0 8px 32px rgba(0, 102, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.partner-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(0, 102, 255, 0.2) 0%, 
        rgba(26, 35, 126, 0.1) 50%,
        rgba(0, 102, 255, 0.2) 100%);
    border-radius: 25px;
    padding: 2px;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.partner-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        from 0deg,
        transparent 0deg,
        rgba(0, 102, 255, 0.1) 60deg,
        transparent 120deg,
        rgba(26, 35, 126, 0.1) 180deg,
        transparent 240deg,
        rgba(0, 102, 255, 0.1) 300deg,
        transparent 360deg
    );
    animation: rotate 8s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.partner-card.animate {
    animation: partnerFloat 0.8s ease-out forwards;
}

.partner-card:nth-child(1) { 
    animation-delay: 0.1s; 
    background: linear-gradient(135deg, 
        rgba(0, 102, 255, 0.15) 0%, 
        rgba(0, 102, 255, 0.05) 50%,
        rgba(26, 35, 126, 0.1) 100%);
}
.partner-card:nth-child(2) { 
    animation-delay: 0.2s; 
    background: linear-gradient(135deg, 
        rgba(26, 35, 126, 0.1) 0%, 
        rgba(0, 102, 255, 0.1) 50%,
        rgba(0, 102, 255, 0.05) 100%);
}
.partner-card:nth-child(3) { 
    animation-delay: 0.3s; 
    background: linear-gradient(135deg, 
        rgba(0, 102, 255, 0.05) 0%, 
        rgba(26, 35, 126, 0.15) 50%,
        rgba(0, 102, 255, 0.1) 100%);
}
.partner-card:nth-child(4) { 
    animation-delay: 0.4s; 
    background: linear-gradient(135deg, 
        rgba(0, 102, 255, 0.1) 0%, 
        rgba(0, 102, 255, 0.15) 25%,
        rgba(26, 35, 126, 0.05) 75%,
        rgba(0, 102, 255, 0.1) 100%);
}
.partner-card:nth-child(5) { 
    animation-delay: 0.5s; 
    background: linear-gradient(135deg, 
        rgba(26, 35, 126, 0.15) 0%, 
        rgba(0, 102, 255, 0.05) 50%,
        rgba(0, 102, 255, 0.1) 100%);
}
.partner-card:nth-child(6) { 
    animation-delay: 0.6s; 
    background: linear-gradient(135deg, 
        rgba(0, 102, 255, 0.05) 0%, 
        rgba(0, 102, 255, 0.1) 50%,
        rgba(26, 35, 126, 0.15) 100%);
}
.partner-card:nth-child(7) { 
    animation-delay: 0.7s; 
    background: linear-gradient(135deg, 
        rgba(0, 102, 255, 0.1) 0%, 
        rgba(26, 35, 126, 0.1) 25%,
        rgba(0, 102, 255, 0.15) 75%,
        rgba(0, 102, 255, 0.05) 100%);
}
.partner-card:nth-child(8) { 
    animation-delay: 0.8s; 
    background: linear-gradient(135deg, 
        rgba(26, 35, 126, 0.1) 0%, 
        rgba(0, 102, 255, 0.15) 50%,
        rgba(0, 102, 255, 0.05) 100%);
}
.partner-card:nth-child(9) { 
    animation-delay: 0.9s; 
    background: linear-gradient(135deg, 
        rgba(0, 102, 255, 0.05) 0%, 
        rgba(0, 102, 255, 0.1) 25%,
        rgba(26, 35, 126, 0.1) 75%,
        rgba(0, 102, 255, 0.15) 100%);
}

@keyframes partnerFloat {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.partner-card:hover {
    transform: translateY(-15px) scale(1.05) rotateY(5deg);
    box-shadow: 
        0 25px 50px rgba(0, 102, 255, 0.3),
        0 0 30px rgba(0, 102, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-color: var(--primary-blue);
}

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

.partner-card:hover::after {
    opacity: 1;
}

.partner-avatar {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
    transition: transform 0.3s ease;
}

.partner-avatar-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid transparent;
    background: linear-gradient(45deg, var(--primary-blue), #7de3ff, var(--primary-blue)) border-box;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 8px 25px rgba(0, 102, 255, 0.3),
        0 0 0 1px rgba(0, 102, 255, 0.1);
    position: relative;
    z-index: 2;
}

.partner-avatar-img::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: conic-gradient(
        from 0deg,
        var(--primary-blue),
        #7de3ff,
        var(--primary-blue-dark),
        var(--primary-blue)
    );
    border-radius: 50%;
    z-index: -1;
    animation: rotate 3s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.partner-card:hover .partner-avatar {
    transform: scale(1.1) rotate(5deg);
}

.partner-card:hover .partner-avatar-img {
    transform: scale(1.15) rotate(10deg);
    box-shadow: 
        0 15px 35px rgba(0, 102, 255, 0.5),
        0 0 20px rgba(0, 102, 255, 0.3);
}

.partner-card:hover .partner-avatar-img::before {
    opacity: 1;
}

.partner-name {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    position: relative;
    z-index: 2;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.partner-link {
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.partner-link::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-blue), #7de3ff);
    transition: width 0.3s ease;
}

.partner-card:hover .partner-name {
    color: var(--primary-blue);
    transform: translateY(-2px);
    text-shadow: 0 2px 8px rgba(0, 102, 255, 0.3);
}

.partner-card:hover .partner-link::before {
    width: 100%;
}

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

.communities-section {
    margin: 4rem 0;
    text-align: center;
}

.communities-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2rem;
}

.communities-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.community-link {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-light));
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    animation: communitySlide 0.6s ease-out forwards;
    animation-play-state: paused;
}

.community-link.animate {
    animation-play-state: running;
}

.community-link:nth-child(1) { animation-delay: 0.2s; }
.community-link:nth-child(2) { animation-delay: 0.4s; }
.community-link:nth-child(3) { animation-delay: 0.6s; }

@keyframes communitySlide {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.community-link:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 102, 255, 0.3);
}

.acknowledgment {
    margin-top: 3rem;
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.05), rgba(0, 102, 255, 0.1));
    border-radius: 15px;
    border-left: 4px solid var(--primary-blue);
}

.acknowledgment-text {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin: 0;
    opacity: 0;
    transform: translateY(20px);
    animation: acknowledgmentFade 0.8s ease-out forwards;
    animation-delay: 1s;
    animation-play-state: paused;
}

.acknowledgment.animate .acknowledgment-text {
    animation-play-state: running;
}

@keyframes acknowledgmentFade {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* About Section */
.about-section {
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
    padding: 6rem 0;
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
}

.about-quote {
    background: linear-gradient(135deg, 
        rgba(0, 102, 255, 0.05) 0%, 
        rgba(26, 35, 126, 0.05) 100%);
    border: 1px solid rgba(0, 102, 255, 0.2);
    border-left: 4px solid var(--primary-blue);
    padding: 2.5rem;
    border-radius: 20px;
    margin-bottom: 2rem;
    backdrop-filter: blur(15px);
    box-shadow: 
        0 15px 35px rgba(0, 102, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    opacity: 0;
    transform: translateX(-30px);
    animation: aboutQuoteSlide 0.8s ease-out forwards;
    animation-play-state: paused;
    position: relative;
    overflow: hidden;
}

.about-quote::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(0, 102, 255, 0.1) 0%, 
        rgba(26, 35, 126, 0.05) 100%);
    border-radius: 20px;
    z-index: -1;
}

.about-feedback {
    background: linear-gradient(135deg, 
        rgba(0, 102, 255, 0.05) 0%, 
        rgba(26, 35, 126, 0.05) 100%);
    border: 1px solid rgba(0, 102, 255, 0.2);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 25px rgba(0, 102, 255, 0.1);
    opacity: 0;
    transform: translateY(20px);
    animation: aboutQuoteSlide 0.8s ease-out forwards;
    animation-delay: 0.2s;
    animation-play-state: paused;
}

.about-feedback.animate {
    animation-play-state: running;
}

.feedback-text {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.6;
}

.feedback-link {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    position: relative;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, var(--primary-blue), #7de3ff);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.feedback-link::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-blue), #7de3ff);
    transition: width 0.3s ease;
}

.feedback-link:hover::before {
    width: 100%;
}

.feedback-link:hover {
    transform: translateY(-1px);
    text-shadow: 0 2px 8px rgba(0, 102, 255, 0.3);
}

.about-quote.animate {
    animation-play-state: running;
}

@keyframes aboutQuoteSlide {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.about-text {
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--text-primary);
    margin: 0;
}

.about-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.about-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(135deg, 
        rgba(0, 102, 255, 0.05) 0%, 
        rgba(26, 35, 126, 0.05) 100%);
    border: 1px solid rgba(0, 102, 255, 0.2);
    border-radius: 15px;
    padding: 1.5rem;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(20px);
    animation: aboutLinkSlide 0.6s ease-out forwards;
    animation-play-state: paused;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 102, 255, 0.1);
}

.about-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(0, 102, 255, 0.1), 
        transparent);
    transition: left 0.6s ease;
}

.about-link:hover::before {
    left: 100%;
}

.about-link.animate {
    animation-play-state: running;
}

.about-link:nth-child(1) { animation-delay: 0.2s; }
.about-link:nth-child(2) { animation-delay: 0.4s; }
.about-link:nth-child(3) { animation-delay: 0.6s; }
.about-link:nth-child(4) { animation-delay: 0.8s; }

@keyframes aboutLinkSlide {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.about-link:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 20px 40px rgba(0, 102, 255, 0.2),
        0 0 20px rgba(0, 102, 255, 0.1);
    border-color: var(--primary-blue);
    background: linear-gradient(135deg, 
        rgba(0, 102, 255, 0.1) 0%, 
        rgba(26, 35, 126, 0.1) 100%);
}

.link-icon-svg {
    width: 24px;
    height: 24px;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 102, 255, 0.2));
}

.about-link:hover .link-icon-svg {
    transform: scale(1.2) rotate(5deg);
    filter: drop-shadow(0 4px 8px rgba(0, 102, 255, 0.4));
}

.link-text {
    font-weight: 600;
    font-size: 1.1rem;
}

/* Footer */
.footer {
    padding: 2rem 0;
    background: var(--bg-secondary);
    text-align: center;
    border-top: 1px solid var(--border-color);
}

/* Mobile Styles */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .logo-img {
        left: 40px;
    }
    
    .hero-meta {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-button {
        width: 100%;
        max-width: 300px;
    }
    
    .toc {
        padding: 80px 20px;
    }
    
    .toc-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
        max-width: 800px;
    }
    
    .toc-item {
        flex-direction: row;
        text-align: left;
        padding: 0.8rem;
        gap: 0.5rem;
    }
    
    .toc-number {
        margin-bottom: 0;
        min-width: 30px;
        font-size: 0.9rem;
    }
    
    .toc-text {
        font-size: 0.85rem;
        line-height: 1.3;
    }
    
    .toc-orbital-1,
    .toc-orbital-2,
    .toc-orbital-3 {
        display: none;
    }
    
    .about-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .about-link {
        padding: 1rem;
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .link-text {
        font-size: 0.9rem;
    }
    
    /* Адаптация заголовков для мобильных - ТОЛЬКО для секций, НЕ для hero */
    .section-title {
        font-size: 2.2rem !important;
        line-height: 1.2;
        word-wrap: break-word;
        hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
    }

    .subsection-title {
        font-size: 1.4rem !important;
        line-height: 1.3;
        word-wrap: break-word;
        hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
    }
    
    /* Мобильные стили для quote-block */
    .quote-block {
        padding-left: 1rem;
        margin: 1.5rem 0 2rem 0;
    }
    
    .quote-block__text {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    .quote-block__author {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        font-size: 1rem;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .quote-block__author-text {
        flex: 1;
        min-width: 200px;
    }
    
    .quote-block__author-links {
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }
    
    .quote-block__author-link {
        margin-left: 0;
        margin-bottom: 0;
    }
    
    .quote-block__channel-name {
        margin-left: 0;
        font-size: 0.9rem;
    }
    
    /* Мобильные стили для stats-highlight */
    .stats-highlight {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-top: 2rem;
    }
    
    .stat-card {
        padding: 1.5rem;
    }
    
    /* Специальные стили для третьей карточки (100%) */
    .stat-card:nth-child(3) {
        grid-column: 1;
        padding: 1rem 1.5rem;
        min-height: auto;
    }
    
    .stat-card:nth-child(3) .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-card:nth-child(3) .stat-label {
        font-size: 0.9rem;
        line-height: 1.3;
    }
}

/* Testing Section */
.testing-section {
    padding: 120px 0;
    background: var(--bg-primary);
    position: relative;
}

.testing-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin: 60px 0;
}

.testing-chart {
    position: relative;
    display: flex;
    justify-content: center;
    z-index: 10;
}

#testingChart {
    max-width: 100%;
}

.testing-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    pointer-events: none;
}

.testing-center-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.testing-center-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.testing-center-label {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.research-link {
    text-align: center;
    margin: 30px 0;
}

.research-link a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
    padding: 5px 0;
}

.research-link a:hover {
    border-bottom-color: var(--primary-blue);
}

.research-note {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-style: italic;
    margin-top: 10px;
}

.clusters-container {
    max-width: 1000px;
    margin: 60px auto;
}

.cluster {
    margin: 40px 0;
    padding: 30px;
    background: var(--bg-secondary);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

.cluster.animate {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.6s ease;
}

.cluster:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 102, 255, 0.1);
}

.cluster-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary-blue);
}

.cluster-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
}

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

.cluster-quotes {
    display: grid;
    gap: 15px;
}

.cluster-quote {
    padding: 20px;
    background: var(--bg-primary);
    border-left: 4px solid var(--primary-blue);
    border-radius: 8px;
    font-style: italic;
    color: var(--text-secondary);
    line-height: 1.6;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cluster-quote::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 10px;
    font-size: 3rem;
    color: var(--primary-blue);
    opacity: 0.3;
}

.cluster-quote:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 102, 255, 0.1);
}

/* Benchmarks Section */
.benchmarks-section {
    padding: 120px 0 60px;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.benchmarks-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.03) 0%, transparent 70%);
    animation: float 30s linear infinite;
}

.benchmarks-chart {
    max-width: 900px;
    margin: 60px auto;
    position: relative;
}

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

.insight-card {
    padding: 30px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.insight-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 102, 255, 0.05), transparent);
    transition: left 0.5s ease;
}

.insight-card:hover::before {
    left: 100%;
}

.insight-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 102, 255, 0.15);
}

.insight-card h4 {
    color: var(--primary-blue);
    font-size: 1.3rem;
    margin-bottom: 15px;
}

/* Trust Section */
.trust-section {
    padding: 120px 0;
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.trust-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(0, 255, 127, 0.05), transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(255, 0, 0, 0.05), transparent 40%);
    animation: trust-bg-anim 20s ease-in-out infinite alternate;
}

@keyframes trust-bg-anim {
    from { transform: translateX(0) rotate(0deg); }
    to { transform: translateX(-10%) rotate(10deg); }
}

.trust-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 60px auto 0;
    position: relative;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.trust-content.animate {
    opacity: 1;
    transform: translateY(0);
}

.trust-content-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 60px auto 0;
    position: relative;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.trust-content-2.animate {
    opacity: 1;
    transform: translateY(0);
}

.trust-column {
    padding: 30px;
    border-radius: 20px;
    background: linear-gradient(135deg, 
        rgba(0, 102, 255, 0.1) 0%, 
        rgba(0, 102, 255, 0.05) 25%,
        rgba(26, 35, 126, 0.08) 50%,
        rgba(0, 102, 255, 0.05) 75%,
        rgba(0, 102, 255, 0.1) 100%);
    border: 1px solid rgba(0, 102, 255, 0.2);
    backdrop-filter: blur(20px);
    box-shadow: 
        0 8px 32px rgba(0, 102, 255, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        inset 0 -1px 0 rgba(0, 102, 255, 0.1);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.6s ease-out;
}

.trust-column::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        from 0deg,
        transparent 0deg,
        rgba(0, 102, 255, 0.1) 60deg,
        transparent 120deg,
        rgba(26, 35, 126, 0.1) 180deg,
        transparent 240deg,
        rgba(0, 102, 255, 0.1) 300deg,
        transparent 360deg
    );
    animation: liquidGlassRotate 8s linear infinite;
    opacity: 0.6;
    z-index: 0;
}

.trust-column::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(0, 102, 255, 0.05) 0%, 
        rgba(26, 35, 126, 0.03) 50%,
        rgba(0, 102, 255, 0.05) 100%);
    border-radius: 20px;
    z-index: 1;
    pointer-events: none;
}

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

/* Дополнительные анимации для жидкого стекла */
@keyframes liquidGlassWave {
    0%, 100% { 
        transform: translateX(0) translateY(0) scale(1);
        opacity: 0.3;
    }
    25% { 
        transform: translateX(10px) translateY(-5px) scale(1.05);
        opacity: 0.5;
    }
    50% { 
        transform: translateX(0) translateY(-10px) scale(1.1);
        opacity: 0.7;
    }
    75% { 
        transform: translateX(-10px) translateY(-5px) scale(1.05);
        opacity: 0.5;
    }
}

@keyframes liquidGlassShimmer {
    0% { 
        transform: translateX(-100%) skewX(-15deg);
        opacity: 0;
    }
    50% { 
        opacity: 0.8;
    }
    100% { 
        transform: translateX(200%) skewX(-15deg);
        opacity: 0;
    }
}

.trust-content.animate .trust-column {
    opacity: 1;
    transform: translateX(0);
}

.trust-content.animate .trust-column:nth-child(1) {
    transition-delay: 0.2s;
}

.trust-content.animate .trust-column:nth-child(2) {
    transition-delay: 0.4s;
}

.trust-content-2.animate .trust-column {
    opacity: 1;
    transform: translateX(0);
}

.trust-content-2.animate .trust-column:nth-child(1) {
    transition-delay: 0.2s;
}

.trust-content-2.animate .trust-column:nth-child(2) {
    transition-delay: 0.4s;
}

.trust-column.pro {
    border-left: 5px solid #7de3ff;
}

.trust-column.pro::before {
    animation: liquidGlassRotate 8s linear infinite, liquidGlassWave 5s ease-in-out infinite;
}

.trust-column.contra {
    border-left: 5px solid #0b15ae;
}

.trust-column.contra::before {
    animation: liquidGlassRotate 12s linear infinite reverse, liquidGlassWave 6s ease-in-out infinite 1.5s;
}

.column-title {
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
    position: relative;
    z-index: 3;
}

.column-title .icon {
    font-size: 1.8rem;
}

.trust-column.pro .column-title {
    color: #7de3ff;
}

.trust-column.contra .column-title {
    color: #0b15ae;
}

.trust-quotes {
    display: grid;
    gap: 20px;
    position: relative;
    z-index: 2;
}

.trust-column .trust-quote {
    padding: 20px;
    background: var(--bg-primary);
    border-radius: 12px;
    font-style: italic;
    color: var(--text-secondary);
    line-height: 1.6;
    position: relative;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease-out;
}

.trust-content.animate .trust-quote,
.trust-content-2.animate .trust-quote {
    opacity: 1;
    transform: translateY(0);
}

.trust-content.animate .trust-quote:nth-child(1) { transition-delay: 0.4s; }
.trust-content.animate .trust-quote:nth-child(2) { transition-delay: 0.5s; }
.trust-content.animate .trust-quote:nth-child(3) { transition-delay: 0.6s; }
.trust-content.animate .trust-quote:nth-child(4) { transition-delay: 0.7s; }
.trust-content.animate .trust-quote:nth-child(5) { transition-delay: 0.8s; }
.trust-content.animate .trust-quote:nth-child(6) { transition-delay: 0.9s; }

.trust-content-2.animate .trust-quote:nth-child(1) { transition-delay: 0.4s; }
.trust-content-2.animate .trust-quote:nth-child(2) { transition-delay: 0.5s; }
.trust-content-2.animate .trust-quote:nth-child(3) { transition-delay: 0.6s; }
.trust-content-2.animate .trust-quote:nth-child(4) { transition-delay: 0.7s; }
.trust-content-2.animate .trust-quote:nth-child(5) { transition-delay: 0.8s; }
.trust-content-2.animate .trust-quote:nth-child(6) { transition-delay: 0.9s; }

.trust-column .trust-quote:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

[data-theme="dark"] .trust-column .trust-quote:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.trust-column .trust-quote::before {
    content: '“';
    position: absolute;
    top: 5px;
    left: 10px;
    font-size: 3rem;
    font-family: serif;
    opacity: 0.1;
}

.trust-column.pro .trust-quote {
    border-top: 3px solid #7de3ff;
}

.trust-column.contra .trust-quote {
    border-top: 3px solid #0b15ae;
}

.trust-quote-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    line-height: 1.3;
    font-style: normal;
}

.trust-quote-text {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.5;
    font-style: italic;
}

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

.trust-meter {
    position: relative;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 20px solid var(--bg-secondary);
    box-shadow: 0 0 40px rgba(0, 102, 255, 0.1);
}

.meter-fill {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: conic-gradient(
        var(--primary-blue) 0deg,
        var(--primary-blue) calc(var(--percentage) * 3.6deg),
        var(--bg-secondary) calc(var(--percentage) * 3.6deg),
        var(--bg-secondary) 360deg
    );
    animation: fillMeter 2s ease-out;
}

@keyframes fillMeter {
    from {
        background: conic-gradient(
            var(--primary-blue) 0deg,
            var(--primary-blue) 0deg,
            var(--bg-secondary) 0deg,
            var(--bg-secondary) 360deg
        );
    }
    to {
        background: conic-gradient(
            var(--primary-blue) 0deg,
            var(--primary-blue) calc(var(--percentage) * 3.6deg),
            var(--bg-secondary) calc(var(--percentage) * 3.6deg),
            var(--bg-secondary) 360deg
        );
    }
}

.meter-label {
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.1rem;
    color: var(--text-secondary);
    white-space: nowrap;
}

/* Aggregators Section */
.aggregators-section {
    padding: 120px 0;
    background: var(--bg-secondary);
    position: relative;
}

.aggregators-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.aggregator-card {
    padding: 40px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.aggregator-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 102, 255, 0.15);
}

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

.usage-bar {
    width: 100%;
    height: 20px;
    background: var(--bg-secondary);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 15px;
    position: relative;
}

.usage-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-blue-light));
    border-radius: 10px;
    transition: width 2s ease-out;
    position: relative;
}

.usage-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 2s infinite;
}

.usage-percentage {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-blue);
}

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

/* Cluster Modal */
.cluster-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cluster-modal.show {
    opacity: 1;
}

.cluster-modal-content {
    background: var(--bg-primary);
    border-radius: 20px;
    padding: 40px;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.cluster-modal.show .cluster-modal-content {
    transform: scale(1);
}

.cluster-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.cluster-modal-header h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
}

.modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: var(--primary-blue);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .testing-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .testing-content .testing-info {
        order: -1; /* Перемещаем текст над пайчартом на мобильных */
    }
    
    .testing-content .testing-chart {
        order: 1; /* Пайчарт идет после текста на мобильных */
    }
    
    /* Специально для блока missingInfoChart - легенда ниже пайчарта на мобильных */
    .testing-content:has(#missingInfoChart) {
        display: flex;
        flex-direction: column;
    }
    
    .testing-content:has(#missingInfoChart) .testing-chart {
        order: 1;
    }
    
    .testing-content:has(#missingInfoChart) .testing-info {
        order: 2;
    }
    
    .cluster {
        margin: 20px 0;
        padding: 20px;
    }
    
    .cluster-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .trust-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .trust-meter {
        width: 200px;
        height: 200px;
        border-width: 15px;
    }
    
    .meter-fill {
        width: 200px;
        height: 200px;
    }
    
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

.chart-container {
    display: grid;
    grid-template-columns: 500px 1fr;
    gap: 60px;
    align-items: center;
    margin: 60px auto;
    max-width: 1000px;
}

.chart-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
}

.chart-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    background: var(--bg-primary);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 30px rgba(0, 102, 255, 0.2);
}

.chart-center-content {
    text-align: center;
}

.chart-center-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-blue);
}

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

.chart-legend {
    display: grid;
    gap: 12px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: 15px;
    line-height: 1.4;
}

.legend-item:hover {
    background: var(--bg-secondary);
    transform: translateX(5px);
}

.legend-color {
    width: 20px;
    height: 20px;
    border-radius: 4px;
}

.histogram-container {
    max-width: 900px;
    margin: 60px auto;
    position: relative;
}

.histogram-chart {
    margin: 40px 0;
    filter: drop-shadow(0 5px 20px rgba(0, 102, 255, 0.1));
}

.histogram-note {
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-top: 20px;
}

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

@media (max-width: 768px) {
    .chart-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .chart-legend {
        order: 2;
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.animated-background-section {
    position: relative; /* Необходимо для позиционирования дочерних элементов */
    overflow: hidden;  /* Скрывает анимацию за пределами блока */
}

/* Контейнер для всех фоновых эффектов */
.section-bg-effects {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* Фон не будет мешать кликать по контенту */
    z-index: 0; /* Размещает фон под контентом */
}

/* Орбиты (вращающиеся круги) */
.bg-orbital-1,
.bg-orbital-2,
.bg-orbital-3 {
    position: absolute;
    border: 1px solid rgba(0, 102, 255, 0.5);
    border-radius: 50%;
    animation: rotate 30s linear infinite;
}

.bg-orbital-1 {
    width: 250px;
    height: 250px;
    top: 15%;
    left: 5%;
    animation-duration: 45s;
}

.bg-orbital-2 {
    width: 350px;
    height: 350px;
    bottom: 10%;
    right: 10%;
    animation-duration: 60s;
    animation-direction: reverse;
}

.bg-orbital-3 {
    width: 180px;
    height: 180px;
    top: 50%;
    left: 60%;
    transform: translate(-50%, -50%);
    animation-duration: 50s;
}

/* Частицы (летающие точки) */
.bg-particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.bg-particles::before,
.bg-particles::after {
    content: '';
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--primary-blue);
    border-radius: 50%;
    box-shadow: 
        0 0 15px var(--primary-blue),
        50px 100px 0 var(--primary-blue),
        150px 50px 0 var(--primary-blue),
        250px 150px 0 var(--primary-blue),
        350px 80px 0 var(--primary-blue),
        450px 200px 0 var(--primary-blue),
        550px 120px 0 var(--primary-blue),
        650px 180px 0 var(--primary-blue),
        750px 90px 0 var(--primary-blue),
        850px 160px 0 var(--primary-blue);
    animation: float-particles 25s infinite linear;
}

.quote-block {
    margin: 2rem 0 3rem 0;
    padding-left: 2rem;
    border-left: 3px solid var(--primary-blue);
    position: relative;
}

.quote-block__text {
    font-size: 1.05rem; /* Делаем шрифт цитаты значительно меньше */
    font-style: italic;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0 0 1rem 0;
}

.quote-block__author {
    display: flex; /* Включаем Flexbox для выравнивания */
    justify-content: flex-start; /* Выравниваем по левому краю */
    align-items: center; /* Центрируем текст и иконку по вертикали */
    font-size: 1.2rem;
    color: var(--text-primary);
    font-style: normal;
    text-align: left;
}

.quote-block__author-link {
    display: inline-flex; /* Чтобы ссылка не разрывала строку */
    margin-left: 0.75rem; /* Отступ слева от имени */
}

.quote-block__telegram-icon {
    height: 24px; /* Задаем размер иконки */
    width: 24px;
    transition: transform 0.2s ease-in-out, filter 0.2s ease;
}

.quote-block__author-link:hover .quote-block__telegram-icon {
    transform: scale(1.15) rotate(10deg); /* Эффект при наведении */
    filter: drop-shadow(0 0 5px var(--primary-blue));
}

.quote-block__channel-name {
    color: var(--primary-blue);
    text-decoration: none;
    margin-left: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.quote-block__channel-name:hover {
    color: var(--primary-blue-light);
    text-shadow: 0 0 8px rgba(0, 102, 255, 0.3);
}

.key-findings {
    margin-top: 2rem; /* 1. Решает проблему отступа */
    padding: 2.5rem;
    background: linear-gradient(135deg, 
        rgba(0, 102, 255, 0.08) 0%, 
        rgba(0, 102, 255, 0.03) 25%,
        rgba(26, 35, 126, 0.06) 50%,
        rgba(0, 102, 255, 0.03) 75%,
        rgba(0, 102, 255, 0.08) 100%);
    border-radius: 20px;
    border: 1px solid rgba(0, 102, 255, 0.2);
    border-left: 5px solid var(--primary-blue); /* Акцентная линия слева */
    backdrop-filter: blur(25px);
    box-shadow: 
        0 15px 40px rgba(0, 102, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        inset 0 -1px 0 rgba(0, 102, 255, 0.1);
    position: relative;
    z-index: 1; /* Чтобы был над фоновой анимацией */
    overflow: hidden;
    
    /* Изначально скрыт для анимации при скролле */
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    transition: all 0.8s ease-out;
}

.key-findings::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        from 0deg,
        transparent 0deg,
        rgba(0, 102, 255, 0.08) 60deg,
        transparent 120deg,
        rgba(26, 35, 126, 0.06) 180deg,
        transparent 240deg,
        rgba(0, 102, 255, 0.08) 300deg,
        transparent 360deg
    );
    animation: liquidGlassRotate 12s linear infinite;
    opacity: 0.7;
    z-index: 0;
}

.key-findings::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(0, 102, 255, 0.03) 0%, 
        rgba(26, 35, 126, 0.02) 50%,
        rgba(0, 102, 255, 0.03) 100%);
    border-radius: 20px;
    z-index: 1;
    pointer-events: none;
}

.key-findings.animate {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.key-findings__title {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 2rem 0; /* Отступ от заголовка до списка */
    position: relative;
    z-index: 3;
    
    /* Изначально скрыт для анимации при скролле */
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.6s ease-out;
    transition-delay: 0.2s;
}

.key-findings.animate .key-findings__title {
    opacity: 1;
    transform: translateX(0);
}

.key-findings__list {
    list-style: none; /* Убираем стандартные маркеры */
    padding: 0;
    margin: 0;
    counter-reset: findings-counter; /* Запускаем CSS-счетчик для нумерации */
    position: relative;
    z-index: 2;
}

.key-findings__item {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    padding-left: 55px; /* Место для кастомного номера */
    position: relative;
    
    /* Изначально скрыт для анимации при скролле */
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.5s ease-out;
}

/* Задержки для элементов списка */
.key-findings__item:nth-child(1) {
    transition-delay: 0.4s;
}

.key-findings__item:nth-child(2) {
    transition-delay: 0.6s;
}

.key-findings__item:nth-child(3) {
    transition-delay: 0.8s;
}

.key-findings.animate .key-findings__item {
    opacity: 1;
    transform: translateX(0);
}

/* Отступ между пунктами списка */
.key-findings__item + .key-findings__item {
    margin-top: 1.5rem;
}

/* Стилизация кастомного номера пункта */
.key-findings__item::before {
    counter-increment: findings-counter; /* Увеличиваем счетчик */
    content: counter(findings-counter); /* Выводим значение счетчика */
    
    position: absolute;
    left: 0;
    top: -2px;
    
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 1.2rem;
    
    /* Стильный кружок-фон для цифры */
    background: rgba(0, 102, 255, 0.1);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    
    /* Изначально скрыт для анимации при скролле */
    opacity: 0;
    transform: scale(0.3) rotate(180deg);
    transition: all 0.4s ease-out;
}

/* Задержки для анимации номеров */
.key-findings__item:nth-child(1)::before {
    transition-delay: 0.5s;
}

.key-findings__item:nth-child(2)::before {
    transition-delay: 0.7s;
}

.key-findings__item:nth-child(3)::before {
    transition-delay: 0.9s;
}

.key-findings.animate .key-findings__item::before {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

.key-findings__item strong {
    color: var(--text-primary); /* Выделяем ключевую часть пункта */
    font-weight: 600;
}

.infographic-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0 2rem;
    position: relative;
}

.infographic-item {
    position: relative;
    /* Задаем размеры для контейнера, чтобы позиционировать от него */
    width: 150px;
    height: 120px;
}

/* Стили для карточки остались прежними */
.infographic-item .stat-card {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.infographic-item .stat-number {
    font-size: 3.5rem;
}

/* Общие стили для линий и текста */
.infographic-item .infographic-line,
.infographic-item .infographic-text {
    position: absolute;
    opacity: 0; /* Все невидимо до анимации */
}

/* Стилизация линий */
.infographic-item .infographic-line {
    width: 120px;
    height: 100px;
    pointer-events: none; /* Линии не мешают кликам */
    animation: fadeIn 0.1s ease-out 0.5s forwards; /* Появляются перед прорисовкой */
}

.infographic-item .infographic-line path {
    fill: none;
    stroke: var(--primary-blue);
    stroke-width: 2px;
    stroke-linecap: round;
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    animation: draw-line 1s ease-out 0.6s forwards;
}

/* Стилизация текста */
.infographic-item .infographic-text {
    width: 250px;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-secondary);
    animation: fadeInUp 0.6s ease-out 1.2s forwards;
}
.infographic-item .infographic-text strong {
    color: var(--text-primary);
}


/* --- Уникальное позиционирование для каждого элемента --- */

/* Элемент 1 (слева) */
.line-left { top: 20px; right: 145px; }
.text-left { top: 90px; right: 205px; text-align: right; }

/* Элемент 2 (центральный, текст справа-внизу) */
.line-right-down { top: 20px; left: 145px; }
.text-right-down { top: 90px; left: 235px; text-align: left; }

/* Элемент 3 (справа, текст справа-вверху) */
.line-right-up { bottom: 20px; left: 145px; }
.text-right-up { bottom: 90px; left: 235px; text-align: left; }


/* Убедимся, что анимации определены */
@keyframes draw-line {
    to { stroke-dashoffset: 0; }
}
@keyframes fadeIn {
    to { opacity: 1; }
}
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.horizontal-bar-chart {
    margin: 4rem 0 2rem 0;
    position: relative;
    z-index: 1;
}

.horizontal-bar-chart ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.chart-item {
    display: grid;
    grid-template-columns: 300px 1fr; /* Колонка для лейбла и колонка для полосы */
    gap: 1.5rem;
    align-items: center;
    margin-bottom: 1.2rem;
}

.clickable-item {
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 8px;
    padding: 0.5rem;
}

.clickable-item:hover {
    background-color: rgba(0, 102, 255, 0.05);
    transform: translateX(5px);
}

.item-label {
    text-align: right;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.bar-wrapper {
    display: flex;
    align-items: center;
    width: 100%;
}

.bar-container {
    flex-grow: 1;
    height: 20px;
    background-color: rgba(0, 102, 255, 0.1);
    border-radius: 4px;
}

.bar {
    width: 0; /* Изначальная ширина для анимации */
    height: 100%;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-blue-light));
    border-radius: 4px;
    box-shadow: 0 0 10px var(--primary-blue);
    transition: width 1.5s cubic-bezier(0.25, 1, 0.5, 1); /* Плавная анимация */
}

/* Анимация срабатывает при добавлении класса .animate */
.horizontal-bar-chart.animate .bar {
    width: var(--bar-width); /* Устанавливаем финальную ширину из HTML */
}

.bar-label {
    margin-left: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
}

.chart-note {
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-top: 2rem;
    position: relative;
    z-index: 1;
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .chart-item {
        grid-template-columns: 1fr; /* Все в одну колонку */
        gap: 0.5rem;
        margin-bottom: 2rem;
    }
    .item-label {
        text-align: left;
    }
    
    /* Адаптивность для stats-highlight */
    .stats-highlight {
        grid-template-columns: 1fr; /* Одна колонка на мобильных */
        gap: 1.5rem;
        margin: 2rem 0;
    }
    
    .stat-card {
        padding: 1.5rem;
    }
    
    /* Уменьшаем интенсивность анимаций на мобильных для лучшей производительности */
    .trust-column::before,
    .stat-card::before,
    .key-findings::before {
        animation-duration: 20s !important;
    }
    
    /* Мобильные стили для trust-content */
    .trust-content {
        grid-template-columns: 1fr; /* Одна колонка на мобильных */
        gap: 20px;
        margin-top: 30px;
    }
    
    .trust-column {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .column-title {
        font-size: 1.2rem;
        margin-bottom: 20px;
    }
    
    .trust-quote {
        margin-bottom: 15px;
    }
    
    .trust-quote-title {
        font-size: 0.9rem;
        margin-bottom: 8px;
    }
    
    .trust-quote-text {
        font-size: 0.85rem;
        line-height: 1.4;
    }
}

/* Адаптивность для очень маленьких экранов */
@media (max-width: 480px) {
    .toc-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.6rem;
        max-width: 600px;
    }
    
    .toc-item {
        padding: 0.6rem;
        gap: 0.4rem;
    }
    
    .toc-number {
        min-width: 25px;
        font-size: 0.8rem;
    }
    
    .toc-text {
        font-size: 0.75rem;
        line-height: 1.2;
    }
    
    .section-title {
        font-size: 2.8rem !important;
        line-height: 1.1;
        margin-bottom: 2rem;
    }

    .subsection-title {
        font-size: 1.2rem !important;
        line-height: 1.2;
    }
    
    /* Дополнительные стили для очень маленьких экранов */
    .quote-block__text {
        font-size: 0.9rem;
    }
    
    .quote-block__author {
        font-size: 0.9rem;
        flex-direction: row;
        justify-content: space-between;
    }
    
    .quote-block__author-text {
        min-width: 150px;
    }
    
    .quote-block__channel-name {
        font-size: 0.85rem;
    }
    
    .stat-card:nth-child(3) .stat-number {
        font-size: 2.2rem;
    }
    
    .stat-card:nth-child(3) .stat-label {
        font-size: 0.8rem;
    }
    
    /* Дополнительные стили для trust-content на очень маленьких экранах */
    .trust-content {
        margin-top: 20px;
        gap: 15px;
    }
    
    .trust-column {
        padding: 15px;
        margin-bottom: 15px;
    }
    
    .column-title {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }
    
    .trust-quote-title {
        font-size: 0.85rem;
        margin-bottom: 6px;
    }
    
    .trust-quote-text {
        font-size: 0.8rem;
        line-height: 1.3;
    }
}

/* Позиционируем сетку для удобства */
.testing-content {
    position: relative;
}

.quotes-panel {
    position: absolute;
    top: 0;
    left: calc(50% + 0px); /* Справа от диаграммы (50% + половина ширины диаграммы + отступ) */
    width: 700px;
    height: 100%;
    max-height: 600px; /* Ограничиваем высоту */
    
    background: var(--bg-secondary);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    padding: 30px;
    
    overflow-y: auto; /* Добавляем скролл, если контент не влезает */
    
    /* Стили для анимации */
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    pointer-events: none; /* Невидимая панель не мешает */
}

.quotes-panel.show {
    opacity: 1;
    transform: translateX(0);
    pointer-events: all;
}

/* Адаптивность: на мобильных панель уходит вниз */
@media (max-width: 1200px) {
    .quotes-panel {
        position: relative; /* Возвращаем в поток документа */
        left: auto;
        top: auto;
        width: 100%;
        margin-top: 2rem;
        transform: translateY(30px); /* Меняем направление анимации */
        max-height: 0; /* Скрываем по высоте */
        overflow: hidden;
        padding: 0 30px; /* Убираем вертикальные отступы */
        margin-top: 0; /* Убираем отступ сверху */
        transition: all 0.4s ease, max-height 0.4s ease, padding 0.4s ease, margin 0.4s ease;
    }
    .quotes-panel.show {
        transform: translateY(0);
        max-height: none; /* Убираем ограничение высоты для скроллинга */
        overflow: visible; /* Разрешаем скроллинг */
        padding: 30px; /* Возвращаем отступы */
        margin-top: 2rem; /* Возвращаем отступ сверху */
    }
}

/* Стили для новой секции "Какую информацию о моделях ищут" */
.subsection-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 3rem 0 2rem 0;
    position: relative;
}

.subsection-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 2px;
    background: var(--primary-blue);
    border-radius: 1px;
}

.quotes-section-block {
    margin: 3rem 0;
    padding: 2.5rem;
    background: var(--bg-secondary);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.quotes-section-block::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--primary-blue) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.quotes-section-block:hover::before {
    opacity: 0.02;
}

.quotes-block-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin: 0 0 1.5rem 0;
    position: relative;
    z-index: 1;
}

.quotes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Возвращаем адаптивную сетку по умолчанию */
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

/* Специальный класс для блока "Не хватает" - фиксированно 3 в ряд */
.quotes-grid-three {
    grid-template-columns: repeat(3, 1fr); /* Фиксированно 3 колонки в одну линию */
}

.quote-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.quote-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 102, 255, 0.05), transparent);
    transition: left 0.6s ease;
}

.quote-card:hover::before {
    left: 100%;
}

.quote-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 102, 255, 0.15);
    border-color: var(--primary-blue);
}

.quote-text {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    font-style: italic;
    position: relative;
    z-index: 1;
}

.quote-text::before {
    content: '"';
    position: absolute;
    top: -5px;
    left: -15px;
    font-size: 2rem;
    color: var(--primary-blue);
    opacity: 0.3;
    font-family: serif;
}

.quote-text::after {
    content: '"';
    position: absolute;
    bottom: -10px;
    right: -5px;
    font-size: 2rem;
    color: var(--primary-blue);
    opacity: 0.3;
    font-family: serif;
}

/* Адаптивность для quotes grid */
@media (max-width: 1024px) {
    .quotes-grid,
    .quotes-grid-three {
        grid-template-columns: 1fr; /* На планшетах и мобильных - в колонку */
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .quote-card {
        padding: 1.2rem;
    }
    
    .quotes-section-block {
        padding: 1.5rem;
        margin: 2rem 0;
    }
    
    .subsection-title {
        font-size: 1.5rem;
        margin: 2rem 0 1.5rem 0;
    }
}


/* Стили для рекламного блока Cloud.ru */
.ad-block {
    margin-top: 3rem;
    padding: 2.5rem;
    background: linear-gradient(135deg, #1e1f1e, #020302);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(30, 31, 30, 0.3);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

@media (prefers-color-scheme: light) {
    .ad-block {
        background: linear-gradient(135deg, #f8f9fa, #e9ecef);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
        border: 1px solid rgba(0, 102, 255, 0.1);
    }
}

.ad-block::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 100%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(14, 214, 71, 0.1), transparent);
    transform: rotate(45deg);
    animation: shimmer-ad 3s infinite;
}

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

.ad-block:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(43, 46, 43, 0.4);
}

@media (prefers-color-scheme: light) {
    .ad-block:hover {
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
        border-color: rgba(0, 102, 255, 0.2);
    }
}

.ad-content {
    position: relative;
    z-index: 1;
}

.ad-title-link {
    display: inline-block;
    margin: 0 0 1rem 0;
    text-decoration: none;
}

.ad-title-icon {
    height: 32px; /* Размер иконки Cloud.ru */
    width: auto;
    transition: transform 0.2s ease-in-out, filter 0.2s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

@media (prefers-color-scheme: light) {
    .ad-title-icon {
        filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
        content: url('https://storage.yandexcloud.net/llmarena/banners/cloud_black.svg');
    }
}

.ad-title-link:hover .ad-title-icon {
    transform: scale(1.1);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.ad-main-text {
    font-size: 1.6rem;
    font-weight: 700;
    color: white;
    margin: 0 0 1rem 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    line-height: 1.3;
}

@media (prefers-color-scheme: light) {
    .ad-main-text {
        color: #1a1a1a;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    }
}

.ad-text {
    font-size: 1.1rem;
    color: white;
    line-height: 1.6;
    margin: 0 0 1rem 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    max-width: 75%;
}

@media (prefers-color-scheme: light) {
    .ad-text {
        color: #4a4a4a;
        text-shadow: none;
    }
}

.ad-disclaimer {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.9);
    font-style: italic;
    margin: 0 0 1.5rem 0;
}

@media (prefers-color-scheme: light) {
    .ad-disclaimer {
        color: rgba(74, 74, 74, 0.8);
    }
}

.ad-cta {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: white;
    color: #181c19;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

@media (prefers-color-scheme: light) {
    .ad-cta {
        background: #27282a;
        color: white;
        box-shadow: 0 5px 15px rgba(0, 102, 255, 0.3);
    }
}

.ad-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    background: #f8f8f8;
}

@media (prefers-color-scheme: light) {
    .ad-cta:hover {
        background: #3d3f42;
        box-shadow: 0 8px 25px rgba(0, 102, 255, 0.4);
    }
}

/* Стили для bubble quotes */
.bubble-quotes-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 30px 0;
    padding: 20px 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.bubble-quote {
    position: relative;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 1;
    transform: translateY(0) scale(1);
    animation-play-state: paused;
}

.bubble-quote.animate {
    animation: bubbleFloat 0.8s ease-out forwards;
}

/* Убираем прозрачность для анимированных элементов */
.bubble-quote.animate {
    opacity: 1 !important;
    transform: translateY(0) scale(1) !important;
}

.bubble-quote:nth-child(1) { animation-delay: 0.1s; }
.bubble-quote:nth-child(2) { animation-delay: 0.2s; }
.bubble-quote:nth-child(3) { animation-delay: 0.3s; }
.bubble-quote:nth-child(4) { animation-delay: 0.4s; }
.bubble-quote:nth-child(5) { animation-delay: 0.5s; }
.bubble-quote:nth-child(6) { animation-delay: 0.6s; }
.bubble-quote:nth-child(7) { animation-delay: 0.7s; }
.bubble-quote:nth-child(8) { animation-delay: 0.8s; }
.bubble-quote:nth-child(9) { animation-delay: 0.9s; }
.bubble-quote:nth-child(10) { animation-delay: 1.0s; }
.bubble-quote:nth-child(11) { animation-delay: 1.1s; }
.bubble-quote:nth-child(12) { animation-delay: 1.2s; }
.bubble-quote:nth-child(13) { animation-delay: 1.3s; }
.bubble-quote:nth-child(14) { animation-delay: 1.4s; }
.bubble-quote:nth-child(15) { animation-delay: 1.5s; }
.bubble-quote:nth-child(16) { animation-delay: 1.6s; }
.bubble-quote:nth-child(17) { animation-delay: 1.7s; }

@keyframes bubbleFloat {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.bubble-content {
    position: relative;
    background: linear-gradient(135deg, rgba(26, 35, 126, 0.3), rgba(26, 35, 126, 0.4));
    border: 1px solid var(--primary-blue);
    border-radius: 20px;
    padding: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    min-height: 80px;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 15px rgba(26, 35, 126, 0.15);
    will-change: transform, background, border, box-shadow;
}

.bubble-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.8s ease;
}

.bubble-quote:hover .bubble-content::before {
    left: 100%;
}

.bubble-content::after {
    display: none;
}

.quote-text {
    font-size: 15px;
    line-height: 1.5;
    color: #ffffff;
    font-weight: 700;
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
}

/* Убираем hover эффекты - теперь только клик */

/* Анимация для раскрытия текста */
.bubble-quote.expanded .bubble-content {
    position: relative; /* Оставляем в потоке документа - страница будет двигаться */
    width: 100%;
    background: linear-gradient(135deg, rgba(26, 35, 126, 0.98), rgba(26, 35, 126, 1));
    border: 2px solid var(--primary-blue);
    box-shadow: 0 15px 40px rgba(26, 35, 126, 0.5);
    transform: scale(1.02);
    z-index: 10;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: auto;
    max-height: none;
    backdrop-filter: blur(10px);
}

/* Плавное сворачивание bubble quote */
.bubble-quote .bubble-content {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.bubble-quote.expanded .quote-text {
    color: #ffffff;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Плавная анимация для текста */
.bubble-quote .quote-text {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Стили для ссылок в bubble quotes */
.bubble-quote a {
    color: var(--primary-blue);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
    font-weight: 600;
}

.bubble-quote a:hover {
    color: var(--accent-color);
    border-bottom-color: var(--accent-color);
    text-shadow: 0 0 8px rgba(0, 102, 255, 0.3);
}

.bubble-quote:hover a {
    color: var(--accent-color);
    border-bottom-color: var(--accent-color);
}

/* Анимация для раскрытия экспертных цитат */
.expert-quote.expanded .expert-quote-content {
    background: linear-gradient(135deg, rgba(26, 35, 126, 0.2), rgba(26, 35, 126, 0.3));
    box-shadow: 0 25px 50px rgba(26, 35, 126, 0.3);
    transform: scale(1.05);
    z-index: 100;
    position: relative;
    border-width: 4px;
}

.expert-quote.expanded .expert-quote-text {
    color: #ffffff;
    font-weight: 700;
    font-size: 19px;
}

.expert-quote.expanded .expert-quote-author {
    color: var(--accent-color);
    opacity: 1;
    font-size: 16px;
}

/* Пульсирующий эффект для акцента */
@keyframes bubblePulse {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(26, 35, 126, 0.1);
    }
    50% {
        box-shadow: 0 8px 25px rgba(26, 35, 126, 0.2);
    }
}

.bubble-quote:nth-child(4n+1) .bubble-content {
    animation: bubblePulse 3s ease-in-out infinite;
    animation-delay: 0s;
}

.bubble-quote:nth-child(4n+2) .bubble-content {
    animation: bubblePulse 3s ease-in-out infinite;
    animation-delay: 0.75s;
}

.bubble-quote:nth-child(4n+3) .bubble-content {
    animation: bubblePulse 3s ease-in-out infinite;
    animation-delay: 1.5s;
}

.bubble-quote:nth-child(4n+4) .bubble-content {
    animation: bubblePulse 3s ease-in-out infinite;
    animation-delay: 2.25s;
}

/* Адаптивность */
@media (max-width: 768px) {
    .bubble-quotes-container {
        grid-template-columns: 1fr;
        gap: 15px;
        margin: 20px 0;
    }
    
    .bubble-quote:nth-child(16),
    .bubble-quote:nth-child(17) {
        grid-column: 1;
        justify-self: stretch;
    }
    
    .bubble-content {
        padding: 15px;
        min-height: 70px;
    }
    
    .quote-text {
        font-size: 14px;
    }
    
    .bubble-quote:hover {
        transform: translateY(-5px) scale(1.01);
    }
}

@media (max-width: 480px) {
    .bubble-content {
        padding: 12px;
        border-radius: 15px;
    }
    
    .quote-text {
        font-size: 13px;
    }
}

/* Стили для экспертных цитат */
.expert-quotes-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 30px;
    margin: 40px 0;
    padding: 30px 0;
}

.expert-quote {
    position: relative;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    animation-play-state: paused;
}

.expert-quote.animate {
    animation: expertFloat 1s ease-out forwards;
}

.expert-quote:nth-child(1) { animation-delay: 0.1s; }
.expert-quote:nth-child(2) { animation-delay: 0.2s; }
.expert-quote:nth-child(3) { animation-delay: 0.3s; }
.expert-quote:nth-child(4) { animation-delay: 0.4s; }
.expert-quote:nth-child(5) { animation-delay: 0.5s; }
.expert-quote:nth-child(6) { animation-delay: 0.6s; }
.expert-quote:nth-child(7) { animation-delay: 0.7s; }
.expert-quote:nth-child(8) { animation-delay: 0.8s; }
.expert-quote:nth-child(9) { animation-delay: 0.9s; }

@keyframes expertFloat {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.expert-quote-content {
    position: relative;
    background: linear-gradient(135deg, rgba(26, 35, 126, 0.05), rgba(26, 35, 126, 0.12));
    border: 3px solid var(--primary-blue);
    border-radius: 25px;
    padding: 30px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(15px);
    overflow: hidden;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 8px 25px rgba(26, 35, 126, 0.15);
    position: relative;
}

.expert-quote-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 1s ease;
}

.expert-quote:hover .expert-quote-content::before {
    left: 100%;
}

.expert-quote-content::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 40px;
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 20px solid var(--primary-blue);
    opacity: 0.9;
    transform: translateX(-50%);
}

.expert-quote-text {
    font-size: 17px;
    line-height: 1.6;
    color: #ffffff;
    font-weight: 700;
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
    margin-bottom: 15px;
    font-style: italic;
}

.expert-quote-author {
    font-size: 14px;
    color: var(--primary-blue);
    font-weight: 600;
    text-align: right;
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
    opacity: 0.8;
}

/* Убираем hover эффекты - теперь только клик */

/* Стили для светлой темы */
@media (prefers-color-scheme: light) {
    .expert-quote-text {
        color: #1a1a1a;
    }
    
    .expert-quote.expanded .expert-quote-text {
        color: #1a1a1a;
    }
    
    .quote-text {
        color: #1a1a1a;
    }
    
    .bubble-quote.expanded .quote-text {
        color: #1a1a1a;
    }
    
    .expert-quote-content {
        background: linear-gradient(135deg, rgba(87, 168, 255, 0.9), rgba(248, 252, 255, 0.95));
        border: 1px solid rgba(0, 102, 255, 0.3);
        box-shadow: 0 4px 15px rgba(0, 102, 255, 0.1);
    }
    
    .expert-quote.expanded .expert-quote-content {
        background: linear-gradient(135deg, rgba(61, 113, 255, 0.98), rgb(74, 213, 255));
        border: 2px solid var(--primary-blue);
        box-shadow: 0 15px 40px rgba(0, 102, 255, 0.2);
    }

    /* Светлая тема для bubble-quote */
    .bubble-content {
        background: linear-gradient(135deg, rgba(87, 168, 255, 0.9), rgba(248, 252, 255, 0.95));
        border: 1px solid rgba(0, 102, 255, 0.3);
        box-shadow: 0 4px 15px rgba(0, 102, 255, 0.1);
    }
    
    .bubble-quote.expanded .bubble-content {
        background: linear-gradient(135deg, rgba(61, 113, 255, 0.98), rgb(74, 213, 255));
        border: 2px solid var(--primary-blue);
        box-shadow: 0 15px 40px rgba(0, 102, 255, 0.2);
    }
}

/* Стили для ссылок в экспертных цитатах */
.expert-quote a {
    color: var(--primary-blue);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
    font-weight: 600;
}

.expert-quote a:hover {
    color: var(--accent-color);
    border-bottom-color: var(--accent-color);
    text-shadow: 0 0 8px rgba(0, 102, 255, 0.3);
}

.expert-quote:hover a {
    color: var(--accent-color);
    border-bottom-color: var(--accent-color);
}

/* Пульсирующий эффект для разных экспертных цитат */
@keyframes expertPulse {
    0%, 100% {
        box-shadow: 0 8px 25px rgba(26, 35, 126, 0.15);
        border-color: var(--primary-blue);
    }
    50% {
        box-shadow: 0 12px 35px rgba(26, 35, 126, 0.25);
        border-color: var(--accent-color);
    }
}

.expert-quote:nth-child(3n+1) .expert-quote-content {
    animation: expertPulse 4s ease-in-out infinite;
    animation-delay: 0s;
}

.expert-quote:nth-child(3n+2) .expert-quote-content {
    animation: expertPulse 4s ease-in-out infinite;
    animation-delay: 1.3s;
}

.expert-quote:nth-child(3n+3) .expert-quote-content {
    animation: expertPulse 4s ease-in-out infinite;
    animation-delay: 2.6s;
}

/* Особое выделение для главной экспертной цитаты */
/* Убираем специальные золотые стили для Refat Talks: Tech & AI */

/* Адаптивность для экспертных цитат */
@media (max-width: 768px) {
    .expert-quotes-container {
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 25px 0;
        padding: 20px 0;
    }
    
    .expert-quote-content {
        padding: 20px;
        min-height: 100px;
        border-radius: 20px;
    }
    
    .expert-quote-text {
        font-size: 15px;
        margin-bottom: 12px;
    }
    
    .expert-quote-author {
        font-size: 13px;
    }
    
    /* Убираем hover эффекты на мобильных */
}

@media (max-width: 480px) {
    .expert-quote-content {
        padding: 15px;
        border-radius: 15px;
        border-width: 2px;
    }
    
    .expert-quote-text {
        font-size: 14px;
    }
    
    .expert-quote-author {
        font-size: 12px;
    }
    
    .expert-quotes-container {
        gap: 15px;
    }
    
    .partners-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .about-links {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    .about-link {
        padding: 0.8rem;
    }
    
    .link-text {
        font-size: 0.8rem;
    }
}

/* Псевдо-элемент, который будет нашей "тенью" */
.bubble-content::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
    /* Сразу задаем финальную, "раскрытую" тень */
    box-shadow: 0 15px 40px rgba(26, 35, 126, 0.25);
    border-radius: 20px; /* Такое же скругление, как у родителя */
    
    /* По умолчанию он полностью прозрачен */
    opacity: 0;
    
    /* Анимируем ТОЛЬКО прозрачность - это очень быстро */
    transition: opacity 0.4s ease;
    
    /* Чтобы он не мешал кликам */
    pointer-events: none;
}

/* Когда цитата раскрывается, мы делаем нашу "тень" видимой */
.bubble-quote.expanded .bubble-content::after {
    opacity: 1;
}

/* Общие стили для всех диаграмм */
#professionChart, #testingChart, #missingInfoChart, #purposeChart {
    width: 100%;       /* Заполнять родительский контейнер */
    height: auto;      /* Высота подстроится под ширину */
    aspect-ratio: 1 / 1; /* Всегда быть квадратом */
    display: block;    /* Убрать лишние отступы */
}

/* Задаем максимальный размер для каждой диаграммы */
.chart-wrapper {
    max-width: 480px; /* Для professionChart */
}

.testing-chart {
    max-width: 550px; /* Для всех остальных */
    margin: 0 auto; /* Центрируем */
}

#chartLegend {
    counter-reset: legend-counter;
}

#missingInfoChartLegend {
    counter-reset: missing-info-counter;
}

.legend-color {
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 
        0 3px 10px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    position: relative;
    width: 28px;
    height: 28px;
    min-width: 28px;
    min-height: 28px;
    max-width: 28px;
    max-height: 28px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.legend-color::before {
    counter-increment: legend-counter;
    content: counter(legend-counter);
    color: var(--text-primary);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    z-index: 2;
    position: relative;
}

#missingInfoChartLegend .legend-color::before {
    counter-increment: missing-info-counter;
    content: counter(missing-info-counter);
}

/* Темные номера для светлых цветов */
.legend-item.light-color .legend-color::before {
    color: #1a1a1a !important;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8) !important;
}

/* Hover эффекты для кружков в легенде */
.legend-item:hover .legend-color {
    transform: scale(1.1);
    box-shadow: 
        0 6px 25px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

/* Анимация появления для кружков */
.legend-color {
    animation: legendBadgeAppear 0.8s ease-out forwards;
}

@keyframes legendBadgeAppear {
    0% {
        opacity: 0;
        transform: scale(0.3) rotate(180deg);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1) rotate(90deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

/* Стили для анимированных номеров в пайчарте */
.pie-chart-number-badge {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-weight: bold;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    pointer-events: auto;
    cursor: pointer;
    z-index: 10;
    border: 3px solid rgba(255, 255, 255, 0.3);
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    animation: badgeFloat 3s ease-in-out infinite;
    transform-origin: center;
    transition: all 0.3s ease;
}

.pie-chart-number-badge:hover {
    transform: translate(-50%, -50%) scale(1.2);
    box-shadow: 
        0 6px 25px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

@keyframes badgeFloat {
    0%, 100% { 
        transform: translate(-50%, -50%) translateY(0px) scale(1);
    }
    50% { 
        transform: translate(-50%, -50%) translateY(-4px) scale(1.05);
    }
}

.pie-chart-number-badge.animate-in {
    animation: badgeAppear 0.8s ease-out forwards, badgeFloat 3s ease-in-out infinite 0.8s;
}

@keyframes badgeAppear {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.3) translateY(15px) rotate(180deg);
    }
    50% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.1) translateY(-5px) rotate(90deg);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1) translateY(0px) rotate(0deg);
    }
}

/* Специальные эффекты для разных номеров */
.pie-chart-number-badge:nth-child(odd) {
    animation-duration: 3.2s;
}

.pie-chart-number-badge:nth-child(even) {
    animation-duration: 2.8s;
}

/* Пульсация для привлечения внимания */
@keyframes badgePulse {
    0%, 100% {
        box-shadow: 
            0 4px 15px rgba(0, 0, 0, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.3),
            0 0 0 0 rgba(255, 255, 255, 0.4);
    }
    50% {
        box-shadow: 
            0 6px 25px rgba(0, 0, 0, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.4),
            0 0 0 8px rgba(255, 255, 255, 0.1);
    }
}

.pie-chart-number-badge:hover {
    animation: badgePulse 1.5s ease-in-out infinite;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .pie-chart-number-badge {
        width: 28px;
        height: 28px;
        font-size: 14px;
        border-width: 2px;
    }
    
    .legend-color {
        width: 24px;
        height: 24px;
        min-width: 24px;
        min-height: 24px;
        max-width: 24px;
        max-height: 24px;
        font-size: 12px;
        border-width: 2px;
    }
    
    .legend-item {
        font-size: 13px;
        padding: 6px;
        gap: 8px;
    }
    
    .chart-legend {
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .pie-chart-number-badge {
        width: 24px;
        height: 24px;
        font-size: 12px;
        border-width: 2px;
    }
    
    .legend-color {
        width: 22px;
        height: 22px;
        min-width: 22px;
        min-height: 22px;
        max-width: 22px;
        max-height: 22px;
        font-size: 11px;
        border-width: 2px;
    }
    
    .legend-item {
        font-size: 12px;
        padding: 5px;
        gap: 7px;
    }
    
    .chart-legend {
        gap: 8px;
    }
}

/* Дополнительные эффекты для красоты */
.pie-chart-number-badge::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 50%;
    background: linear-gradient(45deg, 
        rgba(255, 255, 255, 0.3), 
        rgba(255, 255, 255, 0.1), 
        rgba(255, 255, 255, 0.3));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pie-chart-number-badge:hover::before {
    opacity: 1;
    animation: ringRotate 2s linear infinite;
}

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

/* Мягкое свечение для темной темы */
[data-theme="dark"] .pie-chart-number-badge {
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 0 20px rgba(0, 102, 255, 0.1);
}

[data-theme="dark"] .pie-chart-number-badge:hover {
    box-shadow: 
        0 6px 25px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        0 0 30px rgba(0, 102, 255, 0.2);
}

/* Специальные стили для светлых фонов */
.pie-chart-number-badge.light-background {
    border-color: rgba(0, 0, 0, 0.2);
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
}

.pie-chart-number-badge.light-background::before {
    background: linear-gradient(45deg, 
        rgba(0, 0, 0, 0.1), 
        rgba(0, 0, 0, 0.05), 
        rgba(0, 0, 0, 0.1));
}

/* Стили для анимированных подписей сегментов пайчарта */
.pie-chart-segment-label {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    max-width: 220px;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 13px;
    font-family: 'Inter', sans-serif;
    text-align: center;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    pointer-events: auto;
    cursor: pointer;
    z-index: 10;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    animation: segmentLabelFloat 4s ease-in-out infinite;
    transform-origin: center;
    transition: all 0.3s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pie-chart-segment-label:hover {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 
        0 8px 30px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    z-index: 15;
}

@keyframes segmentLabelFloat {
    0%, 100% { 
        transform: translate(-50%, -50%) translateY(0px) scale(1) rotate(0deg);
    }
    25% { 
        transform: translate(-50%, -50%) translateY(-2px) scale(1.02) rotate(0.5deg);
    }
    50% { 
        transform: translate(-50%, -50%) translateY(-4px) scale(1.05) rotate(0deg);
    }
    75% { 
        transform: translate(-50%, -50%) translateY(-2px) scale(1.02) rotate(-0.5deg);
    }
}

.pie-chart-segment-label.animate-in {
    animation: segmentLabelAppear 1s ease-out forwards, segmentLabelFloat 4s ease-in-out infinite 1s;
}

@keyframes segmentLabelAppear {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.4) translateY(20px) rotate(90deg);
    }
    30% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(0.7) translateY(10px) rotate(45deg);
    }
    70% {
        opacity: 0.9;
        transform: translate(-50%, -50%) scale(1.1) translateY(-5px) rotate(-10deg);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1) translateY(0px) rotate(0deg);
    }
}

/* Специальные эффекты для разных сегментов */
.pie-chart-segment-label:nth-child(odd) {
    animation-duration: 4.5s;
}

.pie-chart-segment-label:nth-child(even) {
    animation-duration: 3.5s;
}

.pie-chart-segment-label:nth-child(3n) {
    animation-duration: 4.2s;
}

/* Пульсация для привлечения внимания */
@keyframes segmentLabelPulse {
    0%, 100% {
        box-shadow: 
            0 4px 20px rgba(0, 0, 0, 0.15),
            inset 0 1px 0 rgba(255, 255, 255, 0.2),
            0 0 0 0 rgba(255, 255, 255, 0.4);
    }
    50% {
        box-shadow: 
            0 8px 30px rgba(0, 0, 0, 0.25),
            inset 0 1px 0 rgba(255, 255, 255, 0.3),
            0 0 0 6px rgba(255, 255, 255, 0.1);
    }
}

.pie-chart-segment-label:hover {
    animation: segmentLabelPulse 2s ease-in-out infinite;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .pie-chart-segment-label {
        min-width: 100px;
        max-width: 180px;
        padding: 6px 12px;
        font-size: 12px;
        border-radius: 16px;
        border-width: 1px;
    }
}

@media (max-width: 480px) {
    .pie-chart-segment-label {
        min-width: 80px;
        max-width: 140px;
        padding: 4px 8px;
        font-size: 11px;
        border-radius: 12px;
        border-width: 1px;
    }
}

/* Дополнительные эффекты для красоты */
.pie-chart-segment-label::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border-radius: 23px;
    background: linear-gradient(45deg, 
        rgba(255, 255, 255, 0.2), 
        rgba(255, 255, 255, 0.05), 
        rgba(255, 255, 255, 0.2));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pie-chart-segment-label:hover::before {
    opacity: 1;
    animation: labelRingRotate 3s linear infinite;
}

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

/* Мягкое свечение для темной темы */
[data-theme="dark"] .pie-chart-segment-label {
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        0 0 20px rgba(0, 102, 255, 0.08);
}

[data-theme="dark"] .pie-chart-segment-label:hover {
    box-shadow: 
        0 8px 30px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 0 30px rgba(0, 102, 255, 0.15);
}

/* Специальные стили для светлых фонов */
.pie-chart-segment-label.light-background {
    border-color: rgba(0, 0, 0, 0.15);
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
}

.pie-chart-segment-label.light-background::before {
    background: linear-gradient(45deg, 
        rgba(0, 0, 0, 0.08), 
        rgba(0, 0, 0, 0.03), 
        rgba(0, 0, 0, 0.08));
}

/* Анимации появления при скролле */
.animate-on-scroll {
    animation: slideInFromBottom 0.8s ease-out forwards;
}

@keyframes slideInFromBottom {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Специальные анимации для разных типов элементов */
.trust-content.animate-on-scroll,
.trust-content-2.animate-on-scroll {
    animation: slideInFromLeft 0.8s ease-out forwards;
}

.chart-legend.animate-on-scroll {
    animation: fadeInScale 0.8s ease-out forwards;
}

.subsection-title.animate-on-scroll {
    animation: slideInFromTop 0.6s ease-out forwards;
}

.testing-info.animate-on-scroll {
    animation: slideInFromRight 0.8s ease-out forwards;
}

@keyframes slideInFromLeft {
    0% {
        opacity: 0;
        transform: translateX(-40px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    0% {
        opacity: 0;
        transform: translateX(40px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromTop {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Изначально скрываем элементы для анимации */
.trust-content,
.trust-content-2,
.chart-legend,
.testing-info,
.subsection-title,
.research-text {
    opacity: 0;
    transform: translateY(20px);
    transition: none;
}

/* После загрузки страницы показываем элементы, которые не нужно анимировать при скролле */
.trust-content.animate,
.trust-content-2.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Анимации для key-findings блока */
@keyframes keyFindingsSlideIn {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }
    50% {
        opacity: 0.8;
        transform: translateY(20px) scale(0.98);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes keyFindingsTitleSlide {
    0% {
        opacity: 0;
        transform: translateX(-30px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes keyFindingsItemSlide {
    0% {
        opacity: 0;
        transform: translateX(-20px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes keyFindingsNumberPop {
    0% {
        opacity: 0;
        transform: scale(0.3) rotate(180deg);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1) rotate(90deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}