.content-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    position: relative; /* Added to ensure proper positioning of children */
}

/* Стилі для текстового блоку */
.text-block {
    flex: 1;
    padding: 20px;
    max-width: 500px;
}

.text-block h1 {
    font-size: 32px;
    color: #4B5563;
    margin-bottom: 20px;
    font-weight: 600;
}

.text-block p {
    margin-bottom: 20px;
    font-size: 16px;
}

.highlighted {
    color: #187635;
    font-weight: bold;
}

.access-button {
    display: flex;
    align-items: center;
    cursor: pointer;
    margin: 0 auto;
    position: relative;
}

.button-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #187635;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    position: relative;
}

.button-icon svg {
    width: 20px;
    height: 20px;
    stroke: #187635;
}

/* Стилі для діаграми AcuSmart - ЗБІЛЬШЕНА ВЕРСІЯ */
.diagram-container {
    position: relative;
    width: 600px;
    height: 600px;
}

.center-circle {
    position: absolute;
    width: 300px;
    height: 300px;
    background-color: #187635;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.5rem;
    font-weight: bold;
    color: black;
    z-index: 1;
    text-decoration: none;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.satellite-circle {
    position: absolute;
    width: 150px;
    height: 150px;
    background-color: #187635;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: black;
    font-size: 1rem;
    border: 3px solid white;
    z-index: 2;
    text-decoration: none;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.top {
    top: 5%;
    left: 50%;
    transform: translateX(-50%);
}

.right {
    top: 50%;
    right: 5%;
    transform: translateY(-50%);
}

.bottom {
    bottom: 5%;
    left: 50%;
    transform: translateX(-50%);
}

.left {
    top: 50%;
    left: 5%;
    transform: translateY(-50%);
}

.button-container {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 30px;
    margin-bottom: 20px;
    order: 3;
    position: relative;
}

.button-icon:hover::after {
    content: 'Зробіть свій вибір, клацнувши один із запропонованих варіантів на колесі.';
    position: absolute;
    width: 250px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 8px;
    z-index: 10;
    top: -70px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 14px;
    line-height: 1.4;
}

.button-icon:hover::before {
    content: '';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: #333 transparent transparent transparent;
    z-index: 10;
}

/* Hover ефекти для діаграми */
.center-circle, .satellite-circle {
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.center-circle:hover {
    background-color: #2a8c48;
    transform: translate(-50%, -50%) scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.satellite-circle:hover {
    background-color: #2a8c48;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    z-index: 3;
}

.top:hover {
    transform: translateX(-50%) scale(1.1);
}

.right:hover {
    transform: translateY(-50%) scale(1.1);
}

.bottom:hover {
    transform: translateX(-50%) scale(1.1);
}

.left:hover {
    transform: translateY(-50%) scale(1.1);
}

/* Додатковий візуальний зв'язок між елементами */
.diagram-container::before {
    content: '';
    position: absolute;
    width: 70%;
    height: 70%;
    border: 2px dashed #187635;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
    transition: all 0.3s ease;
}

.diagram-container:hover::before {
    border-color: #3aa76d;
    transform: translate(-50%, -50%) scale(1.05);
}

/* Адаптивність для контейнера та діаграми */
@media (max-width: 1200px) {
    .content-container {
        flex-direction: column;
        align-items: center;
    }

    .text-block {
        max-width: 100%;
        text-align: center;
        order: 1;
        padding: 10px 15px 0 15px;
    }

    .diagram-container {
        order: 2;
    }

    .button-container {
        order: 3;
        position: static; /* Changed from absolute to static for mobile */
        width: 100%;
        margin-top: -20px;
        transform: none;
        left: auto;
    }
}

/* Для десктопних розмірів, коли маємо горизонтальне розташування */
@media (min-width: 1201px) {
    .content-container {
        position: relative;
        padding-bottom: 100px; /* Increased space for the button */
    }

    .button-container {
        position: absolute;
        bottom: 10px; /* Changed from -60px to ensure it's visible */
        left: 50%;
        transform: translateX(-50%);
        width: auto;
    }

    .diagram-container {
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .diagram-container {
        width: 450px;
        height: 450px;
    }

    .center-circle {
        width: 220px;
        height: 220px;
        font-size: 1.8rem;
    }

    .satellite-circle {
        width: 115px;
        height: 115px;
        font-size: 0.9rem;
    }

    .access-button {
        margin-top: 0; /* Removed top margin */
    }
    .button-icon:hover::after {
        width: 200px;
        top: -80px;
    }

}

@media (max-width: 480px) {
    .diagram-container {
        width: 340px;
        height: 340px;
    }

    .center-circle {
        width: 160px;
        height: 160px;
        font-size: 1.5rem;
    }

    .satellite-circle {
        width: 86px;
        height: 86px;
        font-size: 0.7rem;
    }

    .button-container {
        margin-top: 10px;
        margin-bottom: 20px;
    }
    .button-icon:hover::after {
        width: 180px;
        font-size: 12px;
    }
}