body {
    background-color: #f5f7fa;
    position: relative;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Создаем дополнительный слой для случайного распределения логотипов */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        url('path-to-logo.png'),
        url('path-to-logo.png'),
        url('path-to-logo.png'),
        url('path-to-logo.png'),
        url('path-to-logo.png');
    background-repeat: no-repeat;
    background-position: 
        calc(15% + 100px) 20%,
        calc(80% - 50px) 15%,
        calc(40% + 75px) 60%,
        calc(90% - 100px) 75%,
        calc(20% + 50px) 85%;
    background-size: 
        150px,
        120px,
        140px,
        130px,
        145px;
    opacity: 0.03;
    z-index: 0;
}


.main-container {
    position: relative;
    z-index: 1;
    min-height: 100vh;
}

.node {
    background: rgba(255, 69, 80, 0.1);
    border: 2px solid rgba(255, 69, 80, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    cursor: pointer;
    margin-bottom: 3rem;
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 20px rgba(255, 69, 80, 0);
    backdrop-filter: blur(5px);
    width: 350px;
    position: relative;
}

.node:nth-child(even) {
    margin-left: 100px;
}

.node.visible {
    opacity: 1;
    transform: scale(1);
}

.node.active {
    background: rgba(255, 69, 80, 0.2);
    box-shadow: 0 0 30px #FF6B6B;
    border-color: #FF4550;
}

.node h3 {
    color: #FF4550;
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.node p {
    font-size: 0.95rem;
    line-height: 1.4;
}

.subpoints {
    margin-top: 0.8rem;
    padding-left: 1rem;
}

.subpoints li {
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
    line-height: 1.3;
    list-style-type: none;
    position: relative;
}

.subpoints li:before {
    content: "•";
    color: #FF4550;
    position: absolute;
    left: -1rem;
}

.explanation {
    position: absolute;
    opacity: 0;
    background: linear-gradient(145deg, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0.4) 100%);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 2rem;
    width: 800px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
    border: 1px solid rgba(255, 69, 80, 0.2);
    transition: all 0.5s ease;
    z-index: 200;
}

.explanation.visible {
    opacity: 1;
}

.explanation h4 {
    color: #FF4550;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
}

.typed-line {
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    margin-bottom: 1rem;
    line-height: 1.6;
    font-size: 1.1rem;
}

.typed-line.visible {
    opacity: 1;
    transform: translateY(0);
}

.typed-section {
    margin-bottom: 2rem;
}

.typed-section h5 {
    color: #FF4550;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.typed-list {
    list-style: none;
    margin-left: 1rem;
}

.typed-list li {
    margin-bottom: 0.8rem;
    position: relative;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.typed-list li:before {
    content: "•";
    color: #FF4550;
    position: absolute;
    left: -1rem;
}

.typed-list li.visible {
    opacity: 1;
    transform: translateX(0);
}

.click-hint {
   position: absolute;
   background: linear-gradient(145deg, rgba(255,255,255,0.9) 0%, rgba(245,245,245,0.8) 100%);
   border: 2px solid #666;
   border-radius: 12px;
   padding: 1.5rem;
   color: #444;
   font-size: 1.1rem;
   width: 350px;
   box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
   opacity: 0;
   transform: translateX(-20px);
   animation: hintAppear 1s ease forwards;
   pointer-events: none;
}

@keyframes hintAppear {
   to {
       opacity: 1;
       transform: translateX(0);
   }
}

.extra-space {
    height: 850px;
}

.flow-container {
    padding-top: 50px;
    margin-left: 50px; /* Увеличили отступ слева до 140px */
    position: relative;
}